Re: Problems with ListMultipleChoice component
Opps... Due to a cut and paste error I had default form processing set to false. Now don't I feel silly! Thanks, David David R Robison wrote: Yes, and thanks for the quick response. What is missing from the example is how to read the list of selected items. Here is some of my code fragments. Any thoughts? private LinkedList addDevicesList = new LinkedList(); ... add(new ListMultipleChoice("devicesOutChain", new PropertyModel(this, "addDevicesList"), createListOfOptions())); My thoughts was that "addDeviceList" would then contain the list of DeviceGeneric items that were selected from the list created by createListOfOptions(). Am I missing something here? David Timo Rantalaiho wrote: On Wed, 18 Feb 2009, David R Robison wrote: I'm having trouble with the ListMultipleChoice component. It displays correctly, but when I submit the form, the server side code does not see any items selected. Any thoughts? Can anyone point me to a good example? Have you checked out wicket-examples from svn and then checked out this? http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.ListMultipleChoicePage Best wishes, Timo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Problems with ListMultipleChoice component
Yes, and thanks for the quick response. What is missing from the example is how to read the list of selected items. Here is some of my code fragments. Any thoughts? private LinkedList addDevicesList = new LinkedList(); ... add(new ListMultipleChoice("devicesOutChain", new PropertyModel(this, "addDevicesList"), createListOfOptions())); My thoughts was that "addDeviceList" would then contain the list of DeviceGeneric items that were selected from the list created by createListOfOptions(). Am I missing something here? David Timo Rantalaiho wrote: On Wed, 18 Feb 2009, David R Robison wrote: I'm having trouble with the ListMultipleChoice component. It displays correctly, but when I submit the form, the server side code does not see any items selected. Any thoughts? Can anyone point me to a good example? Have you checked out wicket-examples from svn and then checked out this? http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.ListMultipleChoicePage Best wishes, Timo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately.
Re: Problems with ListMultipleChoice component
On Wed, 18 Feb 2009, David R Robison wrote: > I'm having trouble with the ListMultipleChoice component. It displays > correctly, but when I submit the form, the server side code does not see > any items selected. Any thoughts? Can anyone point me to a good example? Have you checked out wicket-examples from svn and then checked out this? http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.ListMultipleChoicePage Best wishes, Timo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Problems with ListMultipleChoice component
I'm having trouble with the ListMultipleChoice component. It displays correctly, but when I submit the form, the server side code does not see any items selected. Any thoughts? Can anyone point me to a good example? Thanks, David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org