On Thu, 30 Jun 2011 17:26:35 -0300, Joel Halbert <j...@su3analytics.com>
wrote:
Hi,
Hi!
Is it possible to invoke a component directly via HTTP?
E.g given a Tapestry Page:
public class MyPage {
Object onMyRequest() {
return something;
}
}
I can call http://myapp/mypage:myrequest/ to return something.
Can I do the same for a component?
It's not recommended to access components directly, but you can @Inject
ComponentResources and use its createEventLink() method.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, 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