Hi,

 

I am trying to put the list from struts form object into the name
attribute of display:table tag but somehow it is not displaying the
data. But if I set the list from action in session and use
sessionScope.list in display:table then it is able to show data. Do you
know struts form has any issue with displaytag ?

 

Here is what I am doing:

 

<logic:present name="PlanMappingForm" property="planNameVariantList">

            <logic:notEmpty name="PlanMappingForm"
property="planNameVariantList">

                        <bean:define id="list" name="PlanMappingForm"
property="planNameVariantList"></bean:define>

                                    <% System.out.println("list in logic
= >"+list); %> -- Here I am able to see the data in chainsaw logs.

 

                                    <!-I tried below solutions but it is
not displaying the data-->

                                    

                                    <display:table name="list"
sort="external" defaultsort="1" partialList="true" export="true"
class="dataTable" size="<%=size%>" requestURI="/FindPlan" >

                                    <display:table name="pageScope.list"
sort="external" defaultsort="1" partialList="true" export="true"
class="dataTable" size="<%=size%>" requestURI="/FindPlan" >

<display:table name="PlanMappingForm.planNameVariantList "
sort="external" defaultsort="1" partialList="true" export="true"
class="dataTable" size="<%=size%>" requestURI="/FindPlan" >

<display:table name="pageScope.PlanMappingForm.planNameVariantList "
sort="external" defaultsort="1" partialList="true" export="true"
class="dataTable" size="<%=size%>" requestURI="/FindPlan" >

..

..

 

Let me know if you have any solution on this?

 

Thanks,

Amol

                                    

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to