Conversion Exception and unable to set object
I have 2 ListMultipleChoice boxes, i have selected both List items, and click the submit button, I got [15:10:44] ERROR unable to set object [ReportFields {reportFieldId='newhorizon_273',fieldName='Ship Speed', '}], model: Model:classname=[wicket.model.CompoundPropertyModel]:attached=true:nestedModel=[ReportFields {reportFieldId='null',fieldName='null', '}], called with component [MarkupContainer [Component id = leftReportFieldCombo, page = com.newhorizon.vrm.kernel.ui.page.MainPage, path = 13:content:submenu_content:tabsPanel:panel:filterWindow2:content:mappedbyFilterForm:leftReportFieldCombo.ListMultipleChoice, isVisible = true, isVersioned = false]] [wicket.RequestCycle] wicket.WicketRuntimeException: unable to set object [ReportFields {reportFieldId='newhorizon_273',fieldName='Ship Speed', '}], model: Model:classname=[wicket.model.CompoundPropertyModel]:attached=true:nestedModel=[ReportFields {reportFieldId='null',fieldName='null', '}], called with component [MarkupContainer [Component id = leftReportFieldCombo, page = com.newhorizon.vrm.kernel.ui.page.MainPage, path = 13:content:submenu_content:tabsPanel:panel:filterWindow2:content:mappedbyFilterForm:leftReportFieldCombo.ListMultipleChoice, isVisible = true, isVersioned = false]] Caused by: wicket.util.convert.ConversionException: Can't convert value: [ReportFields {reportFieldId='newhorizon_273',fieldName='Ship Speed', '}] to class: class com.newhorizon.vrm.kernel.domain.ReportFields for setting it on ReportFields {reportFieldId='null',fieldName='null', '} Please explain. -- View this message in context: http://www.nabble.com/Conversion-Exception-and-unable-to-set-object-tf4966507.html#a14227003 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: vertical TabbedPanel
That's not really a wicket thing. It's about how you style it, optionally you can provide alternative markup by subclassing it and creating new markup file for the subclass. -Matej On Dec 7, 2007 11:42 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi All, Have anybody here implemented a vertical TabbedPanel? I looked at wicket extension tabbedPanel but it doesn't have a property to render vertical one. Any help will be greatly appreciated. Regards, Allan -- The only constant in life is change. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [wicket-contrib-tinymce] Compile error from svn-project
You can follow what maven tells you :-) The problem is that the log4j version has been upgraded from 1.2.14 to 1.2.15 which has some new dependencies which are not in standard maven repo. I have asked the guy that committed it[1] about why he upgraded and if it would be possible to use the previous version instead. So what you could do yourself instead, is to change log4j version in the pom file. Regards, Frank [1]: http://markmail.org/message/x6vhmw7z5wa3c3cg On Dec 8, 2007 11:08 AM, Per Newgro [EMAIL PROTECTED] wrote: Hi *, i try to use the wicket-contrib-tinymce project from svn-server. I did a checkout. And a mvn clean compile. But in the end i got this. What can i do here? Cheers Per [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) com.sun.jdmk:jmxtools:jar:1.2.1 Try downloading the file manually from: http://java.sun.com/products/JavaManagement/download.html Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) com.sun.jdmk:jmxtools:jar:1.2.1 2) com.sun.jmx:jmxri:jar:1.2.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun.jmx -DartifactId=jmxri \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) com.sun.jmx:jmxri:jar:1.2.1 3) javax.jms:jms:jar:1.1 Try downloading the file manually from: http://java.sun.com/products/jms/docs.html Then, install it using the command: mvn install:install-file -DgroupId=javax.jms -DartifactId=jms \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) javax.jms:jms:jar:1.1 -- 3 required artifacts are missing. for artifact: org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), codeogre.com (http://repo.codeogre.com/archiva/repository/public/), wicketstuff.org (http://wicketstuff.org/maven/repository) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 minute 22 seconds [INFO] Finished at: Sat Dec 08 11:01:15 GMT+01:00 2007 [INFO] Final Memory: 11M/82M [INFO] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [wicket-contrib-tinymce] Compile error from svn-project
Damn licenses :o) -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Saturday, December 08, 2007 9:21 AM To: users@wicket.apache.org Subject: Re: [wicket-contrib-tinymce] Compile error from svn-project Not going to happen. Logback is LGPL licensed. Martijn On Dec 8, 2007 1:19 PM, William Hoover [EMAIL PROTECTED] wrote: Also, AFAIK any dependencies that fall under Sun's Binary License cannot be distributed by the central repository http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html IMHO, it would seem more natural if Wicket used logback (log4j successor) recommended by slf4j (http://www.slf4j.org/) documentation ( http://logback.qos.ch/). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frank Bille Sent: Saturday, December 08, 2007 6:10 AM To: users@wicket.apache.org Subject: Re: [wicket-contrib-tinymce] Compile error from svn-project You can follow what maven tells you :-) The problem is that the log4j version has been upgraded from 1.2.14 to 1.2.15 which has some new dependencies which are not in standard maven repo. I have asked the guy that committed it[1] about why he upgraded and if it would be possible to use the previous version instead. So what you could do yourself instead, is to change log4j version in the pom file. Regards, Frank [1]: http://markmail.org/message/x6vhmw7z5wa3c3cg On Dec 8, 2007 11:08 AM, Per Newgro [EMAIL PROTECTED] wrote: Hi *, i try to use the wicket-contrib-tinymce project from svn-server. I did a checkout. And a mvn clean compile. But in the end i got this. What can i do here? Cheers Per [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) com.sun.jdmk:jmxtools:jar:1.2.1 Try downloading the file manually from: http://java.sun.com/products/JavaManagement/download.html Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jdmk-DartifactId=jmxtools \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) com.sun.jdmk:jmxtools:jar:1.2.1 2) com.sun.jmx:jmxri:jar:1.2.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun.jmx -DartifactId=jmxri \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) com.sun.jmx:jmxri:jar:1.2.1 3) javax.jms:jms:jar:1.1 Try downloading the file manually from: http://java.sun.com/products/jms/docs.html Then, install it using the command: mvn install:install-file -DgroupId=javax.jms -DartifactId=jms \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) javax.jms:jms:jar:1.1 -- 3 required artifacts are missing. for artifact: org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), codeogre.com (http://repo.codeogre.com/archiva/repository/public/), wicketstuff.org (http://wicketstuff.org/maven/repository) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 minute 22 seconds [INFO] Finished at: Sat Dec 08 11:01:15 GMT+01:00 2007 [INFO] Final Memory: 11M/82M [INFO]
Re: [wicket-contrib-tinymce] Compile error from svn-project
Not going to happen. Logback is LGPL licensed. Martijn On Dec 8, 2007 1:19 PM, William Hoover [EMAIL PROTECTED] wrote: Also, AFAIK any dependencies that fall under Sun's Binary License cannot be distributed by the central repository http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html IMHO, it would seem more natural if Wicket used logback (log4j successor) recommended by slf4j (http://www.slf4j.org/) documentation ( http://logback.qos.ch/). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frank Bille Sent: Saturday, December 08, 2007 6:10 AM To: users@wicket.apache.org Subject: Re: [wicket-contrib-tinymce] Compile error from svn-project You can follow what maven tells you :-) The problem is that the log4j version has been upgraded from 1.2.14 to 1.2.15 which has some new dependencies which are not in standard maven repo. I have asked the guy that committed it[1] about why he upgraded and if it would be possible to use the previous version instead. So what you could do yourself instead, is to change log4j version in the pom file. Regards, Frank [1]: http://markmail.org/message/x6vhmw7z5wa3c3cg On Dec 8, 2007 11:08 AM, Per Newgro [EMAIL PROTECTED] wrote: Hi *, i try to use the wicket-contrib-tinymce project from svn-server. I did a checkout. And a mvn clean compile. But in the end i got this. What can i do here? Cheers Per [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) com.sun.jdmk:jmxtools:jar:1.2.1 Try downloading the file manually from: http://java.sun.com/products/JavaManagement/download.html Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jdmk-DartifactId=jmxtools \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) com.sun.jdmk:jmxtools:jar:1.2.1 2) com.sun.jmx:jmxri:jar:1.2.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun.jmx -DartifactId=jmxri \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) com.sun.jmx:jmxri:jar:1.2.1 3) javax.jms:jms:jar:1.1 Try downloading the file manually from: http://java.sun.com/products/jms/docs.html Then, install it using the command: mvn install:install-file -DgroupId=javax.jms -DartifactId=jms \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) javax.jms:jms:jar:1.1 -- 3 required artifacts are missing. for artifact: org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), codeogre.com (http://repo.codeogre.com/archiva/repository/public/), wicketstuff.org (http://wicketstuff.org/maven/repository) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 minute 22 seconds [INFO] Finished at: Sat Dec 08 11:01:15 GMT+01:00 2007 [INFO] Final Memory: 11M/82M [INFO] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-rc1 is released Get it now: