struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Colombari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-3921) s:select rendering
Date Wed, 14 Nov 2012 10:16:11 GMT
Omar Colombari created WW-3921:
----------------------------------

             Summary: s:select rendering
                 Key: WW-3921
                 URL: https://issues.apache.org/jira/browse/WW-3921
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.3.1.2
         Environment: websphere 6.1
            Reporter: Omar Colombari


The "s:select" component sometime has a wrong rendering. In the html page is shown as value
of the options the object references (like @package.bean) or
for the "s:select" component using fixed list value sometime is rendering the couple  "key=label"
and not the value

Example:
<s:select name="test" list="#{'1':'A','2':'B','3':'C','4':'D'}" required="true" />

Rendering in page is:
<select>
<option value="1=A">1=A </option>
<option value="2=B">2=B </option>
<option value="3=C">3=C </option>
<option value="4=D">4=D </option>
</select>

It is strange because if the server is restarted the issue has fixed.

What could be?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message