• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AJaxFlexibleFileUpload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AJaxFlexibleFileUpload


  • Subject: Re: AJaxFlexibleFileUpload
  • From: Stavros Panidis <email@hidden>
  • Date: Thu, 10 May 2018 05:50:58 +0300

Dear Aaron,

Thank you very much. Now it works!

Stavros



> On 9 May 2018, at 17:29, Aaron Rosenzweig <email@hidden> 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@hidden <mailto:email@hidden>  t:  (301) 956-2319
>
>
>
>> On May 9, 2018, at 10:19 AM, Stavros Panidis <email@hidden
>> <mailto:email@hidden>> 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@hidden
>> <mailto: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

References: 
 >AJaxFlexibleFileUpload (From: Stavros Panidis <email@hidden>)
 >Re: AJaxFlexibleFileUpload (From: Aaron Rosenzweig <email@hidden>)

  • Prev by Date: Re: AJaxFlexibleFileUpload
  • Next by Date: Bug in NSArray et. al. ?
  • Previous by thread: Re: AJaxFlexibleFileUpload
  • Next by thread: Bug in NSArray et. al. ?
  • Index(es):
    • Date
    • Thread