Hi,

I've just tried upgrading my displaytag library from 1.1.1 to 1.2, and  
now none of my tables are showing any more. No other code was changed  
- just a drop-in replacement of the jar file. I did recompile all my  
classes just to be sure, but I didn't have to change any of my code to  
compile against 1.2.

After debugging a bit, it *seems* like all is working okay. I have no  
exceptions and various methods in my PaginatedList class are getting  
called. The table *does* appear if I remove sort="external" and  
partialList="true", so I'm assuming something is now going wrong  
there, but I can't for the life of me figure out what. All I get is  
the boilerplate "Nothing found to display" message, as if no data were  
in the list or something.

The Migration docs only discuss migrating from 1.0, so I'm a bit at  
sea here.

The code for one of the tables I'm trying to show is below. Thanks for  
any help anyone can give me!

Will


<display:table id="proj_row" class="disp_tbl" name="paging_list"
        requestURI="<%= action %>"
        sort="external"
        partialList="true" size="listSize">
        <s:if test="action_type.equals('search')">
                <display:setProperty name="paging.banner.one_item_found">
                        <span class="pagebanner">
                                One {0} found of ${numAllEntries} total.
                        </span>
                </display:setProperty>
                <display:setProperty name="paging.banner.some_items_found">
                        <span class="pagebanner">
                                {0} {1} found of ${numAllEntries} total, 
displaying {2} to {3}.
                        </span>
                </display:setProperty>
        </s:if>
        <display:column title="" class="action" media="html">
                <s:url id="edit" action="UpdateProjectForm">
                        <s:param name="id" value="%{#attr.proj_row.id}"/>
                </s:url>
                <s:a href="%{edit}" cssClass="image">
                        <img src="img/edit.gif" alt="Edit"/>
                </s:a>
                <input type="checkbox" id="proj_${proj_row.id}" value="$ 
{proj_row.id}" name="selectedProjects"/>
        </display:column>
        <display:column property="project_id" title="Project ID"  
sortable="true" />
        <display:column property="dirPrefix" title="Dir" />
        <display:column property="group_code" title="Group Code"  
sortable="true"/>
        <display:column property="project_name" title="Name" sortable="true" />
        <display:column property="project_state" title="State"  
sortable="true" />
        <display:column property="owner" title="Owner" sortable="true" />
        <display:column property="creator" title="Creator" sortable="true" />
        <display:column property="created" title="Created" sortable="true" />
        <display:column property="modified" title="Modified" sortable="true" />
        <display:column property="deleted" title="Deleted" sortable="true" />
        <display:column property="archived" title="Archived" sortable="true" />
</display:table>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to