Re: Wicket-Atmosphere complex JS

2012-11-20 Thread Pierre Goupil
Good afternoon, I've created a Jira ticket with a quickstart. Here is the link: https://issues.apache.org/jira/browse/WICKET-4869 Thanks a lot in advance. Regards, Pierre -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.

Re: Wicket-Atmosphere complex JS

2012-11-19 Thread Pierre Goupil
Good evening, So, I've tried what you said. I forgot one JS file in my initial attempt but, even with this configuration I have now a different symptom. But it still doesn't work. For now, the problem is that I have an empty ajax-response! Here is my code for the filter: public class

Re: Wicket-Atmosphere complex JS

2012-11-13 Thread Emond Papegaaij
This is most likely caused by incorrect escaping, which might be a bug in Wicket or Wicket-Atmosphere. Can you try to create a quickstart to demonstrate the problem and file a Jira ticket? You can use the example application at https://github.com/papegaaij/wicket-atmosphere-quickstart Best

Re: Wicket-Atmosphere complex JS

2012-11-13 Thread Martin Grigorov
The problem is that Atmosphere sends the response in chunks. Jean Francois explained in Atmosphere mailing lists that a special Atmosphere has to be used that will collect the whole response before flushing it. On Tue, Nov 13, 2012 at 3:25 PM, Emond Papegaaij emond.papega...@topicus.nl wrote:

Re: Wicket-Atmosphere complex JS

2012-11-13 Thread Emond Papegaaij
I found the link to the wiki page explaining how to fix this: https://github.com/Atmosphere/atmosphere/wiki/Multiply-messages-arrives-as- single-response-body-or-message-received-are-incomplete It seems the trackMessageLength option needs to be enabled in the js, and some additional code is

Re: Wicket-Atmosphere complex JS

2012-11-13 Thread Pierre Goupil
Cheers, men, I'll try it ASAP! Big thanks, Pierre On Tue, Nov 13, 2012 at 3:49 PM, Emond Papegaaij emond.papega...@topicus.nl wrote: I found the link to the wiki page explaining how to fix this: https://github.com/Atmosphere/atmosphere/wiki/Multiply-messages-arrives-as-

Wicket-Atmosphere complex JS

2012-11-11 Thread Pierre Goupil
Hi all, When I submit complex JS to my client using target.appendJavaScript() with a @Subscribe method from Wicket-Atmosphere, I got this message in the browser console: Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root ajax-response element I do have an