You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by cilquirm <aa...@gmail.com> on 2007/02/22 23:14:45 UTC
s2: numbers being formatted during display in s:select tag
This is so odd, yet I'm surprised no one's come across this.
This is S2 built off the 2_0_X branch ( no modifications, straight clean
build ), running under Java 1.5 in both resin and tomcat.
Given a snippet like so :
<s:action name="listAllAuthors" namespace="/general"
id="authorsAction"></s:action>
<s:select name="author" list="#authorsAction.allAuthors"
listKey="id.longValue()" listValue="%{lastName + ', ' + firstName}"
label="Author"/>
the output of the id is a formatted string :
<select name="author" id="save_author">
<option value="1,103,161">Please, Helpme </option>
<option value="1,103,339">Being, Earnest</option>
...
</select>
(names have been changed to protect the innocent )
Anyone else come across this.
Is this a bug? Known workaround?
Thanks for any input,
aadi
--
View this message in context: http://www.nabble.com/s2%3A-numbers-being-formatted-during-display-in-s%3Aselect-tag-tf3275613.html#a9109511
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org