struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "elyes sallem" <elyes.sal...@gmail.com>
Subject html:select for a string list
Date Wed, 10 Dec 2008 15:27:16 GMT
Hello,
i have a html:select in a html:form
this select is build from a List<String> valLis, defined in an actionForm
i used the html:select in a list of object , it work
but now it is a list of string, so i have not value and label
i need just to recuperate the value and set the list of string
what must i add as attribute to html:optionCollection,
here is html:select
<nested:select property="selectedVal" >
<html:optionsCollection property="valList" name="intaffForm" />
</nested:select>

Regards
Elyes.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message