Re: nested tag issue

2002-06-04 Thread Arron Bates
Absolutely right. What this code is trying to say, is that the nested tags need a valid root tag on each JSP. In this case, David's used the nested:root tag. It can also be the html:form or nested:form tags. The form tags are bound to their form definition in struts-config.xml, to escape this

RE: nested tag issue

2002-06-04 Thread Galbreath, Mark
Absolutely! Thanks, Aaron...not having used nested tags yet, I've been wondering about their syntax and parsing logic. Sounds like standard XML. Any time anyone elaborates on the operation of a Struts function from experience is very helpful as the documentation is as yet vague in many places

Re: nested tag issue

2002-06-04 Thread Arron Bates
Absolutely! Thanks, Aaron...not having used nested tags yet, I've been wondering about their syntax and parsing logic. ?... give it a go already. The code's there. There's next to no code in them, it just handles them little property and bean references for you. Sounds like standard XML.

nested tag issue

2002-06-03 Thread Chen, Dean (Zhun)
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

Re: nested tag issue

2002-06-03 Thread David Morris
Dean, This is like the blind leading the blind. I wonder why you don't want to declare a form but something like this should work: nested:root name=attributeNameOfBeanContainingYourCollection nested:nest property=myCollection nested:iterate property=myCollection nested:write property=myDate/