struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand M S" <anand...@hotmail.com>
Subject Re: DyanActionForm and <html:select>, <html:options> tags
Date Thu, 20 Feb 2003 15:35:39 GMT
Thanks for reply. But how can we do this using DynaActionForm, I'm not sure,
please can u provide some code sample?

Thanks in advance.

----- Original Message -----
From: "Jarnot Voytek Contr AU HQ/SC" <Voytek.Jarnot@MAXWELL.AF.MIL>
To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
Sent: Thursday, February 20, 2003 10:20 AM
Subject: RE: DyanActionForm and <html:select>, <html:options> tags


> html:select deals with populating a form property (a String - typically -
> for single-select, and array for multi-select); html:options needs a
> collection placed into some scope which is commonly done in the Action
class
> that forwards to the JSP which needs to display the drop-down box.
>
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
>
>
> > -----Original Message-----
> > From: Anand M S [mailto:anandms5@hotmail.com]
> > Sent: Thursday, February 20, 2003 9:14 AM
> > To: Struts Users Mailing List
> > Subject: DyanActionForm and <html:select>, <html:options> tags
> >
> >
> > Hi,
> >   If I use DyanActionForm, how should I populate dropdown box using
> > <html:options> tag? we would declare all the form attributes in
> > struts-config.xml, how should I initialize the collection and where?
> >
> > Thanks,
> > Anand
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
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