struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Wong <>
Subject [S2]checkboxlist tag bug?
Date Sun, 07 Sep 2008 15:47:01 GMT

I've used checkboxlist tag with JDK 5 enum

[@s.checkboxlist key="resource.requestMethod" name="requestMethods"
		list="@org.ave7.core.model.enums.RequestMethod@values()" 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? resources-edit.ftl 

Can Use: English, Chinese
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message