Thanks for the response!
My problem is that i whant to also keep track of Exceptions/Errors that
not happend in an Page class.
A little exmaple to explain what i mean:
I have a Custom-Session Class called ServerConfigSession and this Class
has an initialize method.
In the method i read contents from a external file.
Now i want to keep track of the IOException when the file is missing.
The problem is that in that moment when i am in the initialize method
from the Session class i can't use Component.error bc i don't have a
page at that moment. Or is there any possibility of getting the page
from where the initialize method was called?
The best thing i can think of would be some way to track unchecked
exceptions on a custom page.
Cu,
Dave
Johan Compagner wrote:
Component.error(String) ?
Only you have to make the page youreself and set that as response when
you call Component.error()
johan
David Liebeherr wrote:
Hi,
how is the Exception Tracking system actually working in wicket?
I just explain what would love to have:
an error() method almost everywhere and when i call this then a Custom
defined page should appear where i have something like a feedbackPane
or something. something like public _List<ErrorMsg> getErrorMsgs() {}_
would be nice. Is something like this already implemented in wicket or
do you know how this can be most easy done?
I played around with ApplicationPage.setInternalErrorPage() but it
does not what i expected to do...
Thankx for every answer,
Dave
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user