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

I have never used Map, but let me get back to you later tomorrow with map. But
with any datasource (map, list,...) you should be able to work on multiple 
lists,
with one giving your the title name and the other giving you the property or
key of the list or map respectively as follows:

                <bean:define id="someMapId" name="formBeanName"
                        property="mapProperty" type="java.util.Map">
                </bean:define>
        

<display:table name="sessionScope.someMap" export="true" id="tmpId"
                class="dataTable" defaultorder="ascending" cellspacing="1" >

                <logic:iterate id="someListId" name="formBeanName"
                        property="listPropertyToIterate" 
type="database.ListObject"
indexId="indexId">

                        <display:column
                                title="<%= someListId.getFieldLabel() %>"
                                property="<%= 
someListId.getFieldNameToBeLookedUpInMap or get property
Name%>"
                                />
                </logic:iterate>
                
        </display:table>

______________________________________________________________________
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

------------------------------------------------------------------------------
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to