> You can do that, just think differently. ;)

That sounds easier than it feels ;-)

> Two approaches I would try:
>
> 1) Use a loop to iterate over a list of block ids and use Delegate to
> render them.

Ok - I specified my "portlet-components" in blocks which are defined in a 
PortletRenderer component. This looks like this:
    <t:block id="mywidget">
        <div t:type="portlets/mywidget" />
    </t:block>

But I don't get how to loop over the IDs. Something like "@Inject Block 
mywidget" is ok - and I may return the block to the delegate... but how to 
retrieve the needed block by id? (At the moment it looks like I have to 
@Inject every widget and then return them by a switch statement? ...)

My feeling is there must be sth I did not manage to understand (yet).

> Have you taken a look at the Tapestry wiki? If you find nothing, maybe we
> should add something. :)

Yes, already looked there - but did not find anything that could help me. If I 
manage to get this working, I promise to add an how-to there :-)

        Piero


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

Reply via email to