-
Jan 14th, 2009, 09:25 AM
#1
using a ":" as part of form element name
Hi,
we are working on a spring mvc portlet which uses freemarker templates.
Currently we have a problem using a ":" as part of the name attribute of a form element, for example: <input name="abc:def" .../>. We are required to keep the colon there.
We have configured Spring to map this form element to a bean property, but can't figure out how to do this. The mapping from abc:def to bean properties is direct, so our bean setter would have to be called "setAbc:def()", which is ofcourse not valid Java.
Is there any way to influence the name somewhere along the line to match the form element name to the bean property.
Thanks,
Sunil.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules