Raul, I didn't notice anyone answer this yet, so here's what I do:
I find it easiest to store things in a page property when you're trying to communicate between two pages, since the components themselves don't exist yet. In your case, I'd do something like this: // SearchPage.java ... public void handleSearch(IRequestCycle cycle) { ArrayList results = performSearch(); ResultsPage page = (ResultsPage) cycle.getPage("ResultsPage"); page.setResults(results); cycle.activate(page); } ... // ResultsPage.java ... public abstract List getResults(); public abstract void setResults(List results); ... <!-- ResultsPage.page --> ... <property-specification name="results" type="java.util.List" /> ... <!-- ResultsPage.html --> ... <div jwcid="@MyComponent" results="ognl:results" /> ... Hope that helps, Robert -----Original Message----- From: Raul Raja Martinez [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 11:47 AM To: tapestry-user@jakarta.apache.org Subject: Page redirection after form is processed Hello everybody, I'm a newbie in Tapestry and I have run into the following problem: I have created both a SearchBox component and a SearchResults component. The searchBox component is a form with a listener. Once I retrive the info out of the database I want to pass the ArrayList that is retrieved to a contrib:Table component that is contained within my SearchResults component in a different page. I tried the tutorial about throwing exceptions to redirect but it didn“t work, besides throwing an exception I think is not the best approach. Is there anybody that has run on this same problem. Thanks in advance. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]