-
Sep 5th, 2008, 03:57 AM
#1
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
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