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.com>wrote:
> 
>> 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

Reply via email to