lindbird
Jun 7th, 2006, 05:17 PM
Hello,
I am having trouble binding multiple fields from my jsp to one property.
Here is my situation:
<spring:bind path="inquiryCommand.asOfDate">
<input type="text" name="${status.expression}" value="${status.value}"/>
<input type="text" name="${status.expression}" value="${status.value}"/>
<input type="text" name="${status.expression}" value="${status.value}"/>
</spring:bind>
* I have left out the static text to make it shorter
I have created a custom property editor which expects a comma delimited String... which works. But, on the way back out (when my property editor calls getAsText()), I combine the fields back into a comma delimited String (just as it came into setAsText()). My problem is that I don't know how to display each individual field in each input like they came in... the entire comma delimited String is printed in each input.
any thoughts?
thanks,
Ryan
I am having trouble binding multiple fields from my jsp to one property.
Here is my situation:
<spring:bind path="inquiryCommand.asOfDate">
<input type="text" name="${status.expression}" value="${status.value}"/>
<input type="text" name="${status.expression}" value="${status.value}"/>
<input type="text" name="${status.expression}" value="${status.value}"/>
</spring:bind>
* I have left out the static text to make it shorter
I have created a custom property editor which expects a comma delimited String... which works. But, on the way back out (when my property editor calls getAsText()), I combine the fields back into a comma delimited String (just as it came into setAsText()). My problem is that I don't know how to display each individual field in each input like they came in... the entire comma delimited String is printed in each input.
any thoughts?
thanks,
Ryan