struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "deepank" <deep...@sasken.com>
Subject Re: html:form
Date Mon, 30 Sep 2002 08:16:49 GMT
It will pick up property values from the bean ReportParameterForm and NOT
'ReportParameterFormBean' , these two names are different as far as i know

Deepank
----- Original Message -----
From: "Mohan Radhakrishnan" <MohanR@hclcomnet.co.in>
To: <struts-user@jakarta.apache.org>
Sent: Monday, September 30, 2002 1:03 PM
Subject: html:form


> Hi,
> >   name - The attribute name of the bean whose properties are consulted
to
> determine which option should be pre-selected when rendering this input
> >field. If not specified, the bean associated with the enclosing
<html:form>
> tag is utilized.
> The above is the doc. for <html:form ..>
> If I use the following,
> <html:form  action="mainscreen.action">
> </html:form>
> ------------
> <form-bean      name="reportParameterForm"
>                     type="com.hcl.smartmanage.web.ReportParameterForm"/>
> <action    path="/mainscreen"
>                type="com.hcl.smartmanage.web.action.SetupAction"
>                name="reportParameterForm"
>                scope="request"
>                input="/mainscreen.jsp">
>     </action>
> -------
> Will it pick up 'ReportParameterFormBean' automatically ? I am asking this
> because the following doesn't specify any JSP bean name. So it should pick
> it up the bean associated with the <html:form ..> tag.
> <html:select  property="wanLinks" size="1" >
> <html:options collection="wanLinkOptions"
> property="value" labelProperty="label"/>
> </html:select>
>
> bye,
> Mohan
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


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


Mime
View raw message