Re: wicket-6 User friendly form validation with Wicket (stuq)
On 05.11.2012 17:01, Martin Grigorov wrote: See FormsWithFlair application and PDF at http://code.google.com/p/londonwicket/downloads/list It also shows how a behavior can be used for this. Thanks for the link, looks very promising. Best Regards Rafał Krupiński - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket-6 User friendly form validation with Wicket (stuq)
On Mon, Oct 29, 2012 at 8:36 AM, Martin Grigorov wrote: >> Anyway, I would like to have a label for each validated input field >> and put there any error messages related to that input. >> I haven't found any example other than that old article by Daan van >> Etten and that was for wicket 1.3. >> Daan's solution used his own FeedbackLabel class and filtered >> FeedbackPanel but it doesn't work with wicket 6. > > Please paste your code and compile errors/exceptions to see what doesn't work. Hi I haven't got any errors nor exceptions, feedback labels were ignored and all messages went to feedback panel. For the code see the site, it's back on-line. http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket -- Pozdrawiam / Best Regards Rafal Krupinski - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket-6 User friendly form validation with Wicket (stuq)
On Wed, Oct 24, 2012 at 10:13 AM, Martin Grigorov wrote: > Hi, > > The URL below doesn't load and I cannot see what is his implementation. Hm, it loaded when I posted that message :( Anyway, I would like to have a label for each validated input field and put there any error messages related to that input. I haven't found any example other than that old article by Daan van Etten and that was for wicket 1.3. Daan's solution used his own FeedbackLabel class and filtered FeedbackPanel but it doesn't work with wicket 6. -- Pozdrawiam / Best Regards Rafal Krupinski - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
wicket-6 User friendly form validation with Wicket (stuq)
Hi all! There is old article on putting validation messages near the input fields at http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket Is there a wicket-native method of doing this in wicket 6 or should I follow the article? Rafał - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Stuff Examples!?
On 27.06.2012 11:04, chris polzer wrote: Hello everybody, I woul dlike to know if there is a Demo application hosted out there featuring the wicket stuff examples? You mean other than Live Wicket Examples at http://wicketstuff.org/ ? Rafał - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: PackageResourceBlockedException after migration to 6.0.0-beta2
On Thu, Jun 14, 2012 at 8:20 AM, Martin Grigorov wrote: > Hi, > > Please create a quickstart and attach it to Jira. > Both 1.5.7 and 6.0.0-beta2 should behave the same way. > For some reason the mounted page doesn't match and Wicket tries to > serve this url with Resource mapper and thus it makes the security > check ... #WICKET-4607 -- Pozdrawiam / Best Regards Rafal Krupinski - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
PackageResourceBlockedException after migration to 6.0.0-beta2
I've just changed wicket dependency from 1.5.6 to 6.0.0-beta2 and s/IClusterable/Serializable/ ...and this is what I got: Unexpected RuntimeException Last cause: Access denied to (static) package resource com/hashnot/nbp. See IPackageResourceGuard Root cause: org.apache.wicket.request.resource.PackageResource$PackageResourceBlockedException: Access denied to (static) package resource com/hashnot/nbp. See IPackageResourceGuard at org.apache.wicket.request.resource.PackageResource.internalGetResourceStream(PackageResource.java:459) [snip] This is the situation: mypackage.MyApplication{ void init(){ mountPage("nbp", MyPage.class) //other similar mounts } } mypackage.BasePage{ //base Page with links to all mounted pages } mypackage.nbp.MyPage extends BasePage{} (and of course the markup) All links between mounted pages are handled by BasePage class and its markup. >From the BasePage's point of view there is page mounted under "nbp" and a subpackage nbp. After I changed the mount from "nbp" to "nbp-rates" it started working, so it looks like in case of conflicting mount-path and relative package name there is a regression: * in 1.5.x linking to X meant linking to mounted page * in 6.0 it means linking to package Can someone confirm it? -- Pozdrawiam / Best Regards Rafal Krupinski - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
6.0.0-beta2 IClusterable
Hi What happened to IClusterable interface? It's missing both from jar and from wiki page on migration :-) Is it OK to simply replace it with Serializable? -- Pozdrawiam / Best Regards Rafal Krupinski - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff.org - down
On Tue, Apr 3, 2012 at 23:14, Jeffrey Schneller wrote: > Wicketstuff.org appears to be down. Any ideas on when it will be back up? wicketstuff is down regularly, what does it say about wicket? ;-) Seriously though, why does it breaks so often? -- Pozdrawiam / Best Regards Rafal Krupinski - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Killing threads in Application's onDestroy method
W dniu 18.05.2011 21:16, Henrique Boregio pisze: My bad...that's actually what I am doing. I have a stop() method insite my threads that change a boolean value to false inside the while...instead of having while(tru) In this case, most probably your threads are running while your application is being closed. You can call Thread.join() or use CountDownLatch to wait for all the Threads to finish. Regards - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket datatable to excel
On Thu, Apr 7, 2011 at 16:40, henry wrote: > Hi guys, > > please i need a code to export my dataTable values into an excel format on > click of a button. > > Any help will do. Use Apache POI to create excel file/stream and IResourceListener to hook it to Wicket. Next time research on your own and ask more specific questions ;-). -- Pozdrawiam / Best Regards Rafal Krupinski - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [Vote] New Wicket Version Numbering
W dniu 01.04.2011 20:14, nino martinez wael pisze: Gotta be a aprils fools thing.. Who would decide what framework to be used based on version number? Why not take a look at architecture instead... Ooh lets chose windows 95 instead of windows 7, it has a higher number so it gotta be better You have a valid point there, it's time to switch back to Win95 Rafał Krupiński - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org