Hi, Answering my own question. The "LabelValueBean" was coded like this. That was the problem.
private String label = null; private String value = null; public LabelValueBean(String label, String value) { label = label; --> No "this" value = value; } > The code below is a copy of the example of the html select tag. > Vector wanGroupOptions = new Vector(); > wanGroupOptions.add( new LabelValueBean( "Label 0", "Value 0" )); > wanGroupOptions.add( new LabelValueBean( "Label 1", "Value 1" )); > Now the following works but generates empty options tags. > <html:select property="wanGroups" size="1" > > <html:options collection="wanGroupOptions" property="value" labelProperty="label"/> > </html:select> >I am using the following code to debug and I am getting the correct size printed on the screen. > <jsp:useBean id="wanGroupOptions" class="java.util.Vector" scope="application"/> > <%= wanGroupOptions.size() %> > What could be the problem ? Any ideas are appreciated ?
This message and any attachments have been scanned for viruses during transmission from HCL Comnet.
-- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>