• 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
Question on WOContext.elementID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on WOContext.elementID


  • Subject: Question on WOContext.elementID
  • From: Kieran Kelleher <email@hidden>
  • Date: Fri, 21 Jan 2005 14:17:19 -0500

Hello to all,

Would it be true to say that every WOComponent subcomponent within a page has a constant WOContext.elementID() during the three phases of takeValuesFromRequest, invokeAction and appendToResponse in the situation where the same page is returned and the page layout visibility and arrangement of all subcomponents remains the same?

I want to use reusable components (stateless with manual binding synchronization) for all if not most sub-components and I want to use a key (such as WOContext.elementID) that remains constant during takeValuesFromRequest, invokeAction and appendToResponse to temporarily store component specific validation error messages in a Dictionary in the root parent "page" component which is "stateful".

If WOContext.elementID is not a good candidate, any suggestions?

-Kieran

________________________________________________________________
Dev Config = OS X 10.3.5 / Java 1.4.2_05 / WO 5.2.3 / XCode v1.5 / MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.7 Server / Java 1.4.2_05 / WO 5.2.3 / MySQL 4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/


 _______________________________________________
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: Question on WOContext.elementID
      • From: Chuck Hill <email@hidden>
  • Prev by Date: [SOLVED] Re: WOHyperlinks following recursive relationships in a component
  • Next by Date: Re: Question on WOContext.elementID
  • Previous by thread: Re: WOHyperlinks following recursive relationships in a component
  • Next by thread: Re: Question on WOContext.elementID
  • Index(es):
    • Date
    • Thread