tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LLTYK <LL...@mailinator.com>
Subject Re: Invoke method after page is loaded; when method finishes, redirect to another page
Date Fri, 04 Mar 2011 12:37:31 GMT
Use a meta refresh (it'll probably have to be in the  tag somehow). Or
javascript, to hit the same url.

@Inject
private ComponentResources componentResources;

@OnEvent("calculate")
ResultPage calculate() { .... }

public String getCalculateUrl()
{
return componentResources.createEventLink("calculate).toString();
}




--
View this message in context: http://tapestry-users.832.n2.nabble.com/Invoke-method-after-page-is-loaded-when-method-finishes-redirect-to-another-page-tp6088155p6088324.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Mime
View raw message