True the wicket session is mandatory, thanks for pointing that out.

As for my question though, I'm looking for the best way to implement this
strategy.  I could override the respond method in RequestCycle, but I'd have
to rewrite the given logic, which most of it I want.  I'm wondering if there
are any other hooks that I can implement that leaves the respond method
alone but have the exception and internal page available.

-Craig



Mr Mean wrote:
> 
> As far as i know the wicket session is mandatory in wicket but that
> does not mean you have to use it to store information. Other then that
> i see no reason why your proposed strategy should not work.
> 
> Maurice
> 
> On 5/22/07, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> Basically what I want to do is set the internal error page to my own
>> internal
>> page, i.e. my login page, and add a message from the a resource bundle,
>> .properties file, that includes an error code that is generated from an
>> internal RuntimeException.  Another requirement is that a Session is
>> optional, meaning that this should work with or without a Session.
>>
>> -Craig
>>
>>
>> craigdd wrote:
>> >
>> > What is the best way to implement your own exception strategy in wicket
>> > 1.3?  I want to add some added logic to my application when an
>> unexcepted
>> > exception occurs.  During this added logic I want a handle on the page
>> > that is being redirected to, ie the internal error page.
>> >
>> > Thanks
>> > Craig
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Exception-Strategy-in-1.3-tf3793570.html#a10730008
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Exception-Strategy-in-1.3-tf3793570.html#a10737906
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to