A link could exist on a Stateless page that creates state. This would be the point where a stateless site moves to being stateful.
For example, On my stateless home page I could have a link that has an onClick() handler which stores something in the users session (creating it also).
On 22 Jun 2006, at 09:27, Johan Compagner wrote: yes we could but then a link really doesn't have state. The form has its new state pushed anyway,. And a link not. So then you need to encode something in the url.. Because what should the link do? If it is only a next page and no state of the current page is touched you can use bookmarkable links.
johan
On 6/14/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: We weren't only eating Tapas... I drank a lot of wine. That must have blurred my memory a bit :)
Cool Johan. So my hunch is that Links can be done in the same fashion? Though we should draw the line somewhere too.
Eelco
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. > > johan > > > > On 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
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo _______________________________________________ Wicket-user mailing list
|
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user