Announcement Announcement Module
Collapse
No announcement yet.
Attributes string in springFormInput is html escaped Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Attributes string in springFormInput is html escaped

    Hello,

    The doc at

    http://static.springframework.org/sp...#view-velocity

    reads

    attributes: an additional string of arbitrary tags or text to be included within the HTML tag itself. This string is echoed literally by the macro. For example, in a textarea field you may supply attributes as 'rows="5" cols="60"' or you could pass style information such as 'style="border:1px solid silver"'.

    But when I use the macro as in:

    #springFormInput('command.fakturaDatoTil' 'tabindex="9"')

    the double quotes around the 9 are html escaped.

    To me, this is not very much "echoed literally" as the doc says.

    How to avoid this html escaping..?

    Cheers

    Stephane
Working...
X