attribute "var" doesn't exist in my struts-tags.tld. I'm using the last one
struts2 pack.
lawDraft.docs returns List with 5 elements.
Simple printing </s:property value="lawDraft.docs"> shows 5 elements
I've tried to invoke method "getTitle()" of class Document which instances
are in ArrayList:
1.
<s:iterator value="lawDraft.docs" status="document" id="doc">
</s:property value ="title">
</s:iterator>
Nothing, empty string
2.
<s:iterator value="lawDraft.docs" status="document" id="doc">
</s:property value ="%{#doc.title}">
</s:iterator>
Nothing, empty string
Previous actions prints to log fields of objects kept in Lawdraft.getDocs()
I know, that title is not null or empty.
Can you suggest me something else?
--
View this message in context:
http://www.nabble.com/Problem-accessing-iterated-object-%28%3Cs%3Aiterator%29-tp18614028p18647504.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]