struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory Newey" <cne...@novell.com>
Subject Re: nested tag error
Date Fri, 13 Dec 2002 16:10:29 GMT
Your problem is that your opening <nested:select> tag is closed (see the '/' at the end?).
 Change the tag to: 
<nested:select property="bar"> and everything should work.

>>> briankbuckley@attbi.com 12/13/02 08:54AM >>>
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