ok somehow i have a feeling i'm missing a simple option in the radio tag
but i solved like this now:
in my action:
public Map<Boolean, String> genderMap() {
log.debug("getUserList2 is called!");
Map<Boolean, String> map = new HashMap<Boolean, String>();
map.put(true, getText("candidate.gender.true"));
map.put(false, getText("candidate.gender.false"));
return map;
}
in my jsp
<s:radio key="candidate.gender" name="candidate.gender" list="genderMap"
cssClass="text small"/>
ciao,
tibi
tibi wrote:
hi list,
i'm trying to make a radio list something like this:
|<*s*:*radio* label="Fruits" name="fruitsname" list="fruits" />
http://www.roseindia.net/struts/struts2/struts2uitags/radio-tag.shtml
but how would i add i18n to it?
thanks,
tibi
|
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]