• 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: Ajax Observe Field wierdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ajax Observe Field wierdness


  • Subject: Re: Ajax Observe Field wierdness
  • From: Calven Eggert <email@hidden>
  • Date: Tue, 10 Mar 2015 09:43:27 -0400

thanks for the info.  the tip about using the ElementName is very helpful.

On 2015-03-09, at 8:01 PM, Samuel Pelletier wrote:

You can enlarge your update container to the entire form and use it for many update trigger. I usually use them like this.

When an AjaxUpdateContainer refresh it's content, the appendToResponse of the component containing the AjaxUpdateContainer is not called but all the refreshed sub component behave normally including the call to appendToResponse.

Keep in mind the update container create a div by default (it need a container element), this is probably why it did not worked the first time you tried. You can create another element type by specifying the elementName binding to create a TR for example.

Samuel


Le 2015-03-09 à 15:55, Calven Eggert <email@hidden> a écrit :

that worked!  Thanks!  

However, how can I deal with this when I have a field that is only shown based on a woconditional?  Like so...(BTW, this gives the same original problem with the phantom field at the top of the page)

<WEBOBJECT NAME=UpdateComponent>
<WEBOBJECT NAME=ShowConditional><WEBOBJECT NAME=SiteOfDiseasePopUpButton></WEBOBJECT></WEBOBJECT>
</WEBOBJECT>


If I put the UpdateComponent in the ShowConditional then obviously if the ShowConditional is false then the UpdateComponent does not exist on the page.

<WEBOBJECT NAME=ShowConditional>
<WEBOBJECT NAME=UpdateComponent><WEBOBJECT NAME=SiteOfDiseasePopUpButton></WEBOBJECT></WEBOBJECT>
</WEBOBJECT>


Calven


On 2015-03-09, at 12:54 PM, Theodore Petrosky wrote:

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: 
 >Re: Ajax Observe Field wierdness (From: Theodore Petrosky <email@hidden>)
 >Re: Ajax Observe Field wierdness (From: Calven Eggert <email@hidden>)
 >Re: Ajax Observe Field wierdness (From: Samuel Pelletier <email@hidden>)

  • Prev by Date: Re: NPE in Wonder code
  • Next by Date: Re: Debugging in Eclipse
  • Previous by thread: Re: Ajax Observe Field wierdness
  • Next by thread: Debugging in Eclipse
  • Index(es):
    • Date
    • Thread