InlineFrame and Ajax Timer failing

2007-11-27 Thread Jeremy Levy
I've created a Ajax Timer similar to the one on the example page, it works
well, and I use it several places on my site.  However when it's added to
the same page as a InlineFrame/Iframe the Ajax callback fails with the
following error:

*INFO: *
*INFO: *
Initiating Ajax GET request on
/1/m?x=R..t85wwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=
0.9373848969782422
*INFO: *Invoking pre-call handler(s)...
*INFO: *Received ajax response (0 characters)
*INFO: *
*ERROR: *
Error while parsing response: Could not find root ajax-response element
*INFO: *Invoking post-call handler(s)...
*INFO: *Invoking failure handler(s)..

I've been messing with it for sometime now and can't see to get a grasp on
whats not functioning properly...

J


Re: InlineFrame and Ajax Timer failing

2007-11-27 Thread Jeremy Levy
I fixed it.

I was creating the InlineFrame by passing in a Page to the constructor, I
switched it to MyPage.class and it worked... Not quite sure why though..

j

On Nov 27, 2007 10:29 AM, Jeremy Levy [EMAIL PROTECTED] wrote:

 I've created a Ajax Timer similar to the one on the example page, it works
 well, and I use it several places on my site.  However when it's added to
 the same page as a InlineFrame/Iframe the Ajax callback fails with the
 following error:

 *INFO: *
 *INFO: *
 Initiating Ajax GET request on 
 /1/m?x=R..t85wwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=
 0.9373848969782422
 *INFO: *Invoking pre-call handler(s)...
 *INFO: *Received ajax response (0 characters)
 *INFO: *
 *ERROR: *Error while parsing response: Could not find root ajax-response 
 element

 *INFO: *Invoking post-call handler(s)...
 *INFO: *Invoking failure handler(s)..

 I've been messing with it for sometime now and can't see to get a grasp on
 whats not functioning properly...

 J