I've used checkboxlist tag with JDK 5 enum
likeļ¼
[EMAIL PROTECTED] key="resource.requestMethod" name="requestMethods"
list="@[EMAIL PROTECTED]()" listKey="name()"
listValue="name()" /]
every thing is OK, and the data can be persist to the database correctly.
but when I query the edit page, the previous data cannot be display well
(the box is not Checked!)
for the source, check the attachments.
I have debug the code, And the persist object had returned the correct enum
data array.
but the same page, the radio is OK, also used enum in JDK 5, I have check
the template and value stack, everything seems OK.... I've got no idea,
It's a bug or just I have missed something?
http://www.nabble.com/file/p19359355/resources-edit.ftl resources-edit.ftl
http://www.nabble.com/file/p19359355/Resource.java Resource.java
http://www.nabble.com/file/p19359355/RequestMethod.java RequestMethod.java
-----
Blog: http://www.ryanwong.name
Can Use: English, Chinese
--
View this message in context:
http://www.nabble.com/-S2-checkboxlist-tag-bug--tp19359355p19359355.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]