• 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
help - subcomponent won't update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help - subcomponent won't update


  • Subject: help - subcomponent won't update
  • From: TW <email@hidden>
  • Date: Tue, 21 Oct 2008 15:13:55 -0700

Hello all:

I have a WOComponent (not stateless at this time) that I have embedded into a master page. The embedded component has an API entry requiring "jobItem." My master component has a binding to this using selectedObject(). selectedObject() is updated when selecting an item from a DisplayGroup via WOHyperlink (although I've also tried a WOSubmitButton in case it was necessary). I've put messages in the code and I can confirm setSelectedObject() is happening as well as DisplayGroup.setSelectedObject().

The problem I'm having is that when a new job is selected it is not pushed to the child component via the binding and I'm not sure why. The child component continues to display the data from the previous selectedObject() through the rest of the session. I've even tried to set synchronizesVariablesWithBindings() to return true in the child and attempted to use more standard ivars instead of valueForBinding. The result is the same. At this point I have no idea why the selectedObject() isn't being passed.

This would probably work better as a stateless component but the child component also has a child component of its own (for searching) and I couldn't get the behavior right with reset() happening at every point in the RR loop. So, I punted.

Am I overlooking something huge?

Tim
-----
Timothy Worman
Programmer/Analyst - Database Administrator
Graduate School of Education and Information Studies
University of California Los Angeles

_______________________________________________
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: help - subcomponent won't update
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WYSIWYG editors
  • Next by Date: Important Localization Change in WO 5.4
  • Previous by thread: Re: Webobjects-dev Digest, Vol 5, Issue 1031
  • Next by thread: Re: help - subcomponent won't update
  • Index(es):
    • Date
    • Thread