Em Thu, 17 Dec 2009 14:38:49 -0200, Ashwanth Kumar
<ashwanth.ku...@gmail.com> escreveu:
Okay, but just out of curiosity, isn't there a way we could refer to a
ActionLink dynamically on a page, by any means? I mean, if i could refer
it like that, it would do the trick right?
It would, but action links aren't supposed to be used by outside
applications, just inside. It is a bad solution when a way better one
exists.
@Inject ComponentResources and use the Link createEventLink(String
eventType, Object... context) method to create a Link. Use it as the href
attribute.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da
Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org