RE: Re: select tag and value issue

2006-08-24 Thread Jonathan Drnek
to *remove* the value=... attribute from the html:select tag. Struts will then use the value of the property, as you want; specifying the value attribute overrides it. L. Jonathan Drnek wrote: > I think I am. I changed the JSP to also display the license id as a > text field. The JSP i

RE: Re: select tag and value issue

2006-08-23 Thread Jonathan Drnek
Sent: Tuesday, August 22, 2006 4:53 PM To: user@struts.apache.org Subject: Re: select tag and value issue Your JSP code looks OK (except obviously you want to remove the value="22" from the html:select tag). Are you sure the value you're setting in form.license is correct? L.

select tag and value issue

2006-08-22 Thread Jonathan Drnek
I'm fairly new to struts and am having a problem with the tag. I can't get the value property to work correctly. I have a list of licenses that I want displayed in the drop down box. I want the license that is used by the current software to be selected. If I hard code the value property to be