there are multiple ways to share data betweeen pages: here the two most important (IMHO)
page injection: public class Page1 { @InjectPage private Page2 page2; @Component private ActionLink gotoPage2; Object onActionFromGotoPage2() { page2.setData(....); return page2; } } public class Page2 { public void setData(List<String> data) { .... } } ApplicationStateObjects public class Page1 { @ApplicationState private SomeStateObject o; } public class Page2 { @ApplicationState private SomeStateObject o; // same instane as in page1 } see documentation for more details g, kris wesley <[EMAIL PROTECTED]> 30.09.2008 07:22 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An users@tapestry.apache.org Kopie Thema pass list of string/object between Tapestry pages hi all, is there any way to pass a list of string or user defined objects between pages in tapestry 5? currently like CRUD operation, the only way to pass parameter around is only string through onActivate() and onPassivate(). please advise, thanks regards, wesley -- View this message in context: http://n2.nabble.com/pass-list-of-string-object-between-Tapestry-pages-tp1128055p1128055.html Sent from the Tapestry Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]