Dear Aaron,

Thank you very much. Now it works!

Stavros



> On 9 May 2018, at 17:29, Aaron Rosenzweig <[email protected]> wrote:
> 
> Hey Stavros,
> 
> The “succeededAction” invokes a java call on the server. Ok, fine - there are 
> reasons to do that. Realize though that your we browser is a “dumb terminal” 
> and just because something happened on the server says nothing about the web 
> browser.
> 
> Try this, bind the “succeededFunction” and use javascript there. Is 
> everything wrapped in an AjaxUpdateContainer? If not, wrap it. Give the 
> container a CSS ID - for sake of argument call it “AjaxWrapperID”
> 
> In your “succeededFunction” make a call to “AjaxWrapperIDUpdate()” - I forget 
> the contract so try it a couple of ways:
> 1) succeededFunction = “AjaxWrapperIDUpdate”
> 2) succeededFunction = “function() {AjaxWrapperIDUpdate();}”
> 
> You don’t want to invoke it immediately - you want just the function 
> reference.
> 
> This works because every AjaxUpdateContainer makes a function with the name 
> “Update” at the end of the ID that you can invoke in creative ways like this.
> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
> e:  [email protected] <mailto:[email protected]>  t:  (301) 956-2319      
>         
>       
> 
>> On May 9, 2018, at 10:19 AM, Stavros Panidis <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi list,
>> 
>> I try to implement AjaxFlexibleFileUpload for uploading files to server.
>> 
>> I have AjaxFlexibleFileUpload within a conditional and what I want is, after 
>> successful upload to hide this conditional and show another one. To do this 
>> I use binding succeededAction.
>> 
>> File upload goes successful and also succeededAction  is executed (I trace 
>> using System.out.println) but AjaxFlexibleFileUpload conditional is not 
>> hiding and also the next one is not displayed.
>> 
>> I hope I explained well, can anyone help?
>> 
>> Many thanks in advance
>> 
>> 
>> Stavros Panidis
>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected] 
>> <mailto:[email protected]>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com 
>> <https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com>
>> 
>> This email sent to [email protected]
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to