I think Its the right direction, but there is always the main problem:
How to get and add a component which is not defined/bound in any page template?
Is that possible at all?


Am 04.09.2009 um 01:43 schrieb Thiago H. de Paula Figueiredo:

BeanEditor and BeanEditForm use blocks from different pages to edit properties. Its something similar to what you want to do. Ultimately, they get a block from a given page using this code (adapted from BeanBlockOverrideSourceImpl.toBlock()):

Page page = pageCache.get(pageName);
return page.getRootElement().getBlock(blockId);

where pageCache is an instance of RequestPageCache.

--
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



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to