Re: StalePageException and AJAX possible bug

2010-12-12 Thread Michal Kurtak
JIRA issue created https://issues.apache.org/jira/browse/WICKET-3252

2010/12/11 Martin Grigorov :
> Yes, please.
> Create a ticket with a quickstart.
> Even better - with a patch ;-)
>
> On Sat, Dec 11, 2010 at 10:26 AM, Michal Kurtak 
> 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  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-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

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



Re: StalePageException and AJAX possible bug

2010-12-11 Thread Martin Grigorov
Yes, please.
Create a ticket with a quickstart.
Even better - with a patch ;-)

On Sat, Dec 11, 2010 at 10:26 AM, Michal Kurtak 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  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-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


StalePageException and AJAX possible bug

2010-12-11 Thread Michal Kurtak
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  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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org