Re: setting cookie

2015-04-23 Thread Chris
Hi Martin, I would like to place the cookie statement in the renderHead as based on this I would like to show/hide JS bar. @Override public void renderHead(IHeaderResponse response) { super.renderHead(response); Cookie cookie = cookieUtils.getCookie(vis); if

Re: Browser back - reload page/panel

2015-04-23 Thread Chris
Hi Martin, I am using the LOM as follows in a page constructor. When a subcomponent of this page (list item) is clicked, some part of the page is reloaded via ajax (not the whole page). In this case the method #service.retrieveList() is called. From your note I would assume that the method

Re: AjaxLazyLoadPanel

2015-04-23 Thread Sven Meier
Yes, that should do it. Sven On 23.04.2015 15:47, Martin Grigorov wrote: Well, if the browser screen dimensions are set then the JS is working, no ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Apr 23, 2015 at 4:28 PM, Sven Meier s...@meiers.net

Re: AjaxLazyLoadPanel

2015-04-23 Thread Martin Grigorov
Double check that JavaScript is disabled. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Apr 23, 2015 at 12:06 AM, Chris chris...@gmx.at wrote: Hi Martin, do you have a tip for following problem? Thanks! I have disabled Javascript in Firefox and

Re: AjaxLazyLoadPanel

2015-04-23 Thread Sven Meier
Hi, when you have JavaScript disabled, the page will request itself via meta-refresh, that's intended. If BrowserInfoPage has set the ClientInfo properties then JavaScript is enabled I don't think this is correct: WebClientInfo and ClientProperties are always set. You can detect

Re: AjaxLazyLoadPanel

2015-04-23 Thread Sven Meier
Sorry, that should have been: You can *not* detect Javascript support with it. Sven On 23.04.2015 14:43, Sven Meier wrote: Hi, when you have JavaScript disabled, the page will request itself via meta-refresh, that's intended. If BrowserInfoPage has set the ClientInfo properties then

Re: Ajax navigation loading div issue

2015-04-23 Thread Martin Grigorov
Hi, I'm afraid this is not possible. The browser unloads the page (with all its elements, i.e. the loader too) and then loads the new page. It is possible only if you use single-page-application design, i.e. replace the body with Ajax. Martin Grigorov Wicket Training and Consulting

Ajax navigation loading div issue

2015-04-23 Thread Kovács Áron
Hello! I'm facing the following issue: I have a page with a button. I'm navigation to some other page by setResponsePage. I've set up a loading div with spinner which works great with the ajaxrequest. It shows it and hides it automatically. But I would like to use it in a way that the loading

Re: AjaxLazyLoadPanel

2015-04-23 Thread Martin Grigorov
Well, if the browser screen dimensions are set then the JS is working, no ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Apr 23, 2015 at 4:28 PM, Sven Meier s...@meiers.net wrote: Sorry, that should have been: You can *not* detect Javascript support

Re: Simple message solution Wicket-Spring combined application

2015-04-23 Thread Sandor Feher
Hi Sebastien, It would worth a try but session scoped spring bean will fulfill all my needs right know. Thank you anyway! Regards., Sandor -- View this message in context:

Re: Simple message solution Wicket-Spring combined application

2015-04-23 Thread Sandor Feher
Hi Martin, Thanks! That's it I was looking for. I use spring beans I inject to wicket context so it should be trivial choice to me but I did not keep it in my mind. Regards., Sandor -- View this message in context: