If I understand your question

yourFirstPage.java

@Inject
private myCalculatePage mySecondPage;

void onClickFromMyButton(){
  //Call a method to set all the parameters needed for the next page
  mySecondPage.setParam(...);
  return mySecondPage;
}

yourCalculatePage.java
@Inject
private myResultPage myThirdPage;

void onActivate(){
  //Calculation system ...

  myThirdPage.setResult("The Result String");
  result myThirdPage;
  
}

myResultPage .java

@Property
@Persist
private String result;

And you can display the result in your tml file with ${result}.

Emmanuel




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Invoke-method-after-page-is-loaded-when-method-finishes-redirect-to-another-page-tp3409329p3409377.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to