There isn't a 'text' attribute for the <html:option> tag. If it is
referenced somewhere, that would be a documentation bug - please let us know
where you are seeing this.

The documentation says: "The text displayed to the user comes from either
the body of this tag, or from a message string looked up based on the
'bundle', 'locale', and 'key' attributes."

--
Martin Cooper

----- Original Message -----
From: "Shamdasani Nimmi-ANS004" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 7:08 PM
Subject: What is 'text' field for in <html:option>?


> The struts document says that 'text' field is for: The message text to be
displayed to the user for this tag (if any)
>
> I tried to use the tag but it gives me error:"Attribute text invalid
according to the specified TLD"
> This is how I used the tag:
> <html:option value="USER" text="User"></html:option>
>
> Is my understanding of 'text' field wrong?
>
> -Nimmi
>


Reply via email to