Em Tue, 17 Feb 2009 16:18:45 -0300, Piero Sartini <li...@pierosartini.de>
escreveu:
You can do that, just think differently. ;)
That sounds easier than it feels ;-)
It always sounds easier after you succeeded for the first time. ;)
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? ...)
That's exactly what I've been thinking. I don't know if there's a better
way to do that. That's the not nice part of the "static structure, dynamic
behaviour" philosophy.
The ids would come from your code, the code that tells you what portlets
will be shown and in which order.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org