Announcement Announcement Module
Collapse
No announcement yet.
using a ":" as part of form element name Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X