Hi All,
Hoping someone here can clarify for me what best practice is for inter-component communication ?
I have a typical frameset page -- with contrib:TreeView as navigator on left and two custom components on the right, stacked on top of eachother. I want to update the two components in the right frames with information based on the node/folder the user selects on the left frame.
Should I be using:
1) The common "Visit" object to share this information ? Any better way to share session data ?
2) Try to share a common "model" between all three components ? Any examples of how I can
control instantiation of the model and make sure each component is sharing the same instance ?
3) Somehow pass references (as parameters ?) of the two right component's models to the
left TreeView's TreeStateListener object ? And have the TreeStateListener update the others
4) Any other better ways to manage this ? I know this must be a very common requirement.
Hope someone can help me flatten this Tapestry learning curve a little. I'd very much appreciate a short example or link to existing components that do similar things....
Thanks Frank
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
