It seems the documentation is wrong. It should be something like this
instead:

----- 8< -----
The attribute name of the bean whose properties are consulted to determine
which option should be pre-selected when rendering this input field. If not
specified, the bean associated with the form tag we are nested within is
utilized. [RT Expr]
----- 8< -----

As with the other form-related tags, I have never had to specify the name
attribute, because I've always been able to use the default, meaning "use
the form's bean".

Hope this helps.

--
Martin Cooper


----- Original Message -----
From: "Nick Pellow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 5:01 PM
Subject: select options


> Hi,
> Looking at:
>
> http://jakarta.apache.org/struts/struts-html.html#select
>
> I notice that for the name attribute, the following description is
> given:
> name   The fully-qualified java class name of the bean containing the
> underlying property. [RT Expr]
> Is this correct? I thought 'type' was usually used for class names and
> 'name' was used for variable names.
>
> Could someone please tell me what the name attribute means and when it
> should/shouldn't be used
> with select boxes?
>
> Cheers,
> Nick


Reply via email to