Not exactly what I meant, but that might be useful. I'm trying to say
including the template of the SubPage embedded inside the template of
the ModuleIndex. For example if I want to embed the template of a Grid
inside the ModuleIndex I'd write
<t:grid ... >
</t:grid>
but now I have a lot of Tabs and only one should be loaded at any time.
The ModuleIndex can know the page path of the Tab and the simple class
name from the way it uses ComponentSources.
-Rich
On 08/19/2010 07:29 PM, Thiago H. de Paula Figueiredo wrote:
On Thu, 19 Aug 2010 19:13:43 -0300, Rich M <rich...@moremagic.com> wrote:
Ah, great! That helped move things forward. Transformation is
starting to take place, I was able to get one of the SubPages to Live
Reload, but the display is wrong, part a) isn't quite complete. What
is the best way to feed the current SubPage into the containing
ModuleIndex's page/template?
Feed as in passing data? This can be done by putting data into the
Environmental in the ModuleIndex and them getting them using the same
service in the SubPages. That's how the Grid and
BeanEditForm/BeanEditor components work.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org