Re: Clearing pagestore

2014-08-27 Thread Martin Grigorov
Hi, Using org.apache.wicket.Session#replaceSession() will do it. But it will replace the whole http session so this could be too much. To clear just the page store you need to do some more work: extend org.apache.wicket.DefaultPageManagerProvider and override org.apache.wicket.DefaultPageManagerP

Re: Weird ClassNotFoundException (wicket7-M2)

2014-08-27 Thread Maxim Solodovnik
Thanks Sebastien, will give it a try :) On 28 August 2014 13:24, Sebastien wrote: > Maxim, > > In case there is Droppable in wicket-jquey-ui. I don't know if it achieve > the same need, you can have a look at the demo website... > > Best regards, > Sebastien > On Aug 28, 2014 5:12 AM, "Maxim S

Clearing pagestore

2014-08-27 Thread Erki
Hello! I have functionality that allows users to change their own role in the system. After changing their role I want to clear the pagestore, so users cannot access unauthorized pages with their back button. How should I do that?

Re: identify if request is from AbstractAjaxTimerBehavior in /ajax/call/beforesend

2014-08-27 Thread Martin Grigorov
Hi, One way is to provide beforeSend hook for this specific ajax behavior: attributes.getAjaxCallListeners().add(new AjaxCallListener().onBeforeSend("YOUR CODE HERE")). Another way is to set a custom query parameter that will help you recognize it in the global ajax listener: 1) either override #

Re: Weird ClassNotFoundException (wicket7-M2)

2014-08-27 Thread Sebastien
Maxim, In case there is Droppable in wicket-jquey-ui. I don't know if it achieve the same need, you can have a look at the demo website... Best regards, Sebastien On Aug 28, 2014 5:12 AM, "Maxim Solodovnik" wrote: > done, since I have commit access to wicketstuff I have created > "select2-wick

Re: Weird ClassNotFoundException (wicket7-M2)

2014-08-27 Thread Maxim Solodovnik
done, since I have commit access to wicketstuff I have created "select2-wicket7" branch @Sven could you please release com.github.svenmeier.wicket-dnd for wicket7? Or maybe it also can be moved to wicketstuff? Or maybe any replacement is available? Thanks in advance On 27 August 2014 20:05, Mar

identify if request is from AbstractAjaxTimerBehavior in /ajax/call/beforesend

2014-08-27 Thread fachhoch
how to identify the ajax request originated due to AbstractAjaxTimerBehavior in /ajax/call/beforeSend event? I am adding AbstractAjaxTimerBehavior to my page and would like to identify in beforesend function if the request originated due to timer in AbstractAjaxTimerBehavior ? -- View

Re: Weird ClassNotFoundException (wicket7-M2)

2014-08-27 Thread Martin Grigorov
Please prepare a Pull Request against WicketStuff master branch and I'll make sure it is merged before releasing 7.0.0-M3 (and there is no official release by Igor) Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Aug 27, 2014 at 3:53 PM, Maxim Solodovnik wr

Re: Weird ClassNotFoundException (wicket7-M2)

2014-08-27 Thread Maxim Solodovnik
I have no chances to contact Igor (already wrote here and have created issue on GitHub) @Sven maybe you can release wicket7 compatible DND? or maybe this library can be moved to wicketstuff? I will move our trunk back to wicket6 in case this issue will not be resolved :( On 27 August 2014 19:46

Re: Weird ClassNotFoundException (wicket7-M2)

2014-08-27 Thread Martin Grigorov
Hi Maxim, On Wed, Aug 27, 2014 at 3:41 PM, Maxim Solodovnik wrote: > Hello All, > > I'm getting weird ClassNotFoundException in our main application (wicket7 > version) [1] > > wicket based libraries used are: > org.apache.wicket: 7.0.0-M2 > ro.fortsoft.wicket.dashboard: 0.11.0+wicket-7 > com.g

Weird ClassNotFoundException (wicket7-M2)

2014-08-27 Thread Maxim Solodovnik
Hello All, I'm getting weird ClassNotFoundException in our main application (wicket7 version) [1] wicket based libraries used are: org.apache.wicket: 7.0.0-M2 ro.fortsoft.wicket.dashboard: 0.11.0+wicket-7 com.googlecode.wicket-jquery-ui: 7.0.0-SNAPSHOT com.vaynberg.wicket.select2: 2.2.3 com.gith