I am trying to make something like this:

<div id="portlet-container">
 <div id="portlet-column-1">
        <div id="portlet-1">
        </div>
 </div>
 <div id="portlet-column-2">
        <div id="portlet-2">
        </div>
 </div>
</div>

my components are looking like this:

<t:portletContainer columnCount="2">
 <t:portlet column="1">
     some portlet text
 </t:portlet>
 <t:portlet column="2">
     some portlet text
 </t:portlet>
</t:portletContainer>


My problem is that the portlet has to be able to decide at runtime where it 
will render (in which column). Is there an easy way to do s.th. like this?

Right now I am trying to do it with writer.getParent.. but I am not sure how 
to put the entire template into a specific parent tag (not only creating new 
tags with .element().)

Or is it better to let the parent tag be responsible for rendering its child-
tags?

Any help or advice is much appreciated...

Ciao,
        Piero

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to