Re: Adding a header contribution as the first in the head tag
Josh, You can use an application-wide IResponseFilter for this. Have a look at how ServerHostNameAndTimeFilter (in wicket-examples (*)) does it. *) E.g. look at http://grepcode.com/file/repo1.maven.org/maven2/org.apache.wicket/wicket-examples/1.5.3/org/apache/wicket/examples/ServerHostNameAndTimeFilter.java#ServerHostNameAndTimeFilter Op 2-3-2012 5:26, schreef Josh Chappelle: I'm trying to add an IE compatibility meta tag and it needs to be the first item in the tag otherwise it will not work. I have a BasePage that I can just put it in the html and that works fine for the most part but I would like a way to set it in the Application class that way any page will get the contribution. Is there any way to do this in wicket 1.5? Thanks, Josh
Re: Adding a header contribution as the first in the head tag
Hi, Assign this meta to a WebComponent. html: java: WebComponent meta = new WebComponent("blah"); meta.add(new AttributeModifier("x", "y")) add(meta); On Fri, Mar 2, 2012 at 6:26 AM, Josh Chappelle wrote: > I'm trying to add an IE compatibility meta tag and it needs to be the first > item in the tag otherwise it will not work. I have a BasePage that I > can just put it in the html and that works fine for the most part but I > would like a way to set it in the Application class that way any page will > get the contribution. > > Is there any way to do this in wicket 1.5? > > Thanks, > > Josh -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
More wicket 1.5 questions
In 1.4 I did the following, what are the alternatives in 1.5? 1) AbstractRequestTargetUrlCodingStrategy to mount a path to 301 redirect 2) Overrode newRequestCycleProcessor so that I can set the no cache headers. private void setNoCacheHeader(RequestCycle requestCycle) { final WebResponse response = ((WebRequestCycle) requestCycle).getWebResponse(); // so firefox won't keep a cached version of the page which breaks the back button response.getHttpServletResponse().setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate, no-store"); }
Re: More wicket 1.5 questions
On Fri, Mar 2, 2012 at 10:21 AM, Douglas Ferguson wrote: > In 1.4 I did the following, what are the alternatives in 1.5? > > 1) AbstractRequestTargetUrlCodingStrategy to mount a path to 301 redirect I don't understand you > 2) Overrode newRequestCycleProcessor so that I can set the no cache headers. https://cwiki.apache.org/WICKET/caching-in-wicket-15.html > > private void setNoCacheHeader(RequestCycle requestCycle) { > final WebResponse response = ((WebRequestCycle) > requestCycle).getWebResponse(); > // so firefox won't keep a cached version of the page which > breaks the back button > response.getHttpServletResponse().setHeader("Cache-Control", > "no-cache, max-age=0, must-revalidate, no-store"); > } > > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: More wicket 1.5 questions
On Mar 2, 2012, at 2:26 AM, Martin Grigorov wrote: > On Fri, Mar 2, 2012 at 10:21 AM, Douglas Ferguson wrote: >> In 1.4 I did the following, what are the alternatives in 1.5? >> >> 1) AbstractRequestTargetUrlCodingStrategy to mount a path to 301 redirect > > I don't understand you Does this work? mount(new MountMapper(path, new RedirectRequestHandler(destination, 301))); > >> 2) Overrode newRequestCycleProcessor so that I can set the no cache headers. > > https://cwiki.apache.org/WICKET/caching-in-wicket-15.html > >> >>private void setNoCacheHeader(RequestCycle requestCycle) { >>final WebResponse response = ((WebRequestCycle) >> requestCycle).getWebResponse(); >>// so firefox won't keep a cached version of the page which >> breaks the back button >>response.getHttpServletResponse().setHeader("Cache-Control", >> "no-cache, max-age=0, must-revalidate, no-store"); >>} >> >> >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > - > 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: More wicket 1.5 questions
I want to save off the previous page at then end of each request. Can be handy for things like oauth (making sure we return to the correct spot in the app). This is the only thing I could come up with. public void onEndRequest(RequestCycle cycle) { if(cycle.getActiveRequestHandler() instanceof IPageClassRequestHandler){ VHConnectSession.get().setPreviousPage((IPageClassRequestHandler)cycle.getActiveRequestHandler()); }else{ log.error("cycle is not an IpageClassRequesthandler "+cycle); } } On Mar 2, 2012, at 2:26 AM, Martin Grigorov wrote: > On Fri, Mar 2, 2012 at 10:21 AM, Douglas Ferguson wrote: >> In 1.4 I did the following, what are the alternatives in 1.5? >> >> 1) AbstractRequestTargetUrlCodingStrategy to mount a path to 301 redirect > > I don't understand you > >> 2) Overrode newRequestCycleProcessor so that I can set the no cache headers. > > https://cwiki.apache.org/WICKET/caching-in-wicket-15.html > >> >>private void setNoCacheHeader(RequestCycle requestCycle) { >>final WebResponse response = ((WebRequestCycle) >> requestCycle).getWebResponse(); >>// so firefox won't keep a cached version of the page which >> breaks the back button >>response.getHttpServletResponse().setHeader("Cache-Control", >> "no-cache, max-age=0, must-revalidate, no-store"); >>} >> >> >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > - > 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: More wicket 1.5 questions
On Fri, Mar 2, 2012 at 10:29 AM, Douglas Ferguson wrote: > > On Mar 2, 2012, at 2:26 AM, Martin Grigorov wrote: > >> On Fri, Mar 2, 2012 at 10:21 AM, Douglas Ferguson wrote: >>> In 1.4 I did the following, what are the alternatives in 1.5? >>> >>> 1) AbstractRequestTargetUrlCodingStrategy to mount a path to 301 redirect >> >> I don't understand you > > Does this work? > > mount(new MountMapper(path, new > RedirectRequestHandler(destination, 301))); It should. Just try it. > > >> >>> 2) Overrode newRequestCycleProcessor so that I can set the no cache headers. >> >> https://cwiki.apache.org/WICKET/caching-in-wicket-15.html >> >>> >>> private void setNoCacheHeader(RequestCycle requestCycle) { >>> final WebResponse response = ((WebRequestCycle) >>> requestCycle).getWebResponse(); >>> // so firefox won't keep a cached version of the page which >>> breaks the back button >>> response.getHttpServletResponse().setHeader("Cache-Control", >>> "no-cache, max-age=0, must-revalidate, no-store"); >>> } >>> >>> >>> >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> >> - >> 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 > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
SpringComponentInjector
I just pulled in SpringComponentInjector and it seems to be subclassing a class that is not longer in wicket-ioc. What's the correct way to using Spring injection with 1.5? Douglas
Re: SpringComponentInjector
The same On Fri, Mar 2, 2012 at 10:49 AM, Douglas Ferguson wrote: > I just pulled in SpringComponentInjector and it seems to be subclassing a > class that is not longer in wicket-ioc. > > What's the correct way to using Spring injection with 1.5? > > Douglas -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: SpringComponentInjector
I'm getting classloader issues. I get this from eclipse: The type org.apache.wicket.injection.ComponentInjector cannot be resolved. It is indirectly referenced from required .class files VHConnectApplication.java It seems like ComponentInjector is not in the 1.5 ioc jar, and SpringComponentInjector extends ComponentInjector These are my dependencies org.apache.wicket wicket ${wicket.version} pom org.apache.wicket wicket-datetime ${wicket.version} org.apache.wicket wicket-spring-annot 1.3.7 org.apache.wicket wicket-ioc ${wicket.version} org.apache.wicket wicket-spring ${wicket.version} On Mar 2, 2012, at 2:54 AM, Martin Grigorov wrote: > The same > > On Fri, Mar 2, 2012 at 10:49 AM, Douglas Ferguson wrote: >> I just pulled in SpringComponentInjector and it seems to be subclassing a >> class that is not longer in wicket-ioc. >> >> What's the correct way to using Spring injection with 1.5? >> >> Douglas > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > - > 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: SpringComponentInjector
On Fri, Mar 2, 2012 at 11:16 AM, Douglas Ferguson wrote: > I'm getting classloader issues. I get this from eclipse: > > The type org.apache.wicket.injection.ComponentInjector cannot be resolved. It > is indirectly referenced from required .class files > VHConnectApplication.java > > It seems like ComponentInjector is not in the 1.5 ioc jar, and > SpringComponentInjector extends ComponentInjector > > These are my dependencies > > > > > org.apache.wicket > wicket > ${wicket.version} > pom > > > org.apache.wicket > wicket-datetime > ${wicket.version} > > > > org.apache.wicket > wicket-spring-annot > 1.3.7 Why you have 1.3.x dependency for project based on 1.5.x ? > > > > org.apache.wicket > wicket-ioc > ${wicket.version} > > > > org.apache.wicket > wicket-spring > ${wicket.version} > > > > > > > > > > > On Mar 2, 2012, at 2:54 AM, Martin Grigorov wrote: > >> The same >> >> On Fri, Mar 2, 2012 at 10:49 AM, Douglas Ferguson wrote: >>> I just pulled in SpringComponentInjector and it seems to be subclassing a >>> class that is not longer in wicket-ioc. >>> >>> What's the correct way to using Spring injection with 1.5? >>> >>> Douglas >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> >> - >> 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 > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com
Re: SpringComponentInjector
That's the latest version of the annotation module. I guess it got merged into another module? On Mar 2, 2012, at 3:18 AM, Martin Grigorov wrote: > On Fri, Mar 2, 2012 at 11:16 AM, Douglas Ferguson wrote: >> I'm getting classloader issues. I get this from eclipse: >> >> The type org.apache.wicket.injection.ComponentInjector cannot be resolved. >> It is indirectly referenced from required .class files >> VHConnectApplication.java >> >> It seems like ComponentInjector is not in the 1.5 ioc jar, and >> SpringComponentInjector extends ComponentInjector >> >> These are my dependencies >> >> >> >> >>org.apache.wicket >>wicket >>${wicket.version} >>pom >> >> >>org.apache.wicket >>wicket-datetime >>${wicket.version} >> >> >> >>org.apache.wicket >>wicket-spring-annot >>1.3.7 > > Why you have 1.3.x dependency for project based on 1.5.x ? > >> >> >> >>org.apache.wicket >>wicket-ioc >>${wicket.version} >> >> >> >>org.apache.wicket >>wicket-spring >>${wicket.version} >> >> >> >> >> >> >> >> >> >> >> On Mar 2, 2012, at 2:54 AM, Martin Grigorov wrote: >> >>> The same >>> >>> On Fri, Mar 2, 2012 at 10:49 AM, Douglas Ferguson wrote: I just pulled in SpringComponentInjector and it seems to be subclassing a class that is not longer in wicket-ioc. What's the correct way to using Spring injection with 1.5? Douglas >>> >>> >>> >>> -- >>> Martin Grigorov >>> jWeekend >>> Training, Consulting, Development >>> http://jWeekend.com >>> >>> - >>> 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 >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: SpringComponentInjector
Yes, Few years ago for 1.4.0 Remove it. Check wicket-examples -> Spring project if something more is still not OK. On Fri, Mar 2, 2012 at 11:30 AM, Douglas Ferguson wrote: > That's the latest version of the annotation module. I guess it got merged > into another module? > > On Mar 2, 2012, at 3:18 AM, Martin Grigorov wrote: > >> On Fri, Mar 2, 2012 at 11:16 AM, Douglas Ferguson wrote: >>> I'm getting classloader issues. I get this from eclipse: >>> >>> The type org.apache.wicket.injection.ComponentInjector cannot be resolved. >>> It is indirectly referenced from required .class files >>> VHConnectApplication.java >>> >>> It seems like ComponentInjector is not in the 1.5 ioc jar, and >>> SpringComponentInjector extends ComponentInjector >>> >>> These are my dependencies >>> >>> >>> >>> >>> org.apache.wicket >>> wicket >>> ${wicket.version} >>> pom >>> >>> >>> org.apache.wicket >>> wicket-datetime >>> ${wicket.version} >>> >>> >>> >>> org.apache.wicket >>> wicket-spring-annot >>> 1.3.7 >> >> Why you have 1.3.x dependency for project based on 1.5.x ? >> >>> >>> >>> >>> org.apache.wicket >>> wicket-ioc >>> ${wicket.version} >>> >>> >>> >>> org.apache.wicket >>> wicket-spring >>> ${wicket.version} >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Mar 2, 2012, at 2:54 AM, Martin Grigorov wrote: >>> The same On Fri, Mar 2, 2012 at 10:49 AM, Douglas Ferguson wrote: > I just pulled in SpringComponentInjector and it seems to be subclassing a > class that is not longer in wicket-ioc. > > What's the correct way to using Spring injection with 1.5? > > Douglas -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - 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 >>> >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Markup not found when upgrading from 1.4.18 to 1.5
Hi, you wrote />> ... you should pass the >> "form" as parent container of the fragment instance. / The problem is that I have multiple fragments within my form. And if I pass the form as parent container for each fragment I get an "... child already exists..." exception. That's why I'm inserted additional div tags before each fragment which works fine in Wicket 1.4 / ... / When I try to embed the fragment in my div / ...here fragment ... / I get the exception: /Close tag not found for tag: . For OrderFragment1 Components only raw markup is allow in between the tags but not other Wicket Component / I'm without an idea :-( ralph -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Markup-not-found-when-upgrading-from-1-4-18-to-1-5-tp4431186p4437937.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: Markup not found when upgrading from 1.4.18 to 1.5
Hi, By 'parent' I really meant 'markupProvider'. See the javadoc of org.apache.wicket.markup.html.panel.Fragment#Fragment(String, String, MarkupContainer). See the source of for the example at http://www.wicket-library.com/wicket-examples/compref/wicket/bookmarkable/org.apache.wicket.examples.compref.FragmentPage to see how to use it. I'm not aware of any other change between 1.4 to 1.5 related to Fragments except: In 1.4 it was possible to do: ... In 1.5 should be somewhere inside . Same for and . On Fri, Mar 2, 2012 at 11:32 AM, rawe wrote: > Hi, > > you wrote > />> ... you should pass the >>> "form" as parent container of the fragment instance. / > > The problem is that I have multiple fragments within my form. > And if I pass the form as parent container for each fragment I get an > "... child already exists..." exception. > > That's why I'm inserted additional div tags before each fragment which works > fine in Wicket 1.4 > / > > ... > / > > When I try to embed the fragment in my div > / ...here fragment ... / > > I get the exception: > /Close tag not found for tag: . For > OrderFragment1 Components only raw markup is allow in between the tags but > not other Wicket Component > / > > I'm without an idea :-( > > ralph > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Markup-not-found-when-upgrading-from-1-4-18-to-1-5-tp4431186p4437937.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 > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Delete temporary files after end of a session
I'm using FileUpload to upload several files to the server in "javax.servlet.context.tempdir" or "java.io.tempdir" (i don't want to store them in the session because of session size) in order to send them via Email later in the process. So it's some sort of contactor application. My problem is that the files in the temporary directory should only be there for the period of the session. I just store the pathes to the files in the session and want to delete them at the end of the session. Implementing "sessionDestroyed(String sessionId)" in class Application doesn't work because i don't have access to the session in the context of the Application. I could also overwrite "newSessionStore()" in class "Application", deliver my own SessionStore implementation and overwrite method "unbind()" where i could delete my files but then i would have to copy the code of "newSessionStore" of class "WebApplication" which would be bad for upwards compatibility: @Override protected ISessionStore newSessionStore() { DiskPageStore store; try { store = new DiskPageStore(); } catch (SecurityException e) { throw new WicketRuntimeException( "SecurityException occurred while creating DiskPageStore. Consider overriding newSessionStore() in your application and using a PageStore that doesn't required disk access like: " + HttpSessionStore.class.getName(), e); } return new SecondLevelCacheSessionStore(this, store); } This thread recommends a HashMap in the Application class althoug this would propably work it doesn't seem to be the most elegant solution: http://apache-wicket.1842946.n4.nabble.com/Get-informed-about-invalidation-of-a-session-td1860497.html#a1860503 What is the best way to delete those file at the end of the session? Thanks in advance! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Delete-temporary-files-after-end-of-a-session-tp4438040p4438040.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: Delete temporary files after end of a session
Hi, If you talk about HttpSession then javax.servlet.http.HttpSessionListener#sessionDestroyed() is what you need. Wicket Session has invilidate(Now)() methods but those are used when a session expires due to inactivity of the user. On Fri, Mar 2, 2012 at 12:24 PM, brazz wrote: > I'm using FileUpload to upload several files to the server in > "javax.servlet.context.tempdir" or "java.io.tempdir" (i don't want to store > them in the session because of session size) in order to send them via Email > later in the process. So it's some sort of contactor application. > > My problem is that the files in the temporary directory should only be there > for the period of the session. I just store the pathes to the files in the > session and want to delete them at the end of the session. > > Implementing "sessionDestroyed(String sessionId)" in class Application > doesn't work because i don't have access to the session in the context of > the Application. > > I could also overwrite "newSessionStore()" in class "Application", deliver > my own SessionStore implementation and overwrite method "unbind()" where i > could delete my files but then i would have to copy the code of > "newSessionStore" of class "WebApplication" which would be bad for upwards > compatibility: > > @Override > protected ISessionStore newSessionStore() > { > DiskPageStore store; > try > { > store = new DiskPageStore(); > } > catch (SecurityException e) > { > throw new WicketRuntimeException( > "SecurityException occurred while creating > DiskPageStore. Consider > overriding newSessionStore() in your application and using a PageStore that > doesn't required disk access like: " + > HttpSessionStore.class.getName(), e); > } > return new SecondLevelCacheSessionStore(this, store); > } > > This thread recommends a HashMap in the Application class althoug this would > propably work it doesn't seem to be the most elegant solution: > > http://apache-wicket.1842946.n4.nabble.com/Get-informed-about-invalidation-of-a-session-td1860497.html#a1860503 > > What is the best way to delete those file at the end of the session? > > Thanks in advance! > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Delete-temporary-files-after-end-of-a-session-tp4438040p4438040.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 > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: The vision of Wicket 6
Okay. Thank you both for the short explanation. I've got the feeling that migrating an existing 1.5 project to Wicket 6 will be a pain. But obviously it will not. Cheers. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-vision-of-Wicket-6-tp4437649p4438216.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: Delete temporary files after end of a session
Hi Martin, So there is no "wicket way" at the moment. Thank you for your answer! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Delete-temporary-files-after-end-of-a-session-tp4438040p4438463.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: wiquery css
Strange that the system cannot find it while it can in production. Are you sure the package is present on production, you did not forget a library? Hielke -Original Message- From: N. Metzger [mailto:nmetz...@odu.edu] Sent: vrijdag 2 maart 2012 3:03 To: users@wicket.apache.org Subject: RE: wiquery css Me again, I figured it all out and it work beautifully ... when deployed in weblogic. For my production environment I unfortunately have to use oc4j, and somehow I'm unable to load the resource in this environment: 2012-03-01 20:51:03,471 WARN (PackageResource.java:594) - Unable to find package resource [path = org/odlabs/wiquery/ui/themes/mytheme/jquery-ui-1.8.18.custom.min.css, style = null, locale = null] Maybe this is not the right forum, but perhaps someone has an idea. Thanks! Natalie -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wiquery-css-tp4407116p4437198.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Markup not found when upgrading from 1.4.18 to 1.5
Thanks for your hints, Martin! Now I found the solution. Two changes I had to do: *1)* The difference now is, that the parent component passed to the fragment must be the exact parent. e.g. I used the same fragments for display and edit mode. I passed the page as parentComponent to fragment. /new Fragment(id, markupId, parentComponent);/ But in edit mode there was also a form component in the page. So in Wicket 1.5 I have to pass the form as parentComponent to the fragment In Wicket 1.4 it worked also with the page as parentComponent! *2)* second change is in the markup: In Wicket 1.4 I did: / / In Wicket 1.5 it's now: / / ralph -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Markup-not-found-when-upgrading-from-1-4-18-to-1-5-tp4431186p4438539.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
Wicket 1.5 - Accessing the "Previously Requested Page"
I want to save off the previous page at then end of each request. Can be handy for things like oauth (making sure we return to the correct spot in the app). In 1.4 I could just pull the page class and parameters off the RequestCycle. Not I have to check to see if the active handler is IPageRequestHandler. Is this safe? What scenarios exist where the RequestHandler will not be an IPageClassRequestHandler? This is the only thing I could come up with. public void onEndRequest(RequestCycle cycle) { if(cycle.getActiveRequestHandler() instanceof IPageClassRequestHandler){ previousPageClass = ((IPageClassRequestHandler)cycle.getActiveRequestHandler()).getPageClass() }else{ log.error("cycle is not an IpageClassRequesthandler "+cycle); } } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: wiquery css
Well, the library is there, and I tried running it without the modification to my Application which loads my local theme. In that case it displays the default theme. I'm going to debug some more... Natalie -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wiquery-css-tp4407116p4438600.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: wiquery css
Details: 1) I downloaded a theme from jquery and added the relevant part to wiquery-1.2.3.jar, jar is part of my libararies 2) I updated my Application to implement IThemableApplication: public ResourceReference getTheme(Session session) { if (session instanceof MidasSession){ MidasSession msession = (MidasSession) session; if(msession.getMetaData(msession.WIQUERY_THEME_KEY) == null){ msession.setMetaData(msession.WIQUERY_THEME_KEY, MidasWiQueryThemeResourceReference.get("midas", "1.8.18")); } log.debug("theme key is " + msession.getMetaData(msession.WIQUERY_THEME_KEY)); return msession.getMetaData(msession.WIQUERY_THEME_KEY); } else{ log.debug("Session is not a Midas session"); return null; } } 3) As there was a jquery version hardcoded, I created my own resource reference: public class MidasWiQueryThemeResourceReference extends WiQueryStyleSheetResourceReference{ private static final long serialVersionUID = 6795863553105608280L; /** * Singleton instance. */ private static MidasWiQueryThemeResourceReference instance; /** * Returns the {@link CoreJavaScriptResourceReference} instance. */ public static MidasWiQueryThemeResourceReference get(String theme, String version) { if (instance == null) instance = new MidasWiQueryThemeResourceReference(theme, version); return instance; } /** * Builds a new instance of {@link CoreJavaScriptResourceReference}. */ private MidasWiQueryThemeResourceReference(String theme, String version) { super(WiQueryCoreThemeResourceReference.class, theme + "/jquery-ui-"+version+".custom.css"); } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wiquery-css-tp4407116p4438639.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
web.xml for Spring & Wicket 1.5
I'm not sure the example web.xml here is complete - https://cwiki.apache.org/WICKET/spring.html There is no filter mapping so there is no request get sent to the wicket servlet. I've always used the the wicket filter and a filter mapping so I need to figure out how to do the same with a servlet. Douglas
RE: web.xml for Spring & Wicket 1.5
Hi, contextConfigLocation classpath:context.xml wicket org.apache.wicket.protocol.http.WicketServlet applicationFactoryClassName org.apache.wicket.spring.SpringWebApplicationFactory applicationBean wicketApplication 1 wicket /* org.springframework.web.context.ContextLoaderListener Sergej -Original Message- From: Douglas Ferguson [mailto:the...@gmail.com] Sent: Friday, March 02, 2012 4:05 PM To: Wicket Mailing List List Subject: web.xml for Spring & Wicket 1.5 I'm not sure the example web.xml here is complete - https://cwiki.apache.org/WICKET/spring.html There is no filter mapping so there is no request get sent to the wicket servlet. I've always used the the wicket filter and a filter mapping so I need to figure out how to do the same with a servlet. Douglas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Adding a header contribution as the first in the head tag
Thanks! I was able to write an IResponseFilter and install it within my Application.init via the method getRequestCycleSettings().addResponseFilter(...). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Adding-a-header-contribution-as-the-first-in-the-head-tag-tp4437445p4438773.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: AjaxFormSubmitBehaviour
Hi, I tried to override the whole onEvent() part and use processInput() on some of the fields. Even if I cleared the messages or whatever, the refresh was made right after the response. I'll check the setDefaultProcess(), maybe it will help. Thanks, Cheers. Tamas -- Cserveny, Tamas On Thu, Mar 1, 2012 at 10:34 PM, Andrea Del Bene wrote: > yes, for radio choice you should use > AjaxFormChoiceComponentUpdatingBehavior. Anyway, have you tried setting > default form processing to false on AjaxFormSubmitBehavior > (setDefaultProcessing(false))? In this way you could save fields' value > inside onSubmit() calling updateFormComponentModels() on your form. > >> Hi, >> >> As far as I know it cannot be user with Radio components. >> Also if I change the radio values one part of the form will be hidden. >> If I turn it back I'll need to show the values entered already. >> >> Cheers, >> >> Tamas >> -- >> Cserveny, Tamas >> >> >> > > > - > 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: web.xml for Spring & Wicket 1.5
Yeah.. just figured that out. I'm going to update the wiki.. I'm toying around with where to but the wicket.configuration setting using this format as well. Douglas On Mar 2, 2012, at 9:10 AM, Sergej Sizov wrote: > Hi, > > > contextConfigLocation > classpath:context.xml > > > wicket > > org.apache.wicket.protocol.http.WicketServlet > > >applicationFactoryClassName > > org.apache.wicket.spring.SpringWebApplicationFactory ue> > > >applicationBean >wicketApplication > > 1 > > > wicket > /* > > > > org.springframework.web.context.ContextLoaderListener ner-class> > > > > Sergej > > -Original Message- > From: Douglas Ferguson [mailto:the...@gmail.com] > Sent: Friday, March 02, 2012 4:05 PM > To: Wicket Mailing List List > Subject: web.xml for Spring & Wicket 1.5 > > I'm not sure the example web.xml here is complete - > https://cwiki.apache.org/WICKET/spring.html > > There is no filter mapping so there is no request get sent to the wicket > servlet. > > I've always used the the wicket filter and a filter mapping so I need to > figure out how to do the same with a servlet. > > Douglas > > > > - > 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: Wicket 1.5 - Accessing the "Previously Requested Page"
This doesn't work. Seems like cycle.getActiveRequestHandler() always returns null when in the endRequest call back. Thoughts? Douglas On Mar 2, 2012, at 8:13 AM, Douglas Ferguson wrote: > I want to save off the previous page at then end of each request. > Can be handy for things like oauth (making sure we return to the correct spot > in the app). > > In 1.4 I could just pull the page class and parameters off the RequestCycle. > Not I have to check to see if the active handler is IPageRequestHandler. > > Is this safe? What scenarios exist where the RequestHandler will not be an > IPageClassRequestHandler? > > This is the only thing I could come up with. > > public void onEndRequest(RequestCycle cycle) > { > if(cycle.getActiveRequestHandler() > instanceof IPageClassRequestHandler){ > previousPageClass = > ((IPageClassRequestHandler)cycle.getActiveRequestHandler()).getPageClass() > }else{ > log.error("cycle is not an > IpageClassRequesthandler "+cycle); > } > } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called.
I have looked at the DownloadLink class. Would you suggest that i use something like this: getRequestCycle().scheduleRequestHandlerAfterCurrent ? I am passing my response to my discovery method as follows: OpenIDService.sendDiscoveryResponse((WebResponse)getResponse()); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-IllegalStateException-Can-t-call-write-CharSequence-after-write-byte-has-been-called-tp4416819p4438889.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 1.5 - Accessing the "Previously Requested Page"
write your own irequestcyclelistener, implement onrequesthandlerresolved() and in that method check if the handler is a IPageRequestHandler and stash the page anywhere you want, like in the request cycle's metadata. -igor On Fri, Mar 2, 2012 at 8:08 AM, Douglas Ferguson wrote: > This doesn't work. > > Seems like cycle.getActiveRequestHandler() always returns null when in the > endRequest call back. > > Thoughts? > > Douglas > > On Mar 2, 2012, at 8:13 AM, Douglas Ferguson wrote: > >> I want to save off the previous page at then end of each request. >> Can be handy for things like oauth (making sure we return to the correct >> spot in the app). >> >> In 1.4 I could just pull the page class and parameters off the RequestCycle. >> Not I have to check to see if the active handler is IPageRequestHandler. >> >> Is this safe? What scenarios exist where the RequestHandler will not be an >> IPageClassRequestHandler? >> >> This is the only thing I could come up with. >> >> public void onEndRequest(RequestCycle cycle) >> { >> if(cycle.getActiveRequestHandler() >> instanceof IPageClassRequestHandler){ >> previousPageClass = >> ((IPageClassRequestHandler)cycle.getActiveRequestHandler()).getPageClass() >> }else{ >> log.error("cycle is not an >> IpageClassRequesthandler "+cycle); >> } >> } > > > - > 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: Wicket 1.5 - Accessing the "Previously Requested Page"
Thanks. I just found that and was about to report back. ;) One thing I just noticed is that my @RequireHttps annotation doesn't appear to be working. Do I need to configure that app to work with that? Douglas On Mar 2, 2012, at 10:20 AM, Igor Vaynberg wrote: > write your own irequestcyclelistener, implement > onrequesthandlerresolved() and in that method check if the handler is > a IPageRequestHandler and stash the page anywhere you want, like in > the request cycle's metadata. > > -igor > > On Fri, Mar 2, 2012 at 8:08 AM, Douglas Ferguson wrote: >> This doesn't work. >> >> Seems like cycle.getActiveRequestHandler() always returns null when in the >> endRequest call back. >> >> Thoughts? >> >> Douglas >> >> On Mar 2, 2012, at 8:13 AM, Douglas Ferguson wrote: >> >>> I want to save off the previous page at then end of each request. >>> Can be handy for things like oauth (making sure we return to the correct >>> spot in the app). >>> >>> In 1.4 I could just pull the page class and parameters off the RequestCycle. >>> Not I have to check to see if the active handler is IPageRequestHandler. >>> >>> Is this safe? What scenarios exist where the RequestHandler will not be an >>> IPageClassRequestHandler? >>> >>> This is the only thing I could come up with. >>> >>> public void onEndRequest(RequestCycle cycle) >>> { >>> if(cycle.getActiveRequestHandler() >>> instanceof IPageClassRequestHandler){ >>> previousPageClass = >>> ((IPageClassRequestHandler)cycle.getActiveRequestHandler()).getPageClass() >>> }else{ >>> log.error("cycle is not an >>> IpageClassRequesthandler "+cycle); >>> } >>> } >> >> >> - >> 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 > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: loosing custom wicket session
try session.bind() On Fri, Mar 2, 2012 at 10:33 PM, grazia wrote: > I am upgrading from wicket 1.4 to wicket 1.5.4 for an application containing > lots of legacy servlets and in which wicket has been recently introduced. > The login page creates my custom wicket session and logs me into the > application without a problem. > Next, I try to reach a wicket page from > wicketPageName + "'\"> > But in that wicket page my custom session no longer contains the fields > initialized at login because a new session has been created at that point. > > The thread shows: > > WebPageRenderer.getAndRemoveBufferedResponse(Url url) > WebPageRenderer.getSessionId() > Session.get() > Application.get().fetchCreateAndSetSession(RequestCycle.get()) > > why in Session.get(), ThreadContext.getSession() would have to return null ? > Any suggestion to stir me in the right direction would be very appreciated. > > > > > > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4439069.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 > -- thank you, regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: wiquery css
I'm one step further. It's not oc4j or weblogic, it's the fact that I switch from development mode to deployment mode. It happens in both containers. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wiquery-css-tp4407116p4439118.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 on Google App Engine
Daniel, I was going to send you a private email on this as well after reading the blog you put up. Did you really get this working for your project? On Thu, Mar 1, 2012 at 6:32 PM, kevjay wrote: > Daniel, did you ever get things to work to where the HTML files are updated > without restarting? Everything is working for me but this part. > > Thanks. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-on-Google-App-Engine-tp4259205p4435831.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 > > -- Odeyemi 'Kayode O. http://ng.linkedin.com/in/kayodeodeyemi. t: @charyorde blog: http://sinati.com/tree/java-cheat-sheet
RE: Wicket/Spring Boilerplate
> > #2 I'm not too sure about - doesn't calling getClientInfo() cause a > > redirect to > a temporary page to collect that information? > > No, this info will be extracted from the User-Agent header. The extended > info like browser dimensions are extracted with the special page. So, I call WebClientInfo.getUserAgent(), not WebClientInfo.getProperties.getNavigatorAppName()?
RE: wiquery css
Found it! In deployment mode it looks for the minified css which didn't exist in the jar file. I added it and - voila - all works fine. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wiquery-css-tp4407116p4439324.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: [1.5.4] DropDownChoice is not presenting value if equals is not overwritten
I too received log warnings as mentioned in the newly-changed code mentioned above. My relevant Java code extract is: ChoiceRenderer crRenderer = new ChoiceRenderer("sName", "nOrdinal"); RadioChoice rcFieldsMode = new RadioChoice("rcFieldsMode", lciItems, crRenderer); rcFieldsMode.setRequired(true); frmForm.add(rcFieldsMode); My ListChoiceItem class is descended from Object but did not override equals(...) nor hashCode(). I now have done this and my warnings disappear. Excellent for the start of the weekend! Per Newgro wrote > > Thanks Sven, > > https://issues.apache.org/jira/browse/WICKET-4353 > > Cheers > Per > > Am 24.01.2012 11:31, schrieb Sven Meier: >> Hi, >> >> Igor's commit statements says "improved inconsistency handling in >> choice components". >> This change prevents IChoiceRenderer#getIdValue() being called with -1 >> as the index argument. >> >> I assume you are using a custom IChoiceRenderer which doesn't use the >> index but a custom identifier? >> >> Try overriding #getModelValue(): >> >> @Override >> public String getModelValue() >> { >> final Foo object = getModelObject(); >> if (object != null) >> { >> return "" + object.getBar(); >> } >> else >> { >> return ""; >> } >> } >> >> And create a jira issue please. We might have to revert this change. >> >> Sven >> >> Am 24.01.2012 10:52, schrieb Per Newgro: >>> Maybe a usecase helps :-) >>> >>> I load my choices in a LDM. The selected choice is located in the >>> domain model. >>> So the objects are equal by semantic but not by instance. >>> >>> Dropdown choices arehashcodes are 1 and >>> 2 >>> selected value is d, Germany hashcode is 3 >>> >>> Cheers >>> Per >>> >>> Am 24.01.2012 10:42, schrieb Per Newgro: Hi, with 1.5.4 the implementation of org.apache.wicket.markup.html.form.AbstractSingleSelectChoice.java has changed from /** * @see FormComponent#getModelValue() */ @Override public String getModelValue() { final T object = getModelObject(); if (object != null) { int index = getChoices().indexOf(object); return getChoiceRenderer().getIdValue(object, index); } else { return ""; } } to /** * @see FormComponent#getModelValue() */ @Override public String getModelValue() { final T object = getModelObject(); if (object != null) { int index = getChoices().indexOf(object); if (index < 0) { // the model is returning a choice that is not in the available choices collection logger.warn( "Detected inconsistency in choice component: {}/{}. Model returned object: {}, but this object is not available in the list of selected objects.", new Object[] { getPage().getClass(), getPageRelativePath(), object }); // pretend like nothing is selected return ""; } return getChoiceRenderer().getIdValue(object, index); } else { return ""; } } I don't see why this changed. Release notes don't provide a task for that. But now i have to overwrite equals in my objects to get that to work. Is there another way of selecting the object? Thanks Per > -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/1-5-4-DropDownChoice-is-not-presenting-value-if-equals-is-not-overwritten-tp4323310p4439341.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
Wicket authentication: how to store user?
I use this code as base: http://wicketstuff.org/wicket14/authentication/ I added registration and user/password sign-in and checking with database, instead of simple "wicket" as user and password. All works ok, but now I need in AdminPage to known which user is logged in. How can I implement it? Is there some Wicket implementation? Do I need to store user in Session or with cookies or in PageParameters? Is it secure? Thank you. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: loosing custom wicket session
I would think that the session needs to be bound before the WicketFilter creates a new RequestCycle. But what is the best way of doing so ? Please advise. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4439618.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
Wicket & Spring Security
Dear all, what is the recommended way of integrating Wicket 1.5.x with Spring Security 3.1.x? TIA & best regards, Erich
Re: loosing custom wicket session
It seems that I am able to create a wicket session in a wicket page and make it available to non-wicket pages using the WicketSessionFilter; the wicketsessionfilter nicely binds the session. But I am not being able to maintain the wicket session when going from a non-wicket page to a wicket page. so, how do I bind the session at that point ? (Why was this working with wicket 1.4 ?) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4439672.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: loosing custom wicket session
I just ran my app using wicket 1.4. THe wicketsessionfilter allows me to maintain the wicket session from wicket page to non-wicket page and back to a wicket page. This ensures that the session is bound. But with wicket 1.5 the wicketsessionfilter is not binding the session when going from a non-wicket page to a wicket page. Sorry if my last posts are somewhat redundant. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4439687.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: loosing custom wicket session
actually session.bind() is only needed once and in wicket side,that too in case when you already dont have a permanent session(http session),this behavior is needed in case when you are trying to be stateless till you actually need to be stateful for eg. you have a stateless form in a stateless page and you logged in from there. you can check if your session is temporary or not by session.istemporary() i think you should call session.bind() in some wicket page before doing session related thing in servlet On Sat, Mar 3, 2012 at 1:40 AM, grazia wrote: > I just ran my app using wicket 1.4. > THe wicketsessionfilter allows me to maintain the wicket session from wicket > page to non-wicket page and back to a wicket page. This ensures that the > session is bound. > But with wicket 1.5 the wicketsessionfilter is not binding the session when > going from a non-wicket page to a wicket page. > > Sorry if my last posts are somewhat redundant. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4439687.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 > -- thank you, regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: loosing custom wicket session
THank you for your reply. I'll get back with an update. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4440021.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: Multi Tab and Session
Hi, I could solve my problem with the reload of the page and the multi call of the constructors. This evening, I created a quickstart project to show you my problem. After finishing the code of the quickstart project, I could not reproduce my problem. I compared the code from the quickstart project with my own code and found the difference. I made a mistake during the creation of the background thread and the initialization of the AjaxSelfUpdatingTimerBehavior. The problem was the order. I created the AjaxSelfUpdatingTimerBehavior before the Background Thread. After changing this order, I could use my application in multiple tabs without any problems. Thanks for the many help. Andre On Thu, 1 Mar 2012 23:03:37 +0100 Andre Schütz wrote: > Hi, > > I started my project with Jetty from within IDEA to use breakpoints and > additional informations from the debugger. The Jetty server > started without any problems, but when I call localhost:8080, I get > he following error: > > Unexpected Runtime Exception > > Last cause: Can not determine Markup. Component is not yet connected to a > parent. > [Page class = org.myproject.PageIndex, id = 0, render count = 1] > > In my pom.xml, I defined the path to the HTML files for the corresping classes > as: > > > > > false > src/main/resources > > > src/main/html > > > false > src/main/java > > ** > > > **/*.java > > > > > > false > src/test/resources > > > src/main/html > > > false > src/test/java > > ** > > > **/*.java > > > > > > > Seems to me, that Jetty does not find the .html files? > > Andre > > > On Thu, 1 Mar 2012 10:13:00 +0200 > Martin Grigorov wrote: > > > Use mvnDebug instead of mvn at the command line. This will start it in > > debug mode and you can attach to it from IDEA. > > Otherwise Wicket quickstart comes with src/test/java/**/Start.java. > > Run this class as normal Java application with main(String[]). From > > the context menu in the .java file choose "Debug 'Start.main()'" > > > > 2012/3/1 "André Schütz" : > > > Hi Martin, > > > > > > I compile the wicket project via Maven from the command line. I do not > > > use the IDE to start the project and trace it? Do you have a hint how I > > > can do that? As IDE, Ia m using IntelliJ IDEA. > > > > > > Andre > > > > > > Original-Nachricht > > >> Datum: Thu, 1 Mar 2012 09:40:30 +0200 > > >> Von: Martin Grigorov > > >> An: users@wicket.apache.org > > >> Betreff: Re: Multi Tab and Session > > > > > >> 2012/2/29 Andre Schütz : > > >> > Hi, > > >> > > > >> > I could identify the cause of the problem, but still have no > > >> > solution. > > >> > > > >> > I set some breakpoints and made some output messages to trace > > >> > the system. The following thinks happened: > > >> > > > >> > (1) > > >> > I submit a search in Tab1. The search word will be passed as > > >> > Page Parameter to Page2 in Tab1. While Tab1 is showing the loading > > >> > animation with it AjaxSelfUpdatingTimerBehavior, I submit a second > > >> > search in Tab2. Tab2 switches to its Page2 and the loading animation > > >> > stops in both Tabs. > > >> > > > >> > Reason: > > >> > --> The constructors of Page2 is called twice on the two Tabs. > > >> > > > >> > As diagram: > > >> > 01.) Tab1: Page1 submit search > > >> > 02.) Tab1: Page2 (Page id = 14) calls its constructor and adds a PanelA > > >> > 03.) Tab1: shows loading animation with its > > >> AjaxSelfUpdatingTimerBehavior at PanelA > > >> > 04.) Tab2: Page1 submit search > > >> > 05.) Tab2: Page2 (Page id = 16) calls its constructor and adds a PanelA > > >> > 06.) Tab2: shows loading animation with its > > >> AjaxSelfUpdatingTimerBehavior at PanelA > > >> > 07.) Tab1: Page2 (Page id = 17) calls its constructor > > >> > 08.) Tab1: does not update anymore > > >> > 09.) Tab2: Page2 (Page id = 18) calls its constructor > > >> > 10.) Tab2: does not update anymore > > >> > > > >> > I do nothing from the beginning of step 7 and do not know why the > > >> constructor > > >> > is called again. > > >> > > >> Put a breakpoint in Page2 constructor and see why it is called. > > >> > > >> > > > >> > (2) > > >> > The same odd behavior happens, when I do the following. I submit a > > >> search > > >> > in Tab1 from its Page1. While the loading animation is shown, I reload > > >> the > > >> > Page1 in Tab2. The constructor of Page2 in Tab1 is called again and the > > >> > Page2 in Tab1 s
Re: Wicket & Spring Security
Wicketopia has an example of how to integrate Spring security (including showing/hiding properties based on user roles) On Fri, Mar 2, 2012 at 2:46 PM, Erich W Schreiner wrote: > Dear all, > what is the recommended way of integrating Wicket 1.5.x with Spring Security > 3.1.x? > > TIA & best regards, > Erich - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: loosing custom wicket session
I did bind the session as you suggested. IN addition, I noticed that I had not appropriately accounted for my custom RequestCyle. Thank you for your feedback, it was very useful. I add the code hoping to help anybody running into this problem. this.setRequestCycleProvider(new MyRequestCycleProvider()); private final class MyRequestCycleProvider implements IRequestCycleProvider { @Override public RequestCycle get(RequestCycleContext context) { if (context.getRequest() instanceof WebRequest){ return new MyRequestCycle( context ); } return this.get(context); } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4440588.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
redirecting in IRequestCyleListener.onException
In migrating to wicket 1.5 from 1.4 I used this to redirect to my error page when an exception is thrown. But when I do this it is trying to instantiate a new copy of the page rather than using the one I pass in. IPageProvider provider = new PageProvider(new ClientErrorPage(ex)); return new RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT);
Re: redirecting in IRequestCyleListener.onException
you need to do requestcycle.scheduleRequestHandlerAfterCurrent(new RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT)); On Sat, Mar 3, 2012 at 10:53 AM, Douglas Ferguson wrote: > > In migrating to wicket 1.5 from 1.4 I used this to redirect to my error page > when an exception is thrown. > But when I do this it is trying to instantiate a new copy of the page rather > than using the one I pass in. > > IPageProvider provider = new PageProvider(new > ClientErrorPage(ex)); > return new RenderPageRequestHandler(provider, > RedirectPolicy.ALWAYS_REDIRECT); -- thank you, regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: redirecting in IRequestCyleListener.onException
onException() wants be to run a redirectHandler. do I just return null? On Mar 2, 2012, at 11:44 PM, vineet semwal wrote: > you need to do requestcycle.scheduleRequestHandlerAfterCurrent(new > RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT)); > > On Sat, Mar 3, 2012 at 10:53 AM, Douglas Ferguson wrote: >> >> In migrating to wicket 1.5 from 1.4 I used this to redirect to my error page >> when an exception is thrown. >> But when I do this it is trying to instantiate a new copy of the page rather >> than using the one I pass in. >> >>IPageProvider provider = new PageProvider(new >> ClientErrorPage(ex)); >>return new RenderPageRequestHandler(provider, >> RedirectPolicy.ALWAYS_REDIRECT); > > > > -- > thank you, > > regards, > Vineet Semwal > > - > 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: Wicket 1.5 - Accessing the "Previously Requested Page"
After tracing through the code, I see that when mounting pages, those mappers will bypass the root mapper by wrapping it in a "composite" So then I tried this: mount(new HttpsMapper(new MountedMapper(PAGE_MOUNT_MAP.get(page), page, new UrlPathPageParametersEncoder()), httpsConfig)); Now my pages are redirecting as I would expect, however, I get a null pointer: java.lang.NullPointerException at org.apache.wicket.protocol.https.HttpsMapper.mapHandler(HttpsMapper.java:129) at org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:157) On Mar 2, 2012, at 11:00 AM, Douglas Ferguson wrote: > Thanks. I just found that and was about to report back. ;) > > One thing I just noticed is that my @RequireHttps annotation doesn't appear > to be working. > Do I need to configure that app to work with that? > > Douglas > > On Mar 2, 2012, at 10:20 AM, Igor Vaynberg wrote: > >> write your own irequestcyclelistener, implement >> onrequesthandlerresolved() and in that method check if the handler is >> a IPageRequestHandler and stash the page anywhere you want, like in >> the request cycle's metadata. >> >> -igor >> >> On Fri, Mar 2, 2012 at 8:08 AM, Douglas Ferguson wrote: >>> This doesn't work. >>> >>> Seems like cycle.getActiveRequestHandler() always returns null when in the >>> endRequest call back. >>> >>> Thoughts? >>> >>> Douglas >>> >>> On Mar 2, 2012, at 8:13 AM, Douglas Ferguson wrote: >>> I want to save off the previous page at then end of each request. Can be handy for things like oauth (making sure we return to the correct spot in the app). In 1.4 I could just pull the page class and parameters off the RequestCycle. Not I have to check to see if the active handler is IPageRequestHandler. Is this safe? What scenarios exist where the RequestHandler will not be an IPageClassRequestHandler? This is the only thing I could come up with. public void onEndRequest(RequestCycle cycle) { if(cycle.getActiveRequestHandler() instanceof IPageClassRequestHandler){ previousPageClass = ((IPageClassRequestHandler)cycle.getActiveRequestHandler()).getPageClass() }else{ log.error("cycle is not an IpageClassRequesthandler "+cycle); } } >>> >>> >>> - >>> 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 >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: redirecting in IRequestCyleListener.onException
i think you need to return the handler which you have scheduled On Sat, Mar 3, 2012 at 11:30 AM, Douglas Ferguson wrote: > onException() wants be to run a redirectHandler. do I just return null? > > > On Mar 2, 2012, at 11:44 PM, vineet semwal wrote: > >> you need to do requestcycle.scheduleRequestHandlerAfterCurrent(new >> RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT)); >> >> On Sat, Mar 3, 2012 at 10:53 AM, Douglas Ferguson wrote: >>> >>> In migrating to wicket 1.5 from 1.4 I used this to redirect to my error >>> page when an exception is thrown. >>> But when I do this it is trying to instantiate a new copy of the page >>> rather than using the one I pass in. >>> >>> IPageProvider provider = new PageProvider(new >>> ClientErrorPage(ex)); >>> return new RenderPageRequestHandler(provider, >>> RedirectPolicy.ALWAYS_REDIRECT); >> >> >> >> -- >> thank you, >> >> regards, >> Vineet Semwal >> >> - >> 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 > -- thank you, regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: redirecting in IRequestCyleListener.onException
Causes an infinite loop. Douglas On Mar 3, 2012, at 12:20 AM, vineet semwal wrote: > i think you need to return the handler which you have scheduled > > On Sat, Mar 3, 2012 at 11:30 AM, Douglas Ferguson wrote: >> onException() wants be to run a redirectHandler. do I just return null? >> >> >> On Mar 2, 2012, at 11:44 PM, vineet semwal wrote: >> >>> you need to do requestcycle.scheduleRequestHandlerAfterCurrent(new >>> RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT)); >>> >>> On Sat, Mar 3, 2012 at 10:53 AM, Douglas Ferguson wrote: In migrating to wicket 1.5 from 1.4 I used this to redirect to my error page when an exception is thrown. But when I do this it is trying to instantiate a new copy of the page rather than using the one I pass in. IPageProvider provider = new PageProvider(new ClientErrorPage(ex)); return new RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT); >>> >>> >>> >>> -- >>> thank you, >>> >>> regards, >>> Vineet Semwal >>> >>> - >>> 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 >> > > > > -- > thank you, > > regards, > Vineet Semwal > > - > 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: redirecting in IRequestCyleListener.onException
I mean "too many redirects" On Mar 3, 2012, at 12:36 AM, Douglas Ferguson wrote: > Causes an infinite loop. > > Douglas > > On Mar 3, 2012, at 12:20 AM, vineet semwal wrote: > >> i think you need to return the handler which you have scheduled >> >> On Sat, Mar 3, 2012 at 11:30 AM, Douglas Ferguson wrote: >>> onException() wants be to run a redirectHandler. do I just return null? >>> >>> >>> On Mar 2, 2012, at 11:44 PM, vineet semwal wrote: >>> you need to do requestcycle.scheduleRequestHandlerAfterCurrent(new RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT)); On Sat, Mar 3, 2012 at 10:53 AM, Douglas Ferguson wrote: > > In migrating to wicket 1.5 from 1.4 I used this to redirect to my error > page when an exception is thrown. > But when I do this it is trying to instantiate a new copy of the page > rather than using the one I pass in. > > IPageProvider provider = new PageProvider(new > ClientErrorPage(ex)); > return new RenderPageRequestHandler(provider, > RedirectPolicy.ALWAYS_REDIRECT); -- thank you, regards, Vineet Semwal - 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 >>> >> >> >> >> -- >> thank you, >> >> regards, >> Vineet Semwal >> >> - >> 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: Wicket 1.5 - Accessing the "Previously Requested Page"
I just read that the setRootRequestMapper should be after all the mounts. I tried it and it still down't work. setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), httpsConfig)); On Mar 3, 2012, at 12:12 AM, Douglas Ferguson wrote: > After tracing through the code, I see that when mounting pages, those mappers > will bypass the root mapper by wrapping it in a "composite" > > So then I tried this: > > mount(new HttpsMapper(new MountedMapper(PAGE_MOUNT_MAP.get(page), page, new > UrlPathPageParametersEncoder()), httpsConfig)); > > Now my pages are redirecting as I would expect, however, I get a null pointer: > > java.lang.NullPointerException > at > org.apache.wicket.protocol.https.HttpsMapper.mapHandler(HttpsMapper.java:129) > at > org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:157) > > On Mar 2, 2012, at 11:00 AM, Douglas Ferguson wrote: > >> Thanks. I just found that and was about to report back. ;) >> >> One thing I just noticed is that my @RequireHttps annotation doesn't appear >> to be working. >> Do I need to configure that app to work with that? >> >> Douglas >> >> On Mar 2, 2012, at 10:20 AM, Igor Vaynberg wrote: >> >>> write your own irequestcyclelistener, implement >>> onrequesthandlerresolved() and in that method check if the handler is >>> a IPageRequestHandler and stash the page anywhere you want, like in >>> the request cycle's metadata. >>> >>> -igor >>> >>> On Fri, Mar 2, 2012 at 8:08 AM, Douglas Ferguson wrote: This doesn't work. Seems like cycle.getActiveRequestHandler() always returns null when in the endRequest call back. Thoughts? Douglas On Mar 2, 2012, at 8:13 AM, Douglas Ferguson wrote: > I want to save off the previous page at then end of each request. > Can be handy for things like oauth (making sure we return to the correct > spot in the app). > > In 1.4 I could just pull the page class and parameters off the > RequestCycle. > Not I have to check to see if the active handler is IPageRequestHandler. > > Is this safe? What scenarios exist where the RequestHandler will not be > an IPageClassRequestHandler? > > This is the only thing I could come up with. > > public void onEndRequest(RequestCycle cycle) > { > if(cycle.getActiveRequestHandler() > instanceof IPageClassRequestHandler){ > previousPageClass = > ((IPageClassRequestHandler)cycle.getActiveRequestHandler()).getPageClass() > }else{ > log.error("cycle is not an > IpageClassRequesthandler "+cycle); > } > } - 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 >>> >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: redirecting in IRequestCyleListener.onException
I tried overriding onExceptionRequestHandlerResolved but I can't get this to work. I'm still not getting my error page to load on errors. Douglas On Mar 3, 2012, at 12:36 AM, Douglas Ferguson wrote: > I mean "too many redirects" > > On Mar 3, 2012, at 12:36 AM, Douglas Ferguson wrote: > >> Causes an infinite loop. >> >> Douglas >> >> On Mar 3, 2012, at 12:20 AM, vineet semwal wrote: >> >>> i think you need to return the handler which you have scheduled >>> >>> On Sat, Mar 3, 2012 at 11:30 AM, Douglas Ferguson wrote: onException() wants be to run a redirectHandler. do I just return null? On Mar 2, 2012, at 11:44 PM, vineet semwal wrote: > you need to do requestcycle.scheduleRequestHandlerAfterCurrent(new > RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT)); > > On Sat, Mar 3, 2012 at 10:53 AM, Douglas Ferguson > wrote: >> >> In migrating to wicket 1.5 from 1.4 I used this to redirect to my error >> page when an exception is thrown. >> But when I do this it is trying to instantiate a new copy of the page >> rather than using the one I pass in. >> >> IPageProvider provider = new PageProvider(new >> ClientErrorPage(ex)); >> return new RenderPageRequestHandler(provider, >> RedirectPolicy.ALWAYS_REDIRECT); > > > > -- > thank you, > > regards, > Vineet Semwal > > - > 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 >>> >>> >>> >>> -- >>> thank you, >>> >>> regards, >>> Vineet Semwal >>> >>> - >>> 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: redirecting in IRequestCyleListener.onException
i think scheduling is wrong in this usecase ,actually just overriding onexception and returning your handler like you did before should have worked but wait for some one else to respond if its not working On Sat, Mar 3, 2012 at 12:47 PM, Douglas Ferguson wrote: > I tried overriding onExceptionRequestHandlerResolved but I can't get this to > work. > > I'm still not getting my error page to load on errors. > > Douglas > > On Mar 3, 2012, at 12:36 AM, Douglas Ferguson wrote: > >> I mean "too many redirects" >> >> On Mar 3, 2012, at 12:36 AM, Douglas Ferguson wrote: >> >>> Causes an infinite loop. >>> >>> Douglas >>> >>> On Mar 3, 2012, at 12:20 AM, vineet semwal wrote: >>> i think you need to return the handler which you have scheduled On Sat, Mar 3, 2012 at 11:30 AM, Douglas Ferguson wrote: > onException() wants be to run a redirectHandler. do I just return null? > > > On Mar 2, 2012, at 11:44 PM, vineet semwal wrote: > >> you need to do requestcycle.scheduleRequestHandlerAfterCurrent(new >> RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT)); >> >> On Sat, Mar 3, 2012 at 10:53 AM, Douglas Ferguson >> wrote: >>> >>> In migrating to wicket 1.5 from 1.4 I used this to redirect to my error >>> page when an exception is thrown. >>> But when I do this it is trying to instantiate a new copy of the page >>> rather than using the one I pass in. >>> >>> IPageProvider provider = new PageProvider(new >>> ClientErrorPage(ex)); >>> return new RenderPageRequestHandler(provider, >>> RedirectPolicy.ALWAYS_REDIRECT); >> >> >> >> -- >> thank you, >> >> regards, >> Vineet Semwal >> >> - >> 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 > -- thank you, regards, Vineet Semwal - 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 > -- thank you, regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org