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

Aside from all the setup info on the displayTag site, these are the two key
things that helped get us using the library in our JSF app.

1. In order to pull in your data, you should insert a dummy JSF dataTable prior
to your displayTag table. Set the style to "display:none" so that this table
is not rendered. It's only there to pull in the data from the JSF bean manager.

2. In order to get your column sorting working properly, you need to correctly
set the requestURI attribute for the table to be the current page in your faces
world.

Apologies if this is misleading. I'm a newbie web and JSF developer. Hopefully
this small code snippet formats properly...


<h:dataTable var="foo" value="#{sessionDetails.sessions}"  style="display:none"
/>
                        
<display:table name="sessionScope.sessionDetails.sessions" class="dataTable"
requestURI="/jsp/SessionDetails.faces">
<display:column property="sessionId"  sortable="true"/>
<display:column property="sessName"/>
.....
</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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to