You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Michal Kurtak <mi...@gmail.com> on 2010/12/11 10:26:19 UTC

StalePageException and AJAX possible bug

Hi,

I have encountered a problem when using not versioned page with AJAX
in multiple tabs/windows .

Suppose I have ajax link which changes its model in non versioned
page. I open the same page in new tab/window and click on the link.
When i click the link in the first tab/window i get javascript error

Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response:
Could not find root <ajax-response> element
This occurs because theres a hole page rendered in response
(ajax-response element is missing)

Should i create JIRA issue or is this a known bug?

BR,
Michal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: StalePageException and AJAX possible bug

Posted by Michal Kurtak <mi...@gmail.com>.
JIRA issue created https://issues.apache.org/jira/browse/WICKET-3252

2010/12/11 Martin Grigorov <mg...@apache.org>:
> Yes, please.
> Create a ticket with a quickstart.
> Even better - with a patch ;-)
>
> On Sat, Dec 11, 2010 at 10:26 AM, Michal Kurtak <mi...@gmail.com>wrote:
>
>> Hi,
>>
>> I have encountered a problem when using not versioned page with AJAX
>> in multiple tabs/windows .
>>
>> Suppose I have ajax link which changes its model in non versioned
>> page. I open the same page in new tab/window and click on the link.
>> When i click the link in the first tab/window i get javascript error
>>
>> Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response:
>> Could not find root <ajax-response> element
>> This occurs because theres a hole page rendered in response
>> (ajax-response element is missing)
>>
>> Should i create JIRA issue or is this a known bug?
>>
>> BR,
>> Michal
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: StalePageException and AJAX possible bug

Posted by Martin Grigorov <mg...@apache.org>.
Yes, please.
Create a ticket with a quickstart.
Even better - with a patch ;-)

On Sat, Dec 11, 2010 at 10:26 AM, Michal Kurtak <mi...@gmail.com>wrote:

> Hi,
>
> I have encountered a problem when using not versioned page with AJAX
> in multiple tabs/windows .
>
> Suppose I have ajax link which changes its model in non versioned
> page. I open the same page in new tab/window and click on the link.
> When i click the link in the first tab/window i get javascript error
>
> Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response:
> Could not find root <ajax-response> element
> This occurs because theres a hole page rendered in response
> (ajax-response element is missing)
>
> Should i create JIRA issue or is this a known bug?
>
> BR,
> Michal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>