Shared message property file not working on 1.4
Hi, here's a new episode of my Wicket upgrade saga. Hope I'm not disturbing anyone :D In my application developed with Wicket 1.3.6 I have a CarMessages.properties file which was sort of shared by two classes CarListPage and CarDetail, since they use the same messages. When I upgraded to 1.4 all the labels in CarMessages.properties are not resolved anymore. I solved the problem by creating two new properties file CarListPage.properties and CarDetail.properties and it all works fine, but this is kind of awful because I need to duplicate the messages in these two files. Is there any other way I can workaround this problem? Thanks, Andrea -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058612.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: quot;Sharedquot; message property file not working on 1.4
How about better architecture? Using a database instead of a file would be much nicer. With proper caching there's little to no difference in terms of performance than using a file. Cheers, Adam On 25 November 2010 09:07, andrea.castello [via Apache Wicket] ml-node+3058612-308220060-201...@n4.nabble.comml-node%2b3058612-308220060-201...@n4.nabble.com wrote: Hi, here's a new episode of my Wicket upgrade saga. Hope I'm not disturbing anyone :D In my application developed with Wicket 1.3.6 I have a CarMessages.properties file which was sort of shared by two classes CarListPage and CarDetail, since they use the same messages. When I upgraded to 1.4 all the labels in CarMessages.properties are not resolved anymore. I solved the problem by creating two new properties file CarListPage.properties and CarDetail.properties and it all works fine, but this is kind of awful because I need to duplicate the messages in these two files. Is there any other way I can workaround this problem? Thanks, Andrea -- View message @ http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058612.html To start a new topic under Apache Wicket, email ml-node+1842946-1499480286-201...@n4.nabble.comml-node%2b1842946-1499480286-201...@n4.nabble.com To unsubscribe from Apache Wicket, click herehttp://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=1842946code=YWRhbS5zLmdpYmJvbnNAZ21haWwuY29tfDE4NDI5NDZ8LTUzNzMyMDU4OQ==. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058616.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: Announcing the Topicus Dashboard
Rather strange: they closed the public voting round at the same time as the submission deadline. This strikes me as weird since late registrants (such as ourselves) are unable to garner any community support. Sounds like someone didn't think this through... Martijn On Thu, Nov 25, 2010 at 2:34 AM, Brian Topping topp...@codehaus.org wrote: Everyone note: If you aren't on FB and need to register manually, the voting pages DO NOT place a vote for you once you register. You must GO BACK TO THE PAGE and then place your vote after you activate your account. (No promotional fees were paid for this public service announcement.) On Nov 24, 2010, at 7:28 PM, Martijn Dashorst wrote: The Topicus Dashboard is an information radiator showing build status, production server status, twitter timeline, train departure times, important events and much more. The Atlassian folks are running a competition for the Ultimate Wallboard and we (Topicus) just submitted our entry for the competition: the Topicus Dashboard. If you like our dashboard, you are welcome to vote for it and help us win the 55 flatscreen display in the Atlassian (known for JIRA and Confluence) Ultimate Wallboard Competition: http://ultimatewallboard.com/entries/91860 The entry sports a movie (the guy in the picture is Emond, a co-worker at Topicus) As we like to share our innovations we hosted our dashboard on github, and you are free to run the software and modify it for your own use (or your customers). The software is currently licensed using the GPL 3. The project can be found here: https://github.com/dashorst/dashboard Most of the credits for this project go to Emond Papegaaij (and if you find a bug, call him, not me :) On behalf of the dashboard developers, Martijn Dashorst PS. Really: please vote and let us win the big screen TV! -- Become a Wicket expert, learn from the best: http://wicketinaction.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 -- Become a Wicket expert, learn from the best: http://wicketinaction.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Shared message property file not working on 1.4
How was this CarMessages.properties shared by the two classes? If your car CarListPage uses CarDetail placing them on CarListPage should be enough, AFAIK. Additionally on 1.4.X I think package level resource files are supported. Ernesto On Thu, Nov 25, 2010 at 10:07 AM, andrea.castello a.castello.pronet...@gmail.com wrote: Hi, here's a new episode of my Wicket upgrade saga. Hope I'm not disturbing anyone :D In my application developed with Wicket 1.3.6 I have a CarMessages.properties file which was sort of shared by two classes CarListPage and CarDetail, since they use the same messages. When I upgraded to 1.4 all the labels in CarMessages.properties are not resolved anymore. I solved the problem by creating two new properties file CarListPage.properties and CarDetail.properties and it all works fine, but this is kind of awful because I need to duplicate the messages in these two files. Is there any other way I can workaround this problem? Thanks, Andrea -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058612.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: quot;Sharedquot; message property file not working on 1.4
What is the relation between CarMessages.java (if there is such file) and CarDetail.java ? Does the one extend/implement the other ? On Thu, Nov 25, 2010 at 10:11 AM, adam.gibbons adam.s.gibb...@gmail.comwrote: How about better architecture? Using a database instead of a file would be much nicer. With proper caching there's little to no difference in terms of performance than using a file. Cheers, Adam On 25 November 2010 09:07, andrea.castello [via Apache Wicket] ml-node+3058612-308220060-201...@n4.nabble.comml-node%2b3058612-308220060-201...@n4.nabble.com ml-node%2b3058612-308220060-201...@n4.nabble.comml-node%252b3058612-308220060-201...@n4.nabble.com wrote: Hi, here's a new episode of my Wicket upgrade saga. Hope I'm not disturbing anyone :D In my application developed with Wicket 1.3.6 I have a CarMessages.properties file which was sort of shared by two classes CarListPage and CarDetail, since they use the same messages. When I upgraded to 1.4 all the labels in CarMessages.properties are not resolved anymore. I solved the problem by creating two new properties file CarListPage.properties and CarDetail.properties and it all works fine, but this is kind of awful because I need to duplicate the messages in these two files. Is there any other way I can workaround this problem? Thanks, Andrea -- View message @ http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058612.html To start a new topic under Apache Wicket, email ml-node+1842946-1499480286-201...@n4.nabble.comml-node%2b1842946-1499480286-201...@n4.nabble.com ml-node%2b1842946-1499480286-201...@n4.nabble.comml-node%252b1842946-1499480286-201...@n4.nabble.com To unsubscribe from Apache Wicket, click here http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=1842946code=YWRhbS5zLmdpYmJvbnNAZ21haWwuY29tfDE4NDI5NDZ8LTUzNzMyMDU4OQ== . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058616.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: Shared message property file not working on 1.4
Hi, Martin Grigorov-4 wrote: What is the relation between CarMessages.java (if there is such file) and CarDetail.java ? Does the one extend/implement the other ? On Thu, Nov 25, 2010 at 10:11 AM, adam.gibbons adam.s.gibb...@gmail.comwrote: There's no CarMessages.java, just the two I mentioned, which are not apparently related (that surprieses me a bit) CarDetail extends a generic DetailPanel class (which extends Wicket's panel), while CarListPage extends a genric ListPage...so apparently no relation between the two. I wonder how they could work with just the Carmessages.properties resource...anyway. How can I use package resource? Is there a convention to do it in 1.4? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058686.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:
One thing that I just noticed is that in every class I have this problem I had to change the invocation of the method getModel() to getDefaultModel(), according to the migration guide to 1.4. Can the problem be there (honestly, I don't think so but, who knows, I'm just a Wicket newbie) Andrea -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058701.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: AjaxLazyLoadPanel, nothing else works until it finishes loading
That helps a lot. Thanks. On Wed, Nov 24, 2010 at 11:47 PM, jwray jwray.deve...@gmail.com wrote: The page will block until the panel is loaded. There are a number of threads discussing this. Here are a couple of gists that allow panel content to be loaded in an asynchronous manner in another thread, thus making the UI appear non-blocking. https://gist.github.com/594468 https://gist.github.com/636875 hope you find them useful. Jonny -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-nothing-else-works-until-it-finishes-loading-tp2322202p3058132.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 -- []'s Avraham Rosenzweig avrah...@gmail.com
Re: Shared message property file not working on 1.4
Another possibility is that had your own IStringResourceLoader registered via getResourceSettings().addStringResourceLoader(new MyResourceLoader())? Ernesto On Thu, Nov 25, 2010 at 10:57 AM, andrea.castello a.castello.pronet...@gmail.com wrote: Hi, Martin Grigorov-4 wrote: What is the relation between CarMessages.java (if there is such file) and CarDetail.java ? Does the one extend/implement the other ? On Thu, Nov 25, 2010 at 10:11 AM, adam.gibbons adam.s.gibb...@gmail.comwrote: There's no CarMessages.java, just the two I mentioned, which are not apparently related (that surprieses me a bit) CarDetail extends a generic DetailPanel class (which extends Wicket's panel), while CarListPage extends a genric ListPage...so apparently no relation between the two. I wonder how they could work with just the Carmessages.properties resource...anyway. How can I use package resource? Is there a convention to do it in 1.4? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058686.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: Shared message property file not working on 1.4
you can use com/example/something/package.properties or MyApplication.properties (global) On Thu, Nov 25, 2010 at 11:12 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Another possibility is that had your own IStringResourceLoader registered via getResourceSettings().addStringResourceLoader(new MyResourceLoader())? Ernesto On Thu, Nov 25, 2010 at 10:57 AM, andrea.castello a.castello.pronet...@gmail.com wrote: Hi, Martin Grigorov-4 wrote: What is the relation between CarMessages.java (if there is such file) and CarDetail.java ? Does the one extend/implement the other ? On Thu, Nov 25, 2010 at 10:11 AM, adam.gibbons adam.s.gibb...@gmail.comwrote: There's no CarMessages.java, just the two I mentioned, which are not apparently related (that surprieses me a bit) CarDetail extends a generic DetailPanel class (which extends Wicket's panel), while CarListPage extends a genric ListPage...so apparently no relation between the two. I wonder how they could work with just the Carmessages.properties resource...anyway. How can I use package resource? Is there a convention to do it in 1.4? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058686.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
visural-wicket 0.6.5 released!
Hi all, It's a little overdue, but the next release of the visural-wicket component library is now available. For a detailed list of the enhancements / fixes in this release - http://www.richardnichols.net/2010/11/visural-wicket-0-6-5-release-is-available/ http://www.richardnichols.net/2010/11/visural-wicket-0-6-5-release-is-available/Or if you're just after the download - http://code.google.com/p/visural-wicket/downloads/detail?name=visural-wicket-0.6.5.zip Hope you find it useful - please let me know if you discover any problems with this release. cheers, Rich -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects
Hi, I'm on wicket (core extension) 1.4.12 (Wicket Spring IOC 1.5-M1). On the following scenario I get the error trace : java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects at org.apache.wicket.spring.SpringBeanLocator.getBeanType(SpringBeanLocator.java:222) at org.apache.wicket.spring.SpringBeanLocator.locateProxyTarget(SpringBeanLocator.java:243) at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:317) at WICKET_com.neurosys.pms.site.wicket.model.ProductSortableDataProvider$$EnhancerByCGLIB$$b2f1a79d.detach(generated) at org.apache.wicket.markup.repeater.data.DataViewBase.onDetach(DataViewBase.java:150) at org.apache.wicket.extensions.markup.html.repeater.data.grid.AbstractDataGridView.onDetach(AbstractDataGridView.java:159) at org.apache.wicket.Component.detach(Component.java:1221) at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680) at org.apache.wicket.Component.detach(Component.java:1243) at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680) at org.apache.wicket.Component.detach(Component.java:1243) at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680) at org.apache.wicket.Component.detach(Component.java:1243) at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680) at org.apache.wicket.Component.detach(Component.java:1243) at org.apache.wicket.request.target.component.PageRequestTarget.detach(PageRequestTarget.java:80) at org.apache.wicket.RequestCycle.detach(RequestCycle.java:1122) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1462) ... ... I have a DataTree, (mentioned in http://apache-wicket.1842946.n4.nabble.com/Ajax-Panel-Update-td3057421.html - Ajax Panel Update). On clicking a node, it refreshes an adjacent Panel (Lets call it PRODUCT LISTING). On that Adjacent panel, when I click on an entry It create a popup using pseudo-code : Link link = new BookmarkablePageLink (id, productDetails.class, params); link.setPopupSettings(PopupSettings Object); On onInitialize of the panel PRODUCT LISTING ; uses a DataProvider that detaches. It is here where this exception gets generates. As is evident from the Trace. I found that org/apache/wicket/util/lang/WicketObjects is not there in any of the Wicket/Wicket-Spring JAR's I have. Any clues on this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-NoClassDefFoundError-org-apache-wicket-util-lang-WicketObjects-tp3058851p3058851.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: java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects
Why do you mix versions of libraries ?! Stick with either 1.4.12 or 1.5-M1 (even better 1.5-M3) On Thu, Nov 25, 2010 at 12:49 PM, Arjun Dhar dhar...@yahoo.com wrote: Hi, I'm on wicket (core extension) 1.4.12 (Wicket Spring IOC 1.5-M1). On the following scenario I get the error trace : java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects at org.apache.wicket.spring.SpringBeanLocator.getBeanType(SpringBeanLocator.java:222) at org.apache.wicket.spring.SpringBeanLocator.locateProxyTarget(SpringBeanLocator.java:243) at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:317) at WICKET_com.neurosys.pms.site.wicket.model.ProductSortableDataProvider$$EnhancerByCGLIB$$b2f1a79d.detach(generated) at org.apache.wicket.markup.repeater.data.DataViewBase.onDetach(DataViewBase.java:150) at org.apache.wicket.extensions.markup.html.repeater.data.grid.AbstractDataGridView.onDetach(AbstractDataGridView.java:159) at org.apache.wicket.Component.detach(Component.java:1221) at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680) at org.apache.wicket.Component.detach(Component.java:1243) at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680) at org.apache.wicket.Component.detach(Component.java:1243) at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680) at org.apache.wicket.Component.detach(Component.java:1243) at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680) at org.apache.wicket.Component.detach(Component.java:1243) at org.apache.wicket.request.target.component.PageRequestTarget.detach(PageRequestTarget.java:80) at org.apache.wicket.RequestCycle.detach(RequestCycle.java:1122) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1462) ... ... I have a DataTree, (mentioned in http://apache-wicket.1842946.n4.nabble.com/Ajax-Panel-Update-td3057421.html - Ajax Panel Update). On clicking a node, it refreshes an adjacent Panel (Lets call it PRODUCT LISTING). On that Adjacent panel, when I click on an entry It create a popup using pseudo-code : Link link = new BookmarkablePageLink (id, productDetails.class, params); link.setPopupSettings(PopupSettings Object); On onInitialize of the panel PRODUCT LISTING ; uses a DataProvider that detaches. It is here where this exception gets generates. As is evident from the Trace. I found that org/apache/wicket/util/lang/WicketObjects is not there in any of the Wicket/Wicket-Spring JAR's I have. Any clues on this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-NoClassDefFoundError-org-apache-wicket-util-lang-WicketObjects-tp3058851p3058851.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: java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects
Oh! ..Coz I'm silly to have assumed that the Spring+IOC versioning was somehow independent of Wicket Core+Extensions and until now it never bit me. Thanks for pointing it out :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-NoClassDefFoundError-org-apache-wicket-util-lang-WicketObjects-tp3058851p3058870.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: visural-wicket 0.6.5 released!
Thanks . I have always found this library very useful. On Thu, Nov 25, 2010 at 2:27 PM, Richard Nichols r...@visural.com wrote: Hi all, It's a little overdue, but the next release of the visural-wicket component library is now available. For a detailed list of the enhancements / fixes in this release - http://www.richardnichols.net/2010/11/visural-wicket-0-6-5-release-is-available/ http://www.richardnichols.net/2010/11/visural-wicket-0-6-5-release-is-available/ Or if you're just after the download - http://code.google.com/p/visural-wicket/downloads/detail?name=visural-wicket-0.6.5.zip Hope you find it useful - please let me know if you discover any problems with this release. cheers, Rich -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: Announcing the Topicus Dashboard
For people who want to try the dashboard, it depends on a patched version of WiQuery, which fixes several problems found in the official 1.1 release. You can find this version of WiQuery at https://github.com/papegaaij/wiquery . It requires a very recent, webkit-based browser to run. We recommend Safari (best with webkit-nightly) or a Chromium daily build. Plain Safari works quite well, but with some minor issues. Google Chrome is able to display the page, but most of the effects do not work well. Emond Papegaaij On Thursday 25 November 2010 01:28:08 Martijn Dashorst wrote: The Topicus Dashboard is an information radiator showing build status, production server status, twitter timeline, train departure times, important events and much more. The Atlassian folks are running a competition for the Ultimate Wallboard and we (Topicus) just submitted our entry for the competition: the Topicus Dashboard. If you like our dashboard, you are welcome to vote for it and help us win the 55 flatscreen display in the Atlassian (known for JIRA and Confluence) Ultimate Wallboard Competition: http://ultimatewallboard.com/entries/91860 The entry sports a movie (the guy in the picture is Emond, a co-worker at Topicus) As we like to share our innovations we hosted our dashboard on github, and you are free to run the software and modify it for your own use (or your customers). The software is currently licensed using the GPL 3. The project can be found here: https://github.com/dashorst/dashboard Most of the credits for this project go to Emond Papegaaij (and if you find a bug, call him, not me :) On behalf of the dashboard developers, Martijn Dashorst PS. Really: please vote and let us win the big screen TV! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: visural-wicket 0.6.5 released!
Looks good. Thanks for your work. P.S.: Whoa! And with examples too! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: visural-wicket 0.6.5 released!
I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just contain pragmatic without strong empty white line? Ah, forget it. At least you did not add banner on the top of all of that :) -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
nested form in FormComponentPanel validation issue
Hi I've an AddressEdit which is a FormComponentPanel The addressEdit is composed of two parts: a structured address and a displayed text. The displayed text can be generated from the structured address (provided the structured address is valid, meaning it has all its field apart from the Additional address line which is optional); through a button. When submiting the form with the AddressEdit, it then tries to compose itself based on : - the structured address (with some validation rules, like either it's null either it's valid, done through a FormValidator) - the displayed text (always required) Currently, due to the need of having to generate the displayed text from the structured address, the structured address part is put in a (nested) form. As such, I run into this issue: convertInput of AddressEdit is called before the nested form is validated and has converted its own input I tried various workaround, but none was good enough to my taste. What would you suggest ? ++ -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 506 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister Freiburg i.Br., HRB 3947 Registrieren Sie sich unter https://www.thomas-daily.de/user/sign-in für die TD Morning News, eine kostenlose Auswahl aktueller Themen aus TD Premium, morgens ab 9:15 in Ihrer Mailbox. Aktuelle Presseinformationen für die TD Morning News und TD Premium nimmt unsere Redaktion unter redakt...@thomas-daily.de entgegen. Redaktionsschluss für die TD Morning News ist täglich um 8:45. Register free of charge at https://www.thomas-daily.de/user/sign-in to have the TD Morning News, a selection of the latest topics from TD Premium, delivered to your mailbox from 9:15 every morning. Our editorial department receives the latest press releases for the TD Morning News and TD Premium at redakt...@thomas-daily.de. The editorial deadline for the TD Morning News is 8.45am daily. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Invalid html rendered with DataTable [ex. empty tfoot element]
Hi all, If you use DataTables, when the bottomToolBars view has no items to render, the markup exported is invalid: table thead /thead tfoot /tfoot tbody ... ... /tbody /table I suppose the same happens with the thead. thead and tfoot tags can't be empty. I have overridden the class and manually added in the markup file tr style=display: none;td/td/tr in both thead and tfoot of the source file above the wicket:container ... tags. Works but you knowNot elegant. Enclosure containers should be used on the thead/tfoot tags defining their children as the top/bottom toolbar repeating views. Regards, Poko
need help with spring annotations
Hi there, I was wondering if anyone could help me with spring annotations, I seem to have having some problems. I'm trying to inject my UserService into a CustomAuthenticatedWebSession I wrote to do validation for my pages. I get a NPE when I hit any page because my bean does not seem to have been injected. Here's my AuthenticatedWebSession Class: public class CustomAuthenticatedWebSession extends AuthenticatedWebSession{ private static final long serialVersionUID = 4713195500103052768L; @SpringBean(name=userService) transient private UserService userService; public void setUserService(final UserService userService){ this.userService = userService; } transient private String currentUser = null; public CustomAuthenticatedWebSession(final Request request){ super(request); } @Override public boolean authenticate(final String username, final String password){ currentUser = username; return userService.authenticate(username, password); } @Override public Roles getRoles(){ return userService.getRoles(currentUser, isSignedIn()); } } my applicationContext.xml file: ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:aop=http://www.springframework.org/schema/aop; xmlns:tx=http://www.springframework.org/schema/tx; xmlns:context=http://www.springframework.org/schema/context; xsi:schemaLocation= http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd bean id=wicketApplication class=uk.co.company.product.presentation.wicket.app.WicketApplication / bean id=placeholderConfigurer class=org.springframework.beans.factory.config.PropertyPlaceholderConfigurer property name=ignoreUnresolvablePlaceholders value=false / property name=systemPropertiesModeName value=SYSTEM_PROPERTIES_MODE_OVERRIDE / property name=ignoreResourceNotFound value=false / property name=locations list valueclasspath*:/application.properties/value /list /property /bean bean id=dataSource class=org.springframework.jdbc.datasource.DriverManagerDataSource property name=driverClassNamevalue${jdbc.driver}/value/property property name=urlvalue${jdbc.url}/value/property property name=usernamevalue${jdbc.username}/value/property property name=passwordvalue${jdbc.password}/value/property /bean tx:annotation-driven transaction-manager=txManager / bean id=txManager class=org.springframework.orm.hibernate3.HibernateTransactionManager property name=sessionFactory ref bean=sessionFactory / /property /bean !-- bean id=interceptor class=org.springframework.orm.hibernate3.HibernateInterceptor /bean -- bean id=sessionFactory class=org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean property name=dataSource ref=dataSource / property name=hibernateProperties props !-- prop key=hibernate.hbm2ddl.autocreate/prop -- prop key=hibernate.dialect${hibernate.dialect}/prop prop key=hibernate.connection.pool_size5/prop prop key=hibernate.current_session_context_classthread/prop prop key=hibernate.show_sqltrue/prop prop key=hibernate.cglib.use_reflection_optimizertrue/prop prop key=hibernate.cache.provider_classorg.hibernate.cache.EhCacheProvider/prop prop key=hibernate.hibernate.cache.use_query_cachetrue/prop /props /property !-- property name=entityInterceptorref bean=interceptor //property -- property name=packagesToScanlist valueuk.co.company.product.persistance.hibernate/value /list/property /bean context:component-scan base-package=uk.co.company.product / /beans and web.xml ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd version=2.4 display-nameZenTemplate/display-name context-param param-namecontextConfigLocation/param-name param-valueclasspath:applicationContext.xml/param-value /context-param listener
Re: need help with spring annotations
The explanation is that Wicket injection magic only works for components: at other places you have to call the magic yourself:-) Ernesto P.S. Would it make sense to put you service at application level and make session fetch it from there? On Thu, Nov 25, 2010 at 2:39 PM, adam.gibbons adam.s.gibb...@gmail.com wrote: It worked!! Thank you sooo much!! \(^_^)/ On 25 November 2010 13:36, Ernesto Reinaldo Barreiro-4 [via Apache Wicket] ml-node+3058948-296965573-201...@n4.nabble.comml-node%2b3058948-296965573-201...@n4.nabble.com wrote: Can you try adding line InjectorHolder.getInjector().inject(this); on CustomAuthenticatedWebSession constructor? Ernesto On Thu, Nov 25, 2010 at 2:31 PM, Adam Gibbons [hidden email]http://user/SendEmail.jtp?type=nodenode=3058948i=0 wrote: Hi there, I was wondering if anyone could help me with spring annotations, I seem to have having some problems. I'm trying to inject my UserService into a CustomAuthenticatedWebSession I wrote to do validation for my pages. I get a NPE when I hit any page because my bean does not seem to have been injected. Here's my AuthenticatedWebSession Class: public class CustomAuthenticatedWebSession extends AuthenticatedWebSession{ private static final long serialVersionUID = 4713195500103052768L; �...@springbean(name=userService) transient private UserService userService; public void setUserService(final UserService userService){ this.userService = userService; } transient private String currentUser = null; public CustomAuthenticatedWebSession(final Request request){ super(request); } �...@override public boolean authenticate(final String username, final String password){ currentUser = username; return userService.authenticate(username, password); } �...@override public Roles getRoles(){ return userService.getRoles(currentUser, isSignedIn()); } } my applicationContext.xml file: ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:aop=http://www.springframework.org/schema/aop; xmlns:tx=http://www.springframework.org/schema/tx; xmlns:context=http://www.springframework.org/schema/context; xsi:schemaLocation= http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd bean id=wicketApplication class=uk.co.company.product.presentation.wicket.app.WicketApplication / bean id=placeholderConfigurer class=org.springframework.beans.factory.config.PropertyPlaceholderConfigurer property name=ignoreUnresolvablePlaceholders value=false / property name=systemPropertiesModeName value=SYSTEM_PROPERTIES_MODE_OVERRIDE / property name=ignoreResourceNotFound value=false / property name=locations list valueclasspath*:/application.properties/value /list /property /bean bean id=dataSource class=org.springframework.jdbc.datasource.DriverManagerDataSource property name=driverClassNamevalue${jdbc.driver}/value/property property name=urlvalue${jdbc.url}/value/property property name=usernamevalue${jdbc.username}/value/property property name=passwordvalue${jdbc.password}/value/property /bean tx:annotation-driven transaction-manager=txManager / bean id=txManager class=org.springframework.orm.hibernate3.HibernateTransactionManager property name=sessionFactory ref bean=sessionFactory / /property /bean !-- bean id=interceptor class=org.springframework.orm.hibernate3.HibernateInterceptor /bean -- bean id=sessionFactory class=org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean property name=dataSource ref=dataSource / property name=hibernateProperties props !-- prop key=hibernate.hbm2ddl.autocreate/prop -- prop key=hibernate.dialect${hibernate.dialect}/prop prop key=hibernate.connection.pool_size5/prop prop key=hibernate.current_session_context_classthread/prop prop key=hibernate.show_sqltrue/prop prop key=hibernate.cglib.use_reflection_optimizertrue/prop prop key=hibernate.cache.provider_classorg.hibernate.cache.EhCacheProvider/prop
Re: need help with spring annotations
I guess if the Application is a singleton I could use it as a ServiceLocator. Might be better than injecting the bean over and over again in CustomAuthenticatedWebSession. Most of the wicket objects seem to have a getApplication method so it might be a nice way of handling my services for future wicket development. On 25 November 2010 13:48, Ernesto Reinaldo Barreiro-4 [via Apache Wicket] ml-node+3058965-695450474-201...@n4.nabble.comml-node%2b3058965-695450474-201...@n4.nabble.com wrote: The explanation is that Wicket injection magic only works for components: at other places you have to call the magic yourself:-) Ernesto P.S. Would it make sense to put you service at application level and make session fetch it from there? On Thu, Nov 25, 2010 at 2:39 PM, adam.gibbons [hidden email]http://user/SendEmail.jtp?type=nodenode=3058965i=0 wrote: It worked!! Thank you sooo much!! \(^_^)/ On 25 November 2010 13:36, Ernesto Reinaldo Barreiro-4 [via Apache Wicket] [hidden email] http://user/SendEmail.jtp?type=nodenode=3058965i=1[hidden email] http://user/SendEmail.jtp?type=nodenode=3058965i=2 wrote: Can you try adding line InjectorHolder.getInjector().inject(this); on CustomAuthenticatedWebSession constructor? Ernesto On Thu, Nov 25, 2010 at 2:31 PM, Adam Gibbons [hidden email] http://user/SendEmail.jtp?type=nodenode=3058948i=0 wrote: Hi there, I was wondering if anyone could help me with spring annotations, I seem to have having some problems. I'm trying to inject my UserService into a CustomAuthenticatedWebSession I wrote to do validation for my pages. I get a NPE when I hit any page because my bean does not seem to have been injected. Here's my AuthenticatedWebSession Class: public class CustomAuthenticatedWebSession extends AuthenticatedWebSession{ private static final long serialVersionUID = 4713195500103052768L; @SpringBean(name=userService) transient private UserService userService; public void setUserService(final UserService userService){ this.userService = userService; } transient private String currentUser = null; public CustomAuthenticatedWebSession(final Request request){ super(request); } @Override public boolean authenticate(final String username, final String password){ currentUser = username; return userService.authenticate(username, password); } @Override public Roles getRoles(){ return userService.getRoles(currentUser, isSignedIn()); } } my applicationContext.xml file: ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:aop=http://www.springframework.org/schema/aop; xmlns:tx=http://www.springframework.org/schema/tx; xmlns:context=http://www.springframework.org/schema/context; xsi:schemaLocation= http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd bean id=wicketApplication class=uk.co.company.product.presentation.wicket.app.WicketApplication / bean id=placeholderConfigurer class=org.springframework.beans.factory.config.PropertyPlaceholderConfigurer property name=ignoreUnresolvablePlaceholders value=false / property name=systemPropertiesModeName value=SYSTEM_PROPERTIES_MODE_OVERRIDE / property name=ignoreResourceNotFound value=false / property name=locations list valueclasspath*:/application.properties/value /list /property /bean bean id=dataSource class=org.springframework.jdbc.datasource.DriverManagerDataSource property name=driverClassNamevalue${jdbc.driver}/value/property property name=urlvalue${jdbc.url}/value/property property name=usernamevalue${jdbc.username}/value/property property name=passwordvalue${jdbc.password}/value/property /bean tx:annotation-driven transaction-manager=txManager / bean id=txManager class=org.springframework.orm.hibernate3.HibernateTransactionManager property name=sessionFactory ref bean=sessionFactory / /property /bean !-- bean id=interceptor class=org.springframework.orm.hibernate3.HibernateInterceptor /bean -- bean
Re: need help with spring annotations
Hello, �...@springbean(name=userService) transient private UserService userService; Do not use injected beans as transient fields, because it will produce that the field is not serialized and thus the reference will be null after the page is hydrated. If you mark fields with @SpringBean, Wicket will automatically inject a serializable proxy that can be reconstructed after hydratation. HTH. Regards. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Preventing user input script-injection attacks
If a user has entered some HTML in a TextField or TextAreaString when I do not want HTML to be entered, what is a good way to prevent this? Currently, I store the offending strings and then render them using a Label or MultiLineLabel, but for neither component does Component.setEscapeModelStrings(true); have an effect (presumably since this setting is already true by default). Am I condemned to coding a method to examine the models of my TextField and TextAreaString components at form-submission-time and remove any HTML code manually? Any comments would be appreciated, Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059119.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: need help with spring annotations
Oh thanks for the tip! I've corrected that now. :) How do you inject Hibernate DAOs into your Spring Services using annotations? Is that possible? I also seem to be having some problems with the sessionFactory being inject into the DAOs. Any ideas? Services are there now though, yay :) On 25 November 2010 14:46, Mauro Ciancio [via Apache Wicket] ml-node+3059075-939733042-201...@n4.nabble.comml-node%2b3059075-939733042-201...@n4.nabble.com wrote: Hello, @SpringBean(name=userService) transient private UserService userService; Do not use injected beans as transient fields, because it will produce that the field is not serialized and thus the reference will be null after the page is hydrated. If you mark fields with @SpringBean, Wicket will automatically inject a serializable proxy that can be reconstructed after hydratation. HTH. Regards. -- Mauro Ciancio - To unsubscribe, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=3059075i=0 For additional commands, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=3059075i=1 -- View message @ http://apache-wicket.1842946.n4.nabble.com/need-help-with-spring-annotations-tp3058944p3059075.html To start a new topic under Apache Wicket, email ml-node+1842946-1499480286-201...@n4.nabble.comml-node%2b1842946-1499480286-201...@n4.nabble.com To unsubscribe from Apache Wicket, click herehttp://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=1842946code=YWRhbS5zLmdpYmJvbnNAZ21haWwuY29tfDE4NDI5NDZ8LTUzNzMyMDU4OQ==. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/need-help-with-spring-annotations-tp3058944p3059121.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: need help with spring annotations
Hi, How do you inject Hibernate DAOs into your Spring Services using annotations? Is that possible? I also seem to be having some problems with the sessionFactory being inject into the DAOs. Any ideas? That is configured with Spring, doesn't depends on Wicket at all. I usually configure dependencies in XML files but AFAIR you can use @Autowired annotation. Regards. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Preventing user input script-injection attacks
Hi! I think there are libraries that can provide you with scripting detection or escaping... However, I do not want HTML to be entered is quite vaque rule. Even plain alphabets are html. ** Martin 2010/11/25 Ian Marshall ianmarshall...@gmail.com: If a user has entered some HTML in a TextField or TextAreaString when I do not want HTML to be entered, what is a good way to prevent this? Currently, I store the offending strings and then render them using a Label or MultiLineLabel, but for neither component does Component.setEscapeModelStrings(true); have an effect (presumably since this setting is already true by default). Am I condemned to coding a method to examine the models of my TextField and TextAreaString components at form-submission-time and remove any HTML code manually? Any comments would be appreciated, Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059119.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: Preventing user input script-injection attacks
Am 2010-11-25 16:15, schrieb Ian Marshall: If a user has entered some HTML in a TextField or TextAreaString when I do not want HTML to be entered, what is a good way to prevent this? In our project we are using OWASP Antisamy to prevent XSS attacks. It is easy to use, has a couple templates (slashdot, ebay,..) and works like a charm. http://www.owasp.org/index.php/Category:OWASP_AntiSamy_Project http://code.google.com/p/owaspantisamy/ Regards, Patrick - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Preventing user input script-injection attacks
Sorry about that. By I do not want HTML to be entered I meant character strings which are rendered by a browser additional to, or instead of, being displayed as that character string. Examples are: !-- /body onclick='[Some nasty JavaScript]'; Basically, I want to remove nasty code being injected into future rendered HTML by user input. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059321.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: Preventing user input script-injection attacks
Thanks for that, Patrick. I'll take a look at these tomorrow to see what they have got. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059322.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: Preventing user input script-injection attacks
wicket should already escape the markup for you. please provide a quickstart where it is not doing it. -igor On Thu, Nov 25, 2010 at 7:15 AM, Ian Marshall ianmarshall...@gmail.com wrote: If a user has entered some HTML in a TextField or TextAreaString when I do not want HTML to be entered, what is a good way to prevent this? Currently, I store the offending strings and then render them using a Label or MultiLineLabel, but for neither component does Component.setEscapeModelStrings(true); have an effect (presumably since this setting is already true by default). Am I condemned to coding a method to examine the models of my TextField and TextAreaString components at form-submission-time and remove any HTML code manually? Any comments would be appreciated, Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059119.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: visural-wicket 0.6.5 released!
Great library. I always expected more of these since component creation and reuse is one of Wickets a key strengths. What I like about this lib is it's clean and finished. There is no feeling of immaturity or of a project that has died off. On Thu, Nov 25, 2010 at 2:02 PM, alex shubert alex.shub...@gmail.comwrote: I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just contain pragmatic without strong empty white line? Ah, forget it. At least you did not add banner on the top of all of that :) -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: nested form in FormComponentPanel validation issue
addressedit should be composing itself in its convertinput() method based on the converted input of the subcomponents. -igor On Thu, Nov 25, 2010 at 5:07 AM, Joseph Pachod j...@thomas-daily.de wrote: Hi I've an AddressEdit which is a FormComponentPanel The addressEdit is composed of two parts: a structured address and a displayed text. The displayed text can be generated from the structured address (provided the structured address is valid, meaning it has all its field apart from the Additional address line which is optional); through a button. When submiting the form with the AddressEdit, it then tries to compose itself based on : - the structured address (with some validation rules, like either it's null either it's valid, done through a FormValidator) - the displayed text (always required) Currently, due to the need of having to generate the displayed text from the structured address, the structured address part is put in a (nested) form. As such, I run into this issue: convertInput of AddressEdit is called before the nested form is validated and has converted its own input I tried various workaround, but none was good enough to my taste. What would you suggest ? ++ -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 506 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister Freiburg i.Br., HRB 3947 Registrieren Sie sich unter https://www.thomas-daily.de/user/sign-in für die TD Morning News, eine kostenlose Auswahl aktueller Themen aus TD Premium, morgens ab 9:15 in Ihrer Mailbox. Aktuelle Presseinformationen für die TD Morning News und TD Premium nimmt unsere Redaktion unter redakt...@thomas-daily.de entgegen. Redaktionsschluss für die TD Morning News ist täglich um 8:45. Register free of charge at https://www.thomas-daily.de/user/sign-in to have the TD Morning News, a selection of the latest topics from TD Premium, delivered to your mailbox from 9:15 every morning. Our editorial department receives the latest press releases for the TD Morning News and TD Premium at redakt...@thomas-daily.de. The editorial deadline for the TD Morning News is 8.45am daily. - 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: Invalid html rendered with DataTable [ex. empty tfoot element]
mind specifying which wicket version you are using? -igor On Thu, Nov 25, 2010 at 5:17 AM, Poko Booth poko.bo...@gmail.com wrote: Hi all, If you use DataTables, when the bottomToolBars view has no items to render, the markup exported is invalid: table thead /thead tfoot /tfoot tbody ... ... /tbody /table I suppose the same happens with the thead. thead and tfoot tags can't be empty. I have overridden the class and manually added in the markup file tr style=display: none;td/td/tr in both thead and tfoot of the source file above the wicket:container ... tags. Works but you knowNot elegant. Enclosure containers should be used on the thead/tfoot tags defining their children as the top/bottom toolbar repeating views. Regards, Poko - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: visural-wicket 0.6.5 released!
Thanks for all the positive comments :) If anyone has any suggestions / ideas for the next release (0.7) then let me know. Currently the only things on the RoadMap, are Wicket 1.5 support and some refactoring on the DropDown control (which has become a bit of a maintenance time-sink). cheers, RIch On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle markjohndo...@googlemail.comwrote: Great library. I always expected more of these since component creation and reuse is one of Wickets a key strengths. What I like about this lib is it's clean and finished. There is no feeling of immaturity or of a project that has died off. On Thu, Nov 25, 2010 at 2:02 PM, alex shubert alex.shub...@gmail.com wrote: I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just contain pragmatic without strong empty white line? Ah, forget it. At least you did not add banner on the top of all of that :) -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: visural-wicket 0.6.5 released!
maven repo is not working On Thu, Nov 25, 2010 at 9:19 PM, Richard Nichols r...@visural.com wrote: Thanks for all the positive comments :) If anyone has any suggestions / ideas for the next release (0.7) then let me know. Currently the only things on the RoadMap, are Wicket 1.5 support and some refactoring on the DropDown control (which has become a bit of a maintenance time-sink). cheers, RIch On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle markjohndo...@googlemail.com wrote: Great library. I always expected more of these since component creation and reuse is one of Wickets a key strengths. What I like about this lib is it's clean and finished. There is no feeling of immaturity or of a project that has died off. On Thu, Nov 25, 2010 at 2:02 PM, alex shubert alex.shub...@gmail.com wrote: I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just contain pragmatic without strong empty white line? Ah, forget it. At least you did not add banner on the top of all of that :) -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ -- Best regards, Paul Szulc http://www.paulszulc.com
Re: visural-wicket 0.6.5 released!
What error are you getting? It may be related to my separating the visural-common dependency from the main visural-wicket JAR. On Fri, Nov 26, 2010 at 8:56 AM, Paul Szulc paul.sz...@gmail.com wrote: maven repo is not working On Thu, Nov 25, 2010 at 9:19 PM, Richard Nichols r...@visural.com wrote: Thanks for all the positive comments :) If anyone has any suggestions / ideas for the next release (0.7) then let me know. Currently the only things on the RoadMap, are Wicket 1.5 support and some refactoring on the DropDown control (which has become a bit of a maintenance time-sink). cheers, RIch On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle markjohndo...@googlemail.com wrote: Great library. I always expected more of these since component creation and reuse is one of Wickets a key strengths. What I like about this lib is it's clean and finished. There is no feeling of immaturity or of a project that has died off. On Thu, Nov 25, 2010 at 2:02 PM, alex shubert alex.shub...@gmail.com wrote: I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just contain pragmatic without strong empty white line? Ah, forget it. At least you did not add banner on the top of all of that :) -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ -- Best regards, Paul Szulc http://www.paulszulc.com -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: Invalid html rendered with DataTable [ex. empty tfoot element]
I'm using 1.4.12 Regards, Poko On Nov 25, 2010, at 9:28 PM, Igor Vaynberg wrote: mind specifying which wicket version you are using? -igor On Thu, Nov 25, 2010 at 5:17 AM, Poko Booth poko.bo...@gmail.com wrote: Hi all, If you use DataTables, when the bottomToolBars view has no items to render, the markup exported is invalid: table thead /thead tfoot /tfoot tbody ... ... /tbody /table I suppose the same happens with the thead. thead and tfoot tags can't be empty. I have overridden the class and manually added in the markup file tr style=display: none;td/td/tr in both thead and tfoot of the source file above the wicket:container ... tags. Works but you knowNot elegant. Enclosure containers should be used on the thead/tfoot tags defining their children as the top/bottom toolbar repeating views. Regards, Poko - 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: Preventing user input script-injection attacks
You can also try to use: http://nekohtml.sourceforge.net/ W dniu 2010-11-25 18:39, Ian Marshall pisze: Thanks for that, Patrick. I'll take a look at these tomorrow to see what they have got. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: visural-wicket 0.6.5 released!
Visural is very good library! Thank you for it! I would welcome for the next release maven integration. 2010/11/25 Richard Nichols r...@visural.com: Thanks for all the positive comments :) If anyone has any suggestions / ideas for the next release (0.7) then let me know. Currently the only things on the RoadMap, are Wicket 1.5 support and some refactoring on the DropDown control (which has become a bit of a maintenance time-sink). cheers, RIch On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle markjohndo...@googlemail.comwrote: Great library. I always expected more of these since component creation and reuse is one of Wickets a key strengths. What I like about this lib is it's clean and finished. There is no feeling of immaturity or of a project that has died off. On Thu, Nov 25, 2010 at 2:02 PM, alex shubert alex.shub...@gmail.com wrote: I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just contain pragmatic without strong empty white line? Ah, forget it. At least you did not add banner on the top of all of that :) -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org