Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2821986
By: abargnesi

Hello,

I am trying to embed one display:table within another, but the second table
is not in a display:column.  I am trying to reference a List that is part of
the object that the first display:table is operating on.  Here is my code, I
receive a       Error looking up property "mapStop[0].directions" in object type
"java.util.ArrayList"

My jsp code for the displayTag is:

<display:table name="sessionScope.routeManifestList" id="parent" defaultsort="1"
export="true" >
  <display:column property="imageResponse" title="Map" sortable="false"
decorator="com.iit.asp.web.ImageDecorator"/>
  <display:column property="mapStop.dayInCycle" title="Day In Cycle"
sortable="true"/>
  <display:column property="mapStop.routeNo" title="Route No" sortable="true"/>
  <display:column property="mapStop.routeSeqNo" title="Seq" sortable="true"/>
  <display:column property="mapStop.name" title="Name" sortable="true"/>
  <display:column property="mapStop.zone" title="Zone" sortable="true"/>
  <display:column property="mapStop.estArrivalTime" title="Arrival" sortable="true"
decorator="com.iit.asp.web.HourWithNullDecorator"/>
  <display:column property="mapStop.serviceDuration" title="Time" sortable="true"
decorator="com.iit.asp.web.TimeDecorator"/>
  <display:column property="mapStop.travelTime" title="Travel Time" sortable="true"
decorator="com.iit.asp.web.TimeDecorator"/>
  <display:column property="mapStop.travelDist" title="Distance" sortable="true"
decorator="com.iit.asp.web.MileDecorator"/>
  <display:table name="<%="sessionScope.routeManifestList.mapStop["
+ (parent_rowNum.intValue()-1)+ "].directions"%>" export="true">
    <display:setProperty name="basic.empty.showtable" value="false"/>
    <display:setProperty name="basic.msg.empty_list" value="No directions to
display"/>
    <display:column property="sequence" title="Sequence"/>
    <display:column property="action" title="Action"/>
    <display:column property="direction" title="Direction"/>
    <display:column property="distance" title="Distance"/>
  </display:table>
</display:table>

Thanks for any help,

Anthony

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to