-Igor
On 6/14/06, Johan Compagner
<[EMAIL PROTECTED]> wrote:
WHAT! you have to listen more eelco :)
i told you that i want to have exactly the same behaviour as a normal Form!
when we where eating tappas you wanted to go directly the to resulting page. And i said no
i want to go first to the form page and go on from that so that the processing is exactly the same.. (remember? :))
It is exactly how igor describes it. For a developer it is completely transparant only for one thing:
The state of the form (validators and so on are in the init state) The data is ofcourse 'new' because that is posted.
johanOn 6/14/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:Really? I haven't looked at it, but just remember Johan told me
processing would go via the pageparameters constructor. If it's via
the onSubmit handler, that's all the nicer.
Eelco
On 6/13/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> you would use the onclick. what happens when a stateless form is submitted
> is that a new page instance is created instead of looked up from session
> stored, and then processing continues as usual.
>
> -Igor
>
>
>
> On 6/13/06, John Patterson < [EMAIL PROTECTED]> wrote:
> >
> > On 13 Jun 2006, at 19:55, Eelco Hillenius wrote:
> >
> > > Or maybe there will be more trade offs. Depends on how badly people
> > > want it, and who will work on it. In 2.0 , Johan built in a form that
> > > posts back to a bookmarkable page, so you can even build pages with
> > > forms that are still stateless.
> > >
> > > Eelco
> > >
> >
> > OK, thanks I will have a look into that. I have not yet checked out
> > 2.0 but would you just be able to clarify - when a stateless form is
> > submitted would I still use an onClick handler on my form component?
> > Or do I need to work with page parameters and move my form processing
> > logic away from the actual form component?
> >
> >
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user