Re: Redirecting with original query string

2008-12-15 Thread Martijn Dashorst
It retains them for the original request. The intercept page doesn't
need to know about them. If you care, you can set the PageParamaters
yourself, or construct the page with the original parameters.

Martijn

On Mon, Dec 15, 2008 at 8:46 AM, Arie Fishler arie@gmail.com wrote:
 Basically I do not find this class you mention.

 I am using AuthenticatedWebApplication which is calling another (similar?)
 class which is RestartResponseAtInterceptPageException.

 This exception handles the redirectToInterceptPage method...which saves the
 continuation URL and just redirects to the relevant page (in the
 authnetication case this is the sign in page).
 I did not find any indication that passes the query string parameters to the
 sign in page.

 Can you elaborate on this please?

 Thanks,
 Arie

 On Sun, Dec 14, 2008 at 8:37 PM, Martijn Dashorst 
 martijn.dasho...@gmail.com wrote:

 This is default behavior with at least wicket auth-roles. See
 RedirectToInterceptPageException

 Martijn

 On Sun, Dec 14, 2008 at 7:27 PM, Arie Fishler arie@gmail.com wrote:
  Hi,
 
  In the authentication mechanism, there is apossibility to define a Sign
 In
  page. when user has no sufficient permission he is automatically
 redirected
  to that page.
 
  Is it possible that the sign in page will have the original query string
 of
  the the request?
 
  Like having a sign in page with PageParameters or just ensuring that the
  redirect to the sign in page will consist the original query string.
 
  Thanks.
 



 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.4 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org






-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Redirecting with original query string

2008-12-14 Thread Arie Fishler
Hi,

In the authentication mechanism, there is apossibility to define a Sign In
page. when user has no sufficient permission he is automatically redirected
to that page.

Is it possible that the sign in page will have the original query string of
the the request?

Like having a sign in page with PageParameters or just ensuring that the
redirect to the sign in page will consist the original query string.

Thanks.


Re: Redirecting with original query string

2008-12-14 Thread Arie Fishler
Basically I do not find this class you mention.

I am using AuthenticatedWebApplication which is calling another (similar?)
class which is RestartResponseAtInterceptPageException.

This exception handles the redirectToInterceptPage method...which saves the
continuation URL and just redirects to the relevant page (in the
authnetication case this is the sign in page).
I did not find any indication that passes the query string parameters to the
sign in page.

Can you elaborate on this please?

Thanks,
Arie

On Sun, Dec 14, 2008 at 8:37 PM, Martijn Dashorst 
martijn.dasho...@gmail.com wrote:

 This is default behavior with at least wicket auth-roles. See
 RedirectToInterceptPageException

 Martijn

 On Sun, Dec 14, 2008 at 7:27 PM, Arie Fishler arie@gmail.com wrote:
  Hi,
 
  In the authentication mechanism, there is apossibility to define a Sign
 In
  page. when user has no sufficient permission he is automatically
 redirected
  to that page.
 
  Is it possible that the sign in page will have the original query string
 of
  the the request?
 
  Like having a sign in page with PageParameters or just ensuring that the
  redirect to the sign in page will consist the original query string.
 
  Thanks.
 



 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.4 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Redirecting with original query string

2008-12-14 Thread Arie Fishler
this is version 1.3.5 I am using

On Mon, Dec 15, 2008 at 9:46 AM, Arie Fishler arie@gmail.com wrote:

  Basically I do not find this class you mention.

 I am using AuthenticatedWebApplication which is calling another (similar?)
 class which is RestartResponseAtInterceptPageException.

 This exception handles the redirectToInterceptPage method...which saves the
 continuation URL and just redirects to the relevant page (in the
 authnetication case this is the sign in page).
 I did not find any indication that passes the query string parameters to
 the sign in page.

 Can you elaborate on this please?

 Thanks,
 Arie

   On Sun, Dec 14, 2008 at 8:37 PM, Martijn Dashorst 
 martijn.dasho...@gmail.com wrote:

 This is default behavior with at least wicket auth-roles. See
 RedirectToInterceptPageException

 Martijn

 On Sun, Dec 14, 2008 at 7:27 PM, Arie Fishler arie@gmail.com wrote:
  Hi,
 
  In the authentication mechanism, there is apossibility to define a Sign
 In
  page. when user has no sufficient permission he is automatically
 redirected
  to that page.
 
  Is it possible that the sign in page will have the original query string
 of
  the the request?
 
  Like having a sign in page with PageParameters or just ensuring that the
  redirect to the sign in page will consist the original query string.
 
  Thanks.
 



 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.4 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org