A master page will inject the other pages.

The other pages will expose methods for accessing Blocks and
components within themselves.

The master phase makes use of render phase methods and/or the Delegate
component to control what renders and when.

This is how BeanEditForm and Grid components operate (as of 5.0.5).

On 6/10/07, Erik Vullings <[EMAIL PROTECTED]> wrote:
So how would you generate a mashup, consisting of multiple services/pages,
similar to a portal, using T5?

Cheers
Erik


On 6/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> Here we go again ...
>
> Tapestry pages a very structured, in effect, static. This is core to
> Tapestry's approach towards scalability and maintenance of server side
> state.
>
> However, even though the page structure is static, the order in which
> components render is really under your control.  Further, you can mix
> and match rendering of components from different pages.
>
> A render phase method is allowed to return a Block or a component or
> anything else that knows how to render, and that object will then take
> control of the rendering.
>
> This is how the BeanEditForm and Grid components operate; there are
> extra pages that contain components for different types of edittable
> data, and the BeanEditForm or Grid just chooses the correct Block of
> components to render based on the type of property being editted.
>
> I hope to flesh this out in a more advanced chapter of the tutorial.
> I'm currently converting it from PDF to HTML to allow more people to
> contribute to it.
>
> On 6/9/07, Vic Cekvenich <[EMAIL PROTECTED]> wrote:
> > One thing I did in Struts is decide which tile to load for of my users
> > into their layout.
> >
> > How do I in T5 have different layouts and different components load?
> > Normally in session I from DB load layout name and what components
> > (formerly tiles) go into each "zone" of the layout.
> > I would do an expression on a page to load them.
> > How would I do similar to tiles in T5?
> >
> > .V
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to