RE: strutshtml select tag initial value

2001-12-21 Thread Keith Bacon
Use struts option tag. That will cause a call to your form bean to get the value to be selected when page is displayed. --- Tom Watkins <[EMAIL PROTECTED]> wrote: > > I have a jsp using the tag with > nested tags. I > need to give the drop down list an initial value > first time it is seen whi

RE: strutshtml select tag initial value

2001-12-19 Thread Tom Watkins
brilliant - thanks -Original Message- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: 19 December 2001 12:02 To: Struts Users Mailing List Subject: Re: strutshtml select tag initial value If you use the struts option tag it will get the selected value from the formbean when the page

Re: strutshtml select tag initial value

2001-12-19 Thread Keith Bacon
If you use the struts option tag it will get the selected value from the formbean when the page is displayed (reverse of the way it sets the selected value when the form is submitted). Then you have full control! Keith. --- Tom Watkins <[EMAIL PROTECTED]> wrote: > I have a jsp using the tag wi

RE: strutshtml select tag initial value

2001-12-19 Thread Tom Watkins
I have a jsp using the tag with nested tags. I need to give the drop down list an initial value first time it is seen which I have done using ... However, when page validation fails I need the list to display the user selected value but obviously it reverts to the tag which I labelled "select