Question on WOContext.elementID
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