Re: Rewrite page parameter to Login_page when session's expired

2009-07-14 Thread glooorrryyy

where would I got the page parameter if the url is becoming something like
this:

http://localhost:8080/eventmanager/app/?wicket:interface=:0:loginForm::IFormSubmitListener::


igor.vaynberg wrote:
> 
> the page is gone - thats why its expired. if the parameters are still
> on the url you can get those by retrieving them from webrequest.
> 
> -igor
> 
> On Sun, Jul 12, 2009 at 8:28 PM, glooorrryyy wrote:
>>
>> I want to get the page parameter from an expired_page...
>> Is it possible?
>>
>>
>> Mathias Nilsson wrote:
>>>
>>> The application class
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24455752.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24491596.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Rewrite page parameter to Login_page when session's expired

2009-07-13 Thread Igor Vaynberg
the page is gone - thats why its expired. if the parameters are still
on the url you can get those by retrieving them from webrequest.

-igor

On Sun, Jul 12, 2009 at 8:28 PM, glooorrryyy wrote:
>
> I want to get the page parameter from an expired_page...
> Is it possible?
>
>
> Mathias Nilsson wrote:
>>
>> The application class
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24455752.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: Rewrite page parameter to Login_page when session's expired

2009-07-12 Thread glooorrryyy

I want to get the page parameter from an expired_page...
Is it possible?


Mathias Nilsson wrote:
> 
> The application class
> 

-- 
View this message in context: 
http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24455752.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Rewrite page parameter to Login_page when session's expired

2009-07-09 Thread glooorrryyy

The error has been vanished now. It seems the wrong page parameter caused
this error.

Hm, does anyone know to get the currently page parameter?


glooorrryyy wrote:
> 
> Now, I always get this error:
> 
> ERROR - RequestCycle   - unexpected exception when handling
> another exception: Unable to find component with id 'loginForm' in
> [MarkupContainer [Component id = _extend4]]. This means that you declared
> wicket:id=loginForm in your markup, but that you either did not add the
> component to your page at all, or that the hierarchy does not match.
> [markup = file:pathToLogin_page
>  
> The fact is, this Login_page has a component with id equal to loginForm.
> 
> Do you has any idea about this?
> 
> 
> Mathias Nilsson wrote:
>> 
>> The application class
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24407727.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Rewrite page parameter to Login_page when session's expired

2009-07-09 Thread glooorrryyy

Now, I always get this error:

ERROR - RequestCycle   - unexpected exception when handling
another exception: Unable to find component with id 'loginForm' in
[MarkupContainer [Component id = _extend4]]. This means that you declared
wicket:id=loginForm in your markup, but that you either did not add the
component to your page at all, or that the hierarchy does not match.
[markup = file:pathToLogin_page
 
> The application class
> 

-- 
View this message in context: 
http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24407174.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Rewrite page parameter to Login_page when session's expired

2009-07-08 Thread Mathias Nilsson

The application class
-- 
View this message in context: 
http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24404071.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Rewrite page parameter to Login_page when session's expired

2009-07-08 Thread glooorrryyy

Which class should I override this method in?


Mathias Nilsson wrote:
> 
> @Override 
> protected IRequestCycleProcessor newRequestCycleProcessor() { 
> return new WebRequestCycleProcessor() { 
> 
> @Override 
> protected Page onRuntimeException(final Page page,
> final RuntimeException e) { 
>   e.printStackTrace();
>   PageParameters params = new 
> PageParameters();
>   params.add( "myParameter", "true");
> return new LoginPage( params); 
> } 
> 
> }; 
> } 
> 

-- 
View this message in context: 
http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24404045.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Rewrite page parameter to Login_page when session's expired

2009-07-08 Thread Mathias Nilsson

@Override 
protected IRequestCycleProcessor newRequestCycleProcessor() { 
return new WebRequestCycleProcessor() { 

@Override 
protected Page onRuntimeException(final Page page, final
RuntimeException e) { 
e.printStackTrace();
PageParameters params = new 
PageParameters();
params.add( "myParameter", "true");
return new LoginPage( params); 
} 

}; 
} 
-- 
View this message in context: 
http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24403889.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Rewrite page parameter to Login_page when session's expired

2009-07-08 Thread glory
Hi all wicket users!

I have a page parameter which is always rewritten in every page in entire 
project pages.
I need a way to rewrite this page parameter to Login_page when the session's 
expired.
Is it possible to do this?

 Thanks in Advance,
Gloria Saripah Patara