Re: How to create simple wizard with tapestry

2008-09-07 Thread Thiago H. de Paula Figueiredo
Em Sat, 06 Sep 2008 19:52:40 -0300, Filip S. Adamsen <[EMAIL PROTECTED]> escreveu: Shouldn't that be @InjectPage? Yes! Thanks for pointing my mistake! :) @InjectPage private User userPage; public Object onSuccess() { userPage.setAluno(classmate); retu

Re: How to create simple wizard with tapestry

2008-09-06 Thread Filip S. Adamsen
Shouldn't that be @InjectPage? -Filip On 2008-09-05 15:15, Thiago H. de Paula Figueiredo wrote: Em Fri, 05 Sep 2008 09:17:09 -0300, Alex Florentino <[EMAIL PROTECTED]> escreveu: public Object onSuccess() { my.package.tranc.pages.User userPage = new my.package.tranc.pages.User();

Re: How to create simple wizard with tapestry

2008-09-05 Thread Alex Kotchnev
Also, note that you will probably have to mark the "aluno" attribute in the User page as persistent (e.g. with @Persist annotation), or set it as the page's activation context. Otherwise, whatever you set in setAluno will get wiped out when T5 redirects to the @User page. Cheers, Alex K On Fri,

Re: How to create simple wizard with tapestry

2008-09-05 Thread Thiago H. de Paula Figueiredo
Em Fri, 05 Sep 2008 09:17:09 -0300, Alex Florentino <[EMAIL PROTECTED]> escreveu: public Object onSuccess() { my.package.tranc.pages.User userPage = new my.package.tranc.pages.User(); userPage.setAluno(classmate); return userPage; } @Inject private User userPage;

Re: How to create simple wizard with tapestry

2008-09-05 Thread Alex Florentino
It me seen so hard, there is some way that at my onSuccess, set the object for next page and finish, sample : the userPage is an "page". public Object onSuccess() { my.package.tranc.pages.User userPage = new my.package.tranc.pages.User(); userPage.setAluno(classmate); ret

Re: How to create simple wizard with tapestry

2008-09-04 Thread Martijn Brinkers
see http://202.177.217.122:8080/jumpstart/ On Thu, 2008-09-04 at 16:14 -0300, Alex Florentino wrote: > Hi all, > > I have an page that user type some informations and if the information is ok > the user is redirect for finish the wizard, but I need that information user > fill at first step. >

Re: How to create simple wizard with tapestry

2008-09-04 Thread Thiago H. de Paula Figueiredo
Em Thu, 04 Sep 2008 16:14:22 -0300, Alex Florentino <[EMAIL PROTECTED]> escreveu: Hi all, I have an page that user type some informations and if the information is ok the user is redirect for finish the wizard, but I need that information user fill at first step. I would put all the fie

How to create simple wizard with tapestry

2008-09-04 Thread Alex Florentino
Hi all, I have an page that user type some informations and if the information is ok the user is redirect for finish the wizard, but I need that information user fill at first step. sample flow: user preferences -> user settings(here I need user preferences data). thanks, Alex