All the posts I see, here on the AppFuse mailing list and all over the net,
use the old spring:bind tag. Can I use the Spring 2.0 form:select tag?
I have implemented referenceData() in my XxFormController class, and add a
Map of Inspectors to the Model. But in the jsp, the following code:
<form:select path="inspectors" items="${inspectors}" itemLabel="name"
itemValue="id"/>
gives me this:
>Invalid property 'inspectors' of bean class
[com.mycompany.myapp.model.PackageInspection]: Bean property >'inspectors'
is not readable or has an invalid getter method
Ostensibly this is because Inspectors is not part of the 'command' class,
PackageInspection, but rather a list of Inspectors added to the request via
referenceData() to populate a Select.
Can I use the select tag or do I have to use the old bind tag?
Thanks,
Bob
--
View this message in context:
http://www.nabble.com/Can-I-use-form%3Aselect-with-data-bound-using-referenceDate%28%29-tf4223839s2369.html#a12015409
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]