Hi,

I am trying to use the nested tag. It's giving me a null pointer exception
if I try access a method of the nested tags by itself. However, if I enclose
it in a <html:form...> then it'll work. Any ideas?

Thanks,


This works, where filter.do maps to the form that holds myCollection:
<html:form action="/filter.do">
        <nested:nest property="myCollection">
                <nested:iterate property="myCollection">
                        <nested:write property="myDate"/>
                </nested:iterate>
        </nested:nest>  
</html:form>  


This doesn't:
        <nested:nest property="myCollection">
                <nested:iterate property="myCollection">
                        <nested:write property="myDate"/>
                </nested:iterate>
        </nested:nest>  


Thanks in advance.

Dean Chen


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

Reply via email to