struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Convers" <fconv...@webnet.fr>
Subject select list
Date Mon, 14 Apr 2003 14:16:20 GMT
Hi,

Is there someone who can tell me why :

with in class : mybeanpackage.MyBeanClass
2 getters :  Vector getIds() and Vector getLabels()

This works :
<jsp:useBean id="mySessionBean" scope="session"
class="mybeanpackage.MyBeanClass" />
<html:text name="mySessionBean" property="ids" />
<html:text name="mySessionBean" property="labels" />

So I can see the vectors in the html text fields

And this doesn't works :
<jsp:useBean id="mySessionBean" scope="session"
class="mybeanpackage.MyBeanClass" />
<html:select property="idSelected">
    <html:options name="mySessionBean" property="ids"
labelProperty="labels"/>
</html:select>

Thanks
Florian





---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message