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
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
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.
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
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/
5 matches
Mail list logo