On Mon, 13 Sep 2010 06:27:18 -0300, ael <alan-lua...@dash.com.ph> wrote:
Hello Everyone
Hi!
I have two template. ex. template 1 & template 2.
Then in template 2 i have an eventlink.
My question is how can i link the eventlink from page 1?
You should avoid triggering events from one page to another one. Use an
event in page 1 then redirect to page 2:
<a href="#" t:type="EventLink" t:event="yourEventName">...</a>
@InjectPage
private Page2 page2;
Object onYourEventName() {
// invoke methods in page2;
return page2;
}
--
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