Kwa Kil On Swa

Wednesday, November 15, 2006

appfuse displaytag

displaytag http://displaytag.sourceforge.net/11/ gives you sortable pagable tables

the messages can be set either in displaytag.properties (and overriden in displaytag_fr.properties)


or the default values in displaytag.properties can be overridden in each jsp

<display:table name="stockMaintenanceQueryList" cellspacing="0" cellpadding="0" requestURI=""
id="stockMaintenanceQueryList" pagesize="4" class="table" export="true">

<display:setProperty name="basic.msg.empty_list_row">
<tr class="empty"><td colspan="5"><fmt:message key="stockMaintenanceQueryCriteria.noMatch"/></td></tr>
</display:setProperty>

<display:setProperty name="paging.banner.no_items_found" value="no items"/>

note the value of stockMaintenanceQueryCriteria.noMatch can be set in ApplicationResources.properties

0 Comments:

Post a Comment

<< Home