Hello,
I have an application where I use a zone to display content that changes
depending upon user input. This content can vary and I would like to
have different versions of the content served by a library of
components. Think if this a zone with various modes that depend upon
other user input and I would like to serve content for each mode using a
separate component.
The idea is similar to using an iframe with the content of the frame
dependent upon what mode the page is in.
My issue is that I haven't figured out how to inject components into the
page class unless the component is referenced in the page template.
Furthermore it would be nice if I didn't have to inject the component
into the page because that would require that I specify all possibly
zone components a-priori.
Rather, I would love to be able to look up the component by name then
dynamically create instances of the component and return it the zone's
event handler.
I know that I can explicitly render the component and package that as a
JSON object that I return from the event handler but it seems that doing
so would bypassing rather than using Tapestry.
Can somebody give me a hint how to proceed?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]