Re: AjaxFlexibleFileUpload, AjaxProgressBar
Re: AjaxFlexibleFileUpload, AjaxProgressBar
- Subject: Re: AjaxFlexibleFileUpload, AjaxProgressBar
- From: Aaron Rosenzweig via Webobjects-dev <email@hidden>
- Date: Thu, 29 May 2025 10:44:47 -0400
Hi Stavros,
AjaxFlexibleFileUpload has an “oncomplete” (or something similar) binding. You
could use that to invoke some javascript. For example you could add an
“AjaxSubmitButton” and bind the “functionName” binding there and use that name
in the “oncomplete” binding of the file upload. Imagine the button was visible
and the user could click it and redirect you to another component. The only
difference is the button is not visually rendered and invoked by the function
name in javascript. Alternatively you could make a link and click that through
javascript.
> On May 29, 2025, at 9:28 AM, Stavros Panidis via Webobjects-dev
> <email@hidden> wrote:
>
> Hi,
>
> A question, maybe silly, but I am not experienced.
>
> I try to upload a file using AjaxFlexibleFileUpload and then import in to
> database using AjaxProgressBar.
>
> Everything works fine, file upload and then imported correctly to database,
> except that I can’t redirect to another Component.
>
> Can I have help on this?
>
> Many thanks in advance
>
> Stavros
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden