On Wed, Jun 10, 2009 at 11:21 AM, Angelo Chen<angelochen...@yahoo.com.hk> wrote:
> Hi, > > In index page my app will do a return MyPage.class, so browser address bar > shows localhost/mypage instead of localhost, now I'd like to pass any query > string from the url to the new page, it should look like this: > > if user type : http://localhost/?test=123 > then after redirect, browser's address bar should show: > http://localhost/mypage/?test=123 Couldn't you use activation context instead of query parameters? If so, just @InjectPage a MyPage instance, set the needed info and return it. Make sure your MyPage class has a onPassivate() method. -- Thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org