Hi,
I am getting the error no bean specified. Any help is appreciated.
Action Form:
-------------
public LabelValueBean[] getOptions()
{
for (int i = 1; i <= 31; i++) {
options[i] = new LabelValueBean("Show events for last " + String.valueOf(i) + " day", String.valueOf(i));
}
return options;
}
/**
* @param options The options to set.
*/
public void setOptions(LabelValueBean[] options) {
this.options = options;
}
JSP <html:select property="lastEvent" tabindex="1" title="Select Event" style="width:220px;">
<html
ptionsCollection property="options" label="label" value="value" />
</html:select></td>
regards
sudha