I'm pretty sure if you use get/set in your form bean you should not use value. It specifies the literal value to display in the field (I think? - as I never use it).
--- Alex Colic <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to get the value attribute to work in the text tag. I have an > 'ITEM' bean with two properties. One is set up when the user selects an > item. When they go to a page I want the page to display the existing value > in 'item.primeLocation' and I want the text box to be prefilled with the > value from 'item.primeLocation' but have the text user input go into > 'newPrimeLocation. Both parameters are within the ITEM bean. > > I think the value attribute is supposed to get the from the 'primeLocation' > but I actually get "primeLocation" passed into the text box. I must be doing > something wrong. > > <TR> > <TD>Primary Location</TD> > <TD><bean:write name="ITEM" property="item.primeLocation"/></TD> > <TD><html:text property="newPrimeLocation" value="primeLocation"/><TD> > </TR> > > > Thanks for any help. > > Alex > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > ===== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Search the archive:- http://www.mail-archive.com/struts-user%40jakarta.apache.org/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Bacon - Looking for struts work - South-East UK. phone UK 07960 011275 __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

