From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: displaytag - help with displaying
individual table dataDate: Sun, 9 Nov 2008 23:38:36 +0000
Hello, I have the following code on one JSP page: <display:table
name="sessionScope.t1" defaultorder="descending" class="tabledata">
<display:column property="mfref" title="mfref"/>
<display:column property="lampent" sortable="true"
headerClass="sortable" title="Lamp Ref"/>
<display:column property="luminaireent" sortable="true" headerClass="sortable"
title="Luminaire Ref"/> <display:column
property="projectent" sortable="true" headerClass="sortable" title="Project
Ref"/> </display:table> <display:table
name="sessionScope.projectent" defaultorder="descending" class="tabledata">
<display:column property="pnum" title=" Project number
"/> <display:column property="pname" sortable="true"
headerClass="sortable" title="Project Name"/>
</display:table>
<display:table name="sessionScope.t2" defaultorder="descending"
class="tabledata"> <display:column
property="pnumbordercode" title="Part no. order code"/>
<display:column property="description" sortable="true"
headerClass="sortable" title="Description"/>
<display:column property="model" sortable="true" headerClass="sortable"
title="Model"/> <display:column property="colfinish"
sortable="true" headerClass="sortable" title="Finish Colour"/>
<display:column property="dimensions" sortable="true"
headerClass="sortable" title="Dimensions"/>
<display:column property="warrenty" sortable="true" headerClass="sortable"
title="Warrenty"/> <display:column
property="manu.manuname" sortable="true" headerClass="sortable"
title="Manufacturer"/>
</display:table> Basically display different data from a database. I would
like to use 'if statement' to display the appropriate data or table one at a
time. Or I can forward data to an appropriate JSP page for each table. But
the reason why I am tryingto use one JSP is to cut than on the codes and also
the pages I use with my application. Any suggestion would be apprecaited.
Thanking you. eve
Click here for FREE customisable desktop wallpapers. Get them Now!
_________________________________________________________________
Win £1000 John Lewis shopping sprees with BigSnapSearch.com
http://clk.atdmt.com/UKM/go/117442309/direct/01/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user