• 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: Aaron Rosenzweig <email@hidden>
  • Date: Wed, 09 May 2018 10:29:06 -0400

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>
> 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)
> 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

  • Follow-Ups:
    • Re: AJaxFlexibleFileUpload
      • From: Stavros Panidis <email@hidden>
References: 
 >AJaxFlexibleFileUpload (From: Stavros Panidis <email@hidden>)

  • Prev by Date: AJaxFlexibleFileUpload
  • Next by Date: Re: AJaxFlexibleFileUpload
  • Previous by thread: AJaxFlexibleFileUpload
  • Next by thread: Re: AJaxFlexibleFileUpload
  • Index(es):
    • Date
    • Thread