struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith <keithbaconstr...@yahoo.com>
Subject Re: simple text field value display
Date Tue, 19 Feb 2002 14:18:26 GMT
Take the value= clause off. I never use it. Struts will call
public String getSupplierID()
in your formBean to set the value on output
& setSupplierID(String xxxx)
on submission of the form.

I think value= is to give an initial value if you aren't invoking your jsp via
an action.
K.

--- "Domen, Ken" <Ken.Domen@nike.com> wrote:
> I'm trying to do something simple-- to render the value of a bean in a
> textfield.
> 
> <html:text property="supplierID" size="40" maxlength="40" value="<bean
> name=form" property="supplierID" />" /></td>
> 
> when the documentation says use the bean property tags to get the value,
> what does
> it mean?
> 
> thanks.
> ken
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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