Re: [Wicket-user] Form submit and RestartResponseAtInterceptPageException

2007-06-13 Thread Andrew Berman
Actually, I did something much easier, I just created a page which all it does is redirect to the page I wanted my form to redirect to and changed the form responsePage to the redirect page. Works perfectly. For now, I'm going to go with this since it's dirt simple and took all of 1 minute to do

Re: [Wicket-user] Form submit and RestartResponseAtInterceptPageException

2007-06-13 Thread Igor Vaynberg
no, you can just do what it does. look at the code, it doesnt do anything special. -igor On 6/13/07, Andrew Berman <[EMAIL PROTECTED]> wrote: So are you also saying I have to write my own PageMap class for the continueToOriginalDestination? On 6/13/07, Igor Vaynberg < [EMAIL PROTECTED]> wrot

Re: [Wicket-user] Form submit and RestartResponseAtInterceptPageException

2007-06-13 Thread Andrew Berman
So are you also saying I have to write my own PageMap class for the continueToOriginalDestination? On 6/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: you would basically have to rewrite this functionality. create your own restartresponse flavor exception and throw post params into session. t

Re: [Wicket-user] Form submit and RestartResponseAtInterceptPageException

2007-06-13 Thread Igor Vaynberg
you would basically have to rewrite this functionality. create your own restartresponse flavor exception and throw post params into session. then create your own continuetooriginaldestination() -igor On 6/13/07, Andrew Berman <[EMAIL PROTECTED]> wrote: Is there some workaround I can do? I'm

Re: [Wicket-user] Form submit and RestartResponseAtInterceptPageException

2007-06-13 Thread Andrew Berman
Is there some workaround I can do? I'm not on 1.3, I'm on 1.2.6. I gotta get this to work, I really cannot wait on a new release or fix at this point. On 6/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: its actually correct. he wants to resume form-processing because his page _submits_ to a

Re: [Wicket-user] Form submit and RestartResponseAtInterceptPageException

2007-06-13 Thread Igor Vaynberg
its actually correct. he wants to resume form-processing because his page _submits_ to a page that requires login. right now restartresponseatinterceptpage remembers the url and does a get on that url. it looks like we might have to remember the url/the request type/and post parameters as well, an

Re: [Wicket-user] Form submit and RestartResponseAtInterceptPageException

2007-06-13 Thread Eelco Hillenius
It shouldn't. Certainly not in 1.3. Are you sure you didn't overlook something? Eelco On 6/13/07, Andrew Berman <[EMAIL PROTECTED]> wrote: > I've seen posts on this before but never a solution. I have a form which > submits to a page which requires login. As a result, I throw a > RestartRespons

[Wicket-user] Form submit and RestartResponseAtInterceptPageException

2007-06-13 Thread Andrew Berman
I've seen posts on this before but never a solution. I have a form which submits to a page which requires login. As a result, I throw a RestartResponseAtInterceptPageException which takes the user to a login screen. Once done with the login screen it's supposed to go to the page the form submit