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
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
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
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
4 matches
Mail list logo