As an aside on this issue, I have found that using XML syntax for jsp
helpful as it would have given you a message about unmatched tags.  Not
just jsp but also html and other tags (handy for really large tables,
etc).

Edgar

-----Original Message-----
From: Cory Newey [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 13, 2002 11:10 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Re: nested tag error


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.

>>> [EMAIL PROTECTED] 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:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to