Re: [Wicket-user] How to get the Exception on the Exception page?

2006-12-13 Thread Jean-Baptiste Quenot
Hi Erik,

Were you able  to find a solution  to be able to  present the user
with meaningful error  page when an Ajax request  fails?  I'm also
interested in that.

Cheers,
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to get the Exception on the Exception page?

2006-12-13 Thread Erik van Oosten
Hello Jean-Baptiste,

Unfortunately not. I was able to trace the exception handling in both 
cases (with and without Ajax) but could not yet conclude on how to 
improve the situation.

 Erik.

Jean-Baptiste Quenot schreef:
 Hi Erik,

 Were you able  to find a solution  to be able to  present the user
 with meaningful error  page when an Ajax request  fails?  I'm also
 interested in that.

 Cheers,
   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to get the Exception on the Exception page?

2006-12-03 Thread Erik van Oosten
Hi Frank,

Yes, that is what I do already. But I would like to redirect to a page 
where the user can see the exception and put it in a tracking system. 
That exception is invaluable because access to the logs of a production 
system is problematic.

 Erik.


Frank Bille schreef:
 For failing ajax request shouldn't you use the failure script 
 (CallDecorator). We do that at work as a backup.

 Frank



-- 
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to get the Exception on the Exception page?

2006-12-02 Thread Frank Bille

For failing ajax request shouldn't you use the failure script
(CallDecorator). We do that at work as a backup.

Frank

On 11/30/06, Erik van Oosten [EMAIL PROTECTED] wrote:


Interesting. I'll look into the code tomorrow. Any hints on where at
which point I can start looking?
BTW, I am using the 1.2.x trunk from a couple of days ago.

 Erik.

Matej Knopp schreef:
 SetResponsePage should work. However, I'm not sure about failing ajax
 request. Meybe we catch the exception on some other place, I'm not sure.

 -Matej


--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to get the Exception on the Exception page?

2006-11-30 Thread Erik van Oosten
Okay great, that works. I would not have found that myself.

Now I also would like to redirect to the error page when an _Ajax_ 
request fails.
Currently I have some javascript that triggers when the request fails, 
but that way the exception is lost.

Thanks,
 Erik.


Johan Compagner schreef:
 no the internal error doesn't get the exception.
 You can override this and do what every you want with the method : 
 RequestCycle.onRuntimeException()

 johan


 On 11/29/06, * Erik van Oosten* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hello,

 I would like to override the default exception page. We now do
 that with:
 getApplicationSettings().setInternalErrorPage(MyErrorPage.class);

 However, I can not seem to find a way to get the thrown exception on
 that page.
 Can anyone tell me how to get it? Any help is appreciated.

 Regards,
  Erik.


-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to get the Exception on the Exception page?

2006-11-30 Thread Johan Compagner

i thought we had support for that that you could just set the response page
in an ajax request
and then the ajax request would redirect to that page.
But i can't find support for this anymore.
Matej? Eelco?

johan


On 11/30/06, Erik van Oosten [EMAIL PROTECTED] wrote:


Okay great, that works. I would not have found that myself.

Now I also would like to redirect to the error page when an _Ajax_
request fails.
Currently I have some javascript that triggers when the request fails,
but that way the exception is lost.

Thanks,
 Erik.


Johan Compagner schreef:
 no the internal error doesn't get the exception.
 You can override this and do what every you want with the method :
 RequestCycle.onRuntimeException()

 johan


 On 11/29/06, * Erik van Oosten* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hello,

 I would like to override the default exception page. We now do
 that with:
 getApplicationSettings().setInternalErrorPage(
MyErrorPage.class);

 However, I can not seem to find a way to get the thrown exception on
 that page.
 Can anyone tell me how to get it? Any help is appreciated.

 Regards,
  Erik.


--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to get the Exception on the Exception page?

2006-11-30 Thread Matej Knopp
SetResponsePage should work. However, I'm not sure about failing ajax 
request. Meybe we catch the exception on some other place, I'm not sure.

-Matej

Erik van Oosten wrote:
 Okay great, that works. I would not have found that myself.
 
 Now I also would like to redirect to the error page when an _Ajax_ 
 request fails.
 Currently I have some javascript that triggers when the request fails, 
 but that way the exception is lost.
 
 Thanks,
  Erik.
 
 
 Johan Compagner schreef:
 no the internal error doesn't get the exception.
 You can override this and do what every you want with the method : 
 RequestCycle.onRuntimeException()

 johan


 On 11/29/06, * Erik van Oosten* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hello,

 I would like to override the default exception page. We now do
 that with:
 getApplicationSettings().setInternalErrorPage(MyErrorPage.class);

 However, I can not seem to find a way to get the thrown exception on
 that page.
 Can anyone tell me how to get it? Any help is appreciated.

 Regards,
  Erik.

 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to get the Exception on the Exception page?

2006-11-30 Thread Erik van Oosten
Interesting. I'll look into the code tomorrow. Any hints on where at 
which point I can start looking?
BTW, I am using the 1.2.x trunk from a couple of days ago.

 Erik.

Matej Knopp schreef:
 SetResponsePage should work. However, I'm not sure about failing ajax 
 request. Meybe we catch the exception on some other place, I'm not sure.

 -Matej
   

-- 
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to get the Exception on the Exception page?

2006-11-29 Thread Johan Compagner

no the internal error doesn't get the exception.
You can override this and do what every you want with the method :
RequestCycle.onRuntimeException()

johan


On 11/29/06, Erik van Oosten [EMAIL PROTECTED] wrote:


Hello,

I would like to override the default exception page. We now do that with:
getApplicationSettings().setInternalErrorPage(MyErrorPage.class);

However, I can not seem to find a way to get the thrown exception on
that page.
Can anyone tell me how to get it? Any help is appreciated.

Regards,
 Erik.

--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user