No, what you guys are forgetting is that it has to work with a custom resolving process. So the hidden field would be read before. It would be part of wicket.request.IRequestCodingStrategy#decode(wicket.Request), where the hidden field would be read and put in the RequestParameters object. Something like that. If we want it, we could do it, that's the morale.
Eelco On 10/21/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > even worse. If you refresh the page you will get the homepage.... > Because the only thing we put in the url is that key that then is in a > hidden field... > > johan > > > > On 10/21/06, Matej Knopp <[EMAIL PROTECTED]> wrote: > > I'm affraid that the hidden field would not be a very good alternative. > > Wicket does redirect after post, if you are using redirect to > > render/buffer, which IMHO 99,9% people do. > > > > So if you send the page id in hidden field and then refresh the page, > > new page instance will be created. > > > > -Matej > > > > Eelco Hillenius wrote: > > >> That is sending state back to the client - I'm talking about passing a > > >> key back, just not in the URL. > > > > > > Yeah, I got that. What you mean is the part that now makes the path to > > > the request target (like pagemap/ page(version)/ component combi). > > > > > >> But yes, you are showing that hidden > > >> fields can be used. > > > > > > That was my point. The mechanism is the same except that in whereas > > > client state saving would get the state back by deserializing, your > > > proposal would get it by using that key etc. In fact, that part really > > > isn't much more than configuring a custom target resolver. > > > > > >> I'm sure ways could be worked around to get links to > > >> work (bit of javascript to do a post via a hidden form). > > > > > > Yeah. Probably best by using postprocessing like that client state > > > saving experiment doesn. That's the least intrusive and most robust > > > imo. > > > > > >>> Of course, any contributions in the form of patches are always welcome > > >>> and might serve as a good starting point for further discussion :) > > >> Heh, well, wouldn't that be nice. I'd love to have some time to do some > > >> open source coding. Instead I just make do with writing emails :-) > > > > > > Damn users and incubation mentors ;) > > > > > > > > > Eelco > > > > > > > ------------------------------------------------------------------------- > > > 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 > > > > > > > > > > ------------------------------------------------------------------------- > > 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 > > > > > ------------------------------------------------------------------------- > 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 > > > ------------------------------------------------------------------------- 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