Still doesn't work as I think it should.
The following JSP:
<nested:root name="currentSchedule">
<nested:iterate property="holding">
<nested:write property="date"/>
<blockquote>
<nested:iterate property="informationsessionsiterator">
<nested:write property="location.city"/><br>
</nested:iterate>
</blockquote>
</nested:iterate>
</nested:root>
I checked the Object to verify:
InformationSessionManager manager = new InformationSessionManager();
ContainerBean container = new ContainerBean(manager.getCurrent());
request.setAttribute("currentSchedule", container);
List currentSchedule = container.getHolding();
InformationSessionDate dDate =
(InformationSessionDate)currentSchedule.get(0);
Iterator dSessions = dDate.getInformationSessionsIterator();
InformationSession dSession = (InformationSession)dSessions.next();
Location dLocation = dSession.getLocation();
System.err.println("DEBUG: " + dLocation.getCity());
This happily prints "Ottawa" to stderr. (-:
I get:
[ServletException in:/WEB-INF/pages/views/schedule.jsp] No getter
method for property holding[0].informationsessionsiterator of bean
currentSchedule
What's going on? I don't understand this enough to fix the problem.
Thanks for all your help,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>
- <nested:iterate> & building columns Adam Sherman
- RE: <nested:iterate> & building columns Sri Sankaran
- Re: <nested:iterate> & building columns Adam Sherman
- RE: <nested:iterate> & building columns Sri Sankaran
- Re: <nested:iterate> & building columns Adam Sherman
- RE: <nested:iterate> & building colum... Chris Sargent
- Re: <nested:iterate> & building c... Adam Sherman
- Re: <nested:iterate> & building columns Adam Sherman
- Re: <nested:iterate> & building colum... Adam Sherman
- Re: <nested:iterate> & building colum... Adam Sherman
- Re: <nested:iterate> & building colum... Adam Sherman
- Re: <nested:iterate> & building c... Arron Bates
- Re: <nested:iterate> & building colum... Adam Sherman
- RE: <nested:iterate> & building columns Sri Sankaran
- RE: <nested:iterate> & building columns Sri Sankaran
- Re: <nested:iterate> & building columns Adam Sherman
- Re: <nested:iterate> & building columns Adam Sherman