struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ashworth" <justin-str...@ashworth.org>
Subject Re: nested tag error
Date Fri, 13 Dec 2002 15:57:53 GMT
Your <nested:select> is closing itself off.  Remove the / at the end of the
tag and it should work.

Justin

----- Original Message -----
From: "Brian Buckley" <briankbuckley@attbi.com>
To: "Struts Users" <struts-user@jakarta.apache.org>
Sent: Friday, December 13, 2002 10:54 AM
Subject: nested tag error


> Here's a snippet of JSP which is not working:
>
> <nested:nest property="foo" >
>   <nested:select property="bar" />
>      <nested:options collection="prompt_set" property="key"
> labelProperty="value" />
>   </nested:select>
> </nested:nest>
>
> It is giving a compile error "org.apache.jasper.JasperException: Options
tag
> must be nested in a Select tag".
>
> I tried changing nested:select,nested:options to html:select,html:options
> but then the tag doesn't find the nested property.
>
> How can I fix the above snippet?
>
> Brian (using struts1.1 beta1, Tomcat 4.1.12)
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message