struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Sargent" <>
Subject RE: <nested:iterate> & building columns
Date Fri, 18 Oct 2002 20:23:26 GMT
>		<nested:iterate property="informationsessions">
>			<nested:write property=""/><br>
>		</nested:iterate>

Do the objects in the set returded by date.getInformationSessions() have
a property or is location intended to be the "id".  i.e,
do you mean:

		<nested:iterate id="location"
			<nested:write property=""/><br>

-----Original Message-----
From: Adam Sherman [] 
Sent: Friday, October 18, 2002 1:10 PM
To: Struts Users Mailing List
Subject: Re: <nested:iterate> & building columns

Sri Sankaran wrote:
 > Re: NullPointerException A: My guess is that the object returned by a
> getLocation() call on the objects in your informationsessions  >
collection is null.  The code block

OK, after many loops and out.println's, I've established that all the 
data is there.

A few things of note:

<nested:iterate id="dates" name="currentSchedule">
	<nested:write property="date"/>
		<nested:iterate property="informationsessions">
			<nested:write property=""/><br>

- currentSchedule is a List of MyDates
- date.getInformationSessions() returns a Set. (Is this OK?)

So, I verified that the data is there. But I still get a 
NullPointerException, therefore I must be trying to pull data from the 
wrong spot in the structure. )-:



Adam Sherman
Software Developer
Teach and Travel Inc.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message