On 10/21/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> First of all a hidden field can't be read when you do a fresh of an url that
> is redirected after post
> But now i think about it. That isn't possible
> The render to buffer and then redirect to that buffer is impossible. That
> can't be done then anymore because
> you can't sent an url to the browser that is just the homepage root or a
> mount point and then resolve it to the buffer that is
> still waiting for it to render. We need some state in the url then. So  yes
> it could work also with refresh
> But the big warning dialog of the browser will then popup "Resent post data"
> (or something like that).
> Because we never can do a redirect after post anymore.
> And all the links must do then also a post ofcourse. And refreshing the page
> will result in that action posted again. (a delete or save action....)
> But then the url will always be the homepage or the mount point that is
> shown in the browser.

Yeah. That wouldn't be pretty. But that's something else than impossible.

Look, I'm not even arguing I want this method. I just wonder how we
got from the can-do to the can't-do mentality. Sometimes things are
awkward to achieve, and some may actually really be impossible. But
we've had a dozen of instances where we thought something would be
very difficult which turned out pretty doable after all. So rather
than saying we can't do this, we should keep thinking about ways how
we could (which does not mean we actually implement it) and list the
advantages and disadvantages that what have.

Just my 2c,

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

Reply via email to