Re: wicket atmosphere not updating the page

2014-09-05 Thread fachhoch
I tried with wicket 6.17.0,  IE 9   does not show the modal window, 
chrome,firefox works fine.

IE console error  msg below.  It fails in method Wicket.Xml.parse(data);
Attached the quickstart  myproject.zip
http://apache-wicket.1842946.n4.nabble.com/file/n4667366/myproject.zip  


responde body  (data) 





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667366.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: wicket atmosphere not updating the page

2014-09-04 Thread Martin Grigorov
Hi,


On Wed, Sep 3, 2014 at 10:24 PM, fachhoch fachh...@gmail.com wrote:

 I am  trying to use wicket-atmosphere (0.18) in wicket 6.12.0, on post,
 subscribe method is getting called but any component I add to target is not
 updating  in  the page, ajax debug window  shows empty ajax-response, and
 browser  console has this error.


 wicket/bookmarkable/resource/org.apache.wic…bstractDefaultAjaxBehavior/res/js/wicket-event-jquery-ver-1409764822476.js


The url is wrong. It should not have the bookmarkable segment in it. Not
sure how it got there.
If your can reproduce it in a quickstart app with latest Wicket (6.17.0)
then please attach it to a ticket in JIRA.


 404 (Not Found)

 Please advice.



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




Re: wicket atmosphere not updating the page

2014-09-04 Thread fachhoch
I have  quickstart with 6.12.0  could not reproduce there, I also tried
setResponsePage instead of adding component to target  in the subscribe
method, noticed the same 'bookmarkable' in the url   ending up with resource
not found page.


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667341.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: wicket atmosphere not updating the page

2014-09-04 Thread Martin Grigorov
/wicket/bookmarkable/com.example.MyPage is generated for pages without
explicit mount path (e.g. MyApp#mountPage(somewhere, MyPage.class))
/wicket/resource/com.example.SomeScope/some.css is generated for package
resource references without explicit mount point, e.g. MyApp#mountResource

but /wicket/bookmarkable/resource/... is broken url

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov


On Thu, Sep 4, 2014 at 3:47 PM, fachhoch fachh...@gmail.com wrote:

 I have  quickstart with 6.12.0  could not reproduce there, I also tried
 setResponsePage instead of adding component to target  in the subscribe
 method, noticed the same 'bookmarkable' in the url   ending up with
 resource
 not found page.


 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667341.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




Re: wicket atmosphere not updating the page

2014-09-04 Thread fachhoch
I tried some tests ,
1. redirect to a different page, using setResponsePage   works fine.
2. redirect to same  page, ends with resource not found page, reason(it
stripping servlet-mapping str)

servlet mapping  configration



atmosphere changes url to  http://localhost:8080/artms/test   from
http://localhost:8080/artms/app/test   


3.  update same page  with ajax response  (missing wicket prefix for the
resource url)


 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667347.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: wicket atmosphere not updating the page

2014-09-04 Thread fachhoch
log output from my app and quickstart, my app does not work quick start works

my app

quickstarts


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667348.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: wicket atmosphere not updating the page

2014-09-04 Thread fachhoch
logs from my app and quick start

my app


quick start


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667349.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: wicket atmosphere not updating the page

2014-09-04 Thread fachhoch
I am able reproduce this issue in a quickstart,   The issue happens in
bookmarkable pages, any bookmarkable page, response to atmosphere request
fails.

below is the error from   browser console. Attached the quickstart.zip 
myproject.zip
http://apache-wicket.1842946.n4.nabble.com/file/n4667350/myproject.zip  

response.responseBody: ?xml version=1.0
encoding=UTF-8?ajax-responsecomponent id=mw3
/componentheader-contribution encoding=wicket1
/header-contributionevaluate/evaluate/ajax-response
jquery.atmosphere-ver-1409156999263.js:2799
GET
http://localhost:8081/myproject/app/wicket/bookmarkable/resource/org.apache…resource.JQueryResourceReference/jquery/jquery-1.10.1-ver-1409764822476.js
404 (Not Found) wicket-ajax-jquery-ver-1409764822476.js:2167
jQuery.extend.Head.addElement wicket-ajax-jquery-ver-1409764822476.js:2167
(anonymous function) wicket-ajax-jquery-ver-1409764822476.js:2114
run wicket-ajax-jquery-ver-1409764822476.js:125
proxy jquery-1.10.1-ver-1409764822476.js:827
processNext wicket-ajax-jquery-ver-1409764822476.js:140
start wicket-ajax-jquery-ver-1409764822476.js:146
Wicket.Ajax.Call.process wicket-ajax-jquery-ver-1409764822476.js:673
jQuery.extend.Ajax.process wicket-ajax-jquery-ver-1409764822476.js:1854
callback jquery.wicketatmosphere-ver-1409156999263.js:31
_invokeCallback.call jquery.atmosphere-ver-1409156999263.js:2405
jQuery.extend.each jquery-1.10.1-ver-1409764822476.js:657
_invokeCallback jquery.atmosphere-ver-1409156999263.js:2440
_executeWebSocket._websocket.onmessage


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667350.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: wicket atmosphere not updating the page

2014-09-04 Thread Martin Grigorov
Hi,

I am on my phone now so I can't check your quickstart but I remember a
problem with bookmarkable pages fixed in 6.13.0
On Sep 4, 2014 10:45 PM, fachhoch fachh...@gmail.com wrote:

 I am able reproduce this issue in a quickstart,   The issue happens in
 bookmarkable pages, any bookmarkable page, response to atmosphere request
 fails.

 below is the error from   browser console. Attached the quickstart.zip
 myproject.zip
 http://apache-wicket.1842946.n4.nabble.com/file/n4667350/myproject.zip

 response.responseBody: ?xml version=1.0
 encoding=UTF-8?ajax-responsecomponent id=mw3
 /componentheader-contribution encoding=wicket1
 /header-contributionevaluate/evaluate/ajax-response
 jquery.atmosphere-ver-1409156999263.js:2799
 GET
 http://localhost:8081/myproject/app/wicket/bookmarkable/resource/org.apache
 …resource.JQueryResourceReference/jquery/jquery-1.10.1-ver-1409764822476.js
 404 (Not Found) wicket-ajax-jquery-ver-1409764822476.js:2167
 jQuery.extend.Head.addElement wicket-ajax-jquery-ver-1409764822476.js:2167
 (anonymous function) wicket-ajax-jquery-ver-1409764822476.js:2114
 run wicket-ajax-jquery-ver-1409764822476.js:125
 proxy jquery-1.10.1-ver-1409764822476.js:827
 processNext wicket-ajax-jquery-ver-1409764822476.js:140
 start wicket-ajax-jquery-ver-1409764822476.js:146
 Wicket.Ajax.Call.process wicket-ajax-jquery-ver-1409764822476.js:673
 jQuery.extend.Ajax.process wicket-ajax-jquery-ver-1409764822476.js:1854
 callback jquery.wicketatmosphere-ver-1409156999263.js:31
 _invokeCallback.call jquery.atmosphere-ver-1409156999263.js:2405
 jQuery.extend.each jquery-1.10.1-ver-1409764822476.js:657
 _invokeCallback jquery.atmosphere-ver-1409156999263.js:2440
 _executeWebSocket._websocket.onmessage


 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667350.html
 Sent from the Users forum mailing list archive at Nabble.com.

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