Hi,
There is no ActionForm associated with the Action Class. Hence i am storing the options attribute in the request attribute.
Action Class:
-------------
request.setAttribute("options",sysEventsFormObj.getOptions());
Action Form:
------------
LabelValueBean[] options = new LabelValueBean[32];
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;
}
I would like to retrive the options attribute in the <html
ptionCollection> tag with out using the form bean obj. Any help is appreciated on this.
regards
sudha