Stripes

stripes:submit with fmt:message in body

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: Release 1.5.2, Release 1.6
  • Component/s: Tag Library
  • Labels:
    None
  • Environment:
    Vista 64, Resin 3.0, Resin 3.1, Java 6

Description

Using:

<stripes:submit name="xxx">
<fmt:message key="yyy" />
</stripes:submit>

Results in html markup like:
<input name="xxx" value="
yyy
" type="submit" />

This renders wrong in IE 7 + IE8 - result: extremely large buttons

Work around:
<fmt:message var="msg" key="xxx" />
<stripes:submit name="showAddBundle" value="${msg}" />

NB: The following works fine - however I'm using Eclipse and rely heavily on source formatting (CTRL+SHIFT+F) which will reformat this.
<stripes:submit name="xxx"><fmt:message key="yyy" /></stripes:submit>

Activity

Hide
Frederic Daoud added a comment - 16/Sep/09 4:18 PM

Fixed in revision 1142.

Show
Frederic Daoud added a comment - 16/Sep/09 4:18 PM Fixed in revision 1142.

People

Vote (0)
Watch (0)

Dates

  • Created:
    11/Aug/09 12:14 AM
    Updated:
    04/Jan/11 1:45 PM
    Resolved:
    27/Oct/09 2:22 PM