[Struts] html:select problème dans l'affichage
Bonjour,
j'ai un problème concernant l'affichage d'une ArrayList dans une select
voici mon code :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| <%
java.util.ArrayList list = new java.util.ArrayList();
list.add(new LabelValueBean("Skin1", "skin1"));
list.add(new LabelValueBean("Skin2", "skin2"));
list.add(new LabelValueBean("Skin3", "skin3"));
request.setAttribute("skins", list);
%>
<html:form action="/Redirect.do">
<html:select property="skins" multiple="false">
<html:options collection="skins" property="value" labelProperty="label" labelName="label"/>
</html:select> |
et voici l'erreur que jobtiens :
No getter method available for property skins for bean under name org.apache.struts.taglib.html.BEAN'
quelqun pourrait m'aider please