i think because of tapestry's rule: static structure, dynamic behaviour :)
what i ended up doing is to have a BlockService that contains a
contribution
of all available Blocks in my app with a unique id. anytime i need such a
component i just ask my service:
@Inject
private BlockService blockService
return blockService.get("blockid");
or you could create a base page that contains all Blocks and components
that could be used in some context.
i hope this helps :)
g,
kris
Ulrich Stärk <[email protected]>
27.07.2009 13:00
Bitte antworten an
"Tapestry users" <[email protected]>
An
Tapestry users <[email protected]>
Kopie
Thema
embedded components
Why do embedded components declared with @Component _have_ to have a
corresponding element in the template? If I just want to use them as a
return value from some delegating method, why do I still have to declare
them in the template, bloating it with unused stuff?
Uli
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]