Re: Catch Wicket.Error with FireBug

2010-03-31 Thread MattyDE

Thanks a lot Perdro!

This works very nice (if u using jQuery):

script type=text/javascript
   $(document).ready( function(){
 WicketAjaxDebug.originalLogError = WicketAjaxDebug.logError;
 WicketAjaxDebug.logError =

function(msg){WicketAjaxDebug.originalLogError(msg);console.error(Wicket: 
+ msg);};  
   }); 
 
/script


Pedro H. O. dos Santos wrote:
 
 WicketAjaxDebug.original = WicketAjaxDebug.logError;
 WicketAjaxDebug.logError =
 function(msg){WicketAjaxDebug.original(msg);console.log(msg);};
 
 On Tue, Mar 30, 2010 at 7:11 AM, Martin U
 ufer.mar...@googlemail.comwrote:
 
 Hi Folks,


 have everyone of you any experience in catching the wicket-ajax and
 js-errors with the Firebug?

 Easily we just need to overwrite WicketAjaxDebug.logError... but how?


 Thanks for any advice!

 
 
 
 -- 
 Pedro Henrique Oliveira dos Santos
 
 

-- 
View this message in context: 
http://old.nabble.com/Catch-Wicket.Error-with-FireBug-tp28080433p28092417.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



Catch Wicket.Error with FireBug

2010-03-30 Thread Martin U
Hi Folks,


have everyone of you any experience in catching the wicket-ajax and
js-errors with the Firebug?

Easily we just need to overwrite WicketAjaxDebug.logError... but how?


Thanks for any advice!


Re: Catch Wicket.Error with FireBug

2010-03-30 Thread Martin Funk
Could you elaborate on your problem a little more?
What precisely do you want to do?

If the Application is started in develompment mode the 'WICKET_AJAX_DEBUG
window should be available on any Page containing Wicket-Ajax components.
(The link in the right bottom corner)

mf

2010/3/30 Martin U ufer.mar...@googlemail.com

 Hi Folks,


 have everyone of you any experience in catching the wicket-ajax and
 js-errors with the Firebug?

 Easily we just need to overwrite WicketAjaxDebug.logError... but how?


 Thanks for any advice!



Re: Catch Wicket.Error with FireBug

2010-03-30 Thread MattyDE

Yeah i know this window. But there are all INFO outputs too and you could
oversee an error very easy...

And for instance if i evaluate some overlay functionality on my page, i
cant open the debug window, cause any mouseclicks are catched by a
overlaying layer ...


Martin Funk-3 wrote:
 
 Could you elaborate on your problem a little more?
 What precisely do you want to do?
 
 If the Application is started in develompment mode the 'WICKET_AJAX_DEBUG
 window should be available on any Page containing Wicket-Ajax components.
 (The link in the right bottom corner)
 
 mf
 
 2010/3/30 Martin U ufer.mar...@googlemail.com
 
 Hi Folks,


 have everyone of you any experience in catching the wicket-ajax and
 js-errors with the Firebug?

 Easily we just need to overwrite WicketAjaxDebug.logError... but how?


 Thanks for any advice!

 
 

-- 
View this message in context: 
http://old.nabble.com/Catch-Wicket.Error-with-FireBug-tp28080433p28082310.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: Catch Wicket.Error with FireBug

2010-03-30 Thread Pedro Santos
WicketAjaxDebug.original = WicketAjaxDebug.logError;
WicketAjaxDebug.logError =
function(msg){WicketAjaxDebug.original(msg);console.log(msg);};

On Tue, Mar 30, 2010 at 7:11 AM, Martin U ufer.mar...@googlemail.comwrote:

 Hi Folks,


 have everyone of you any experience in catching the wicket-ajax and
 js-errors with the Firebug?

 Easily we just need to overwrite WicketAjaxDebug.logError... but how?


 Thanks for any advice!




-- 
Pedro Henrique Oliveira dos Santos