Wicket 6 Ajax log

2012-08-29 Thread Sven Meier

Hi,

I've just noticed, that the Ajax log in Wicket 6 doesn't show the full 
response structure any more, e.g. just the text without ajax-response, 
component and evaluate tags.


This is due to line #680 in wicket-ajax-jquery.js :

var responseAsText = jQuery(data).text();

Was this change made intentional?

With jqXHR.responseText we could print the full response as we know it 
from 1.5.x


Best regards
Sven






Re: Wicket 6 Ajax log

2012-08-29 Thread Martin Grigorov
Hi Sven,

Please fix it. It wasn't intentional.

On Wed, Aug 29, 2012 at 6:40 PM, Sven Meier s...@meiers.net wrote:
 Hi,

 I've just noticed, that the Ajax log in Wicket 6 doesn't show the full
 response structure any more, e.g. just the text without ajax-response,
 component and evaluate tags.

 This is due to line #680 in wicket-ajax-jquery.js :

 var responseAsText = jQuery(data).text();

 Was this change made intentional?

 With jqXHR.responseText we could print the full response as we know it from
 1.5.x

 Best regards
 Sven







-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com