wicket 6.x add additional folder
Hi, I stick to wicket 1.5.4 for quite a long while. I used to getResourceSettings().addResourceFolder( folderName ) in app init() to achieve adding additional folder. However, I don't see API 6.x has such as a method in ResourceSettings. Do I miss something? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-6-x-add-additional-folder-tp4656212.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: Eclipse JRE 1.5
Also upgrade your maven-eclipse-plugin to use 2.9. Works much better on OS X. Martijn On Fri, Feb 8, 2013 at 12:08 AM, Stephen Walsh step...@connectwithawalsh.com wrote: This was the answer, Gabriel! Because my computer only has one JRE (1.6 with dev docs) installed, Eclipse was using it, but it appeared as though I was using 1.5. This minor change to my pom.xml solved it though! Thank you! ___ Stephen Walsh | http://connectwithawalsh.com On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon glan...@piti.pf wrote: Hi Stephen, This did happen to me once! Did you check in your pom.xml that your source and target attributes are 1.6 ? plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.5.1/version configuration * source1.6/source target1.6/target* optimizetrue/optimize debugtrue/debug showDeprecationtrue/showDeprecation showWarningstrue/showWarnings /configuration /plugin Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.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 -- 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: wicket 6.x add additional folder
getResourceSettings().getResourceFinders().add(your IResourceFinder); exemple: getResourceSettings().getResourceFinders().add(new WebApplicationPath(getServletContext(), some/path)); more on https://cwiki.apache.org/WICKET/migration-to-wicket-60.html François Le 9 févr. 2013 à 11:00, always_rick sh...@hotmail.com a écrit : Hi, I stick to wicket 1.5.4 for quite a long while. I used to getResourceSettings().addResourceFolder( folderName ) in app init() to achieve adding additional folder. However, I don't see API 6.x has such as a method in ResourceSettings. Do I miss something? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-6-x-add-additional-folder-tp4656212.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: wicket 6.x add additional folder
Thanks a lot. Sorry for my careless reading... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-6-x-add-additional-folder-tp4656212p4656215.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
Loadable non-detachable list model for listView
Hi, is there any way to create non-detachable objects model for list view? I want to load actual objects from database for listview items, so I will be able to modify them without reloading. Let say: If I use as my listView model I will not be able to delete them right away like this I will get an exception that object is detached. So if I want to delete it, I need to reload it from DB. Is there any way to load non-detached model object? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Loadable-non-detachable-list-model-for-listView-tp4656216.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: Eclipse JRE 1.5
Looked like there were some other items I needed to upgrade as well: maven compiler plugin, junit. There was one called sfl40j or similar. What is this used for? Thanks again for help! Learning a lot from you guys. Hope to contribute back once I really start understanding. New to java and wicket, so I'm very grateful. — Stephen Walsh On Sat, Feb 9, 2013 at 4:57 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: Also upgrade your maven-eclipse-plugin to use 2.9. Works much better on OS X. Martijn On Fri, Feb 8, 2013 at 12:08 AM, Stephen Walsh step...@connectwithawalsh.com wrote: This was the answer, Gabriel! Because my computer only has one JRE (1.6 with dev docs) installed, Eclipse was using it, but it appeared as though I was using 1.5. This minor change to my pom.xml solved it though! Thank you! ___ Stephen Walsh | http://connectwithawalsh.com On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon glan...@piti.pf wrote: Hi Stephen, This did happen to me once! Did you check in your pom.xml that your source and target attributes are 1.6 ? plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.5.1/version configuration * source1.6/source target1.6/target* optimizetrue/optimize debugtrue/debug showDeprecationtrue/showDeprecation showWarningstrue/showWarnings /configuration /plugin Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.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 -- 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: Loadable non-detachable list model for listView
You can use a model that is able to load the image object from the database by id: http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ Either you override ListView#getListItemModel() to return such a smart model or you use IDataProvider. Hope this helps Sven On 02/09/2013 02:05 PM, meduolis wrote: Hi, is there any way to create non-detachable objects model for list view? I want to load actual objects from database for listview items, so I will be able to modify them without reloading. Let say: If I use as my listView model I will not be able to delete them right away like this I will get an exception that object is detached. So if I want to delete it, I need to reload it from DB. Is there any way to load non-detached model object? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Loadable-non-detachable-list-model-for-listView-tp4656216.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: Eclipse JRE 1.5
slf4j is a project which allows a project to implement logging, and the user of that project to decide which actual logging implementation to use. See http://slf4j.org/ Met vriendelijke groet, Kind regards, Bas Gooren Op 9-2-2013 14:59, schreef Stephen Walsh: Looked like there were some other items I needed to upgrade as well: maven compiler plugin, junit. There was one called sfl40j or similar. What is this used for? Thanks again for help! Learning a lot from you guys. Hope to contribute back once I really start understanding. New to java and wicket, so I'm very grateful. — Stephen Walsh On Sat, Feb 9, 2013 at 4:57 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: Also upgrade your maven-eclipse-plugin to use 2.9. Works much better on OS X. Martijn On Fri, Feb 8, 2013 at 12:08 AM, Stephen Walsh step...@connectwithawalsh.com wrote: This was the answer, Gabriel! Because my computer only has one JRE (1.6 with dev docs) installed, Eclipse was using it, but it appeared as though I was using 1.5. This minor change to my pom.xml solved it though! Thank you! ___ Stephen Walsh | http://connectwithawalsh.com On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon glan...@piti.pf wrote: Hi Stephen, This did happen to me once! Did you check in your pom.xml that your source and target attributes are 1.6 ? plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.5.1/version configuration * source1.6/source target1.6/target* optimizetrue/optimize debugtrue/debug showDeprecationtrue/showDeprecation showWarningstrue/showWarnings /configuration /plugin Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.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 -- 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