Hi Meghna,
You can do the following to achieve this :
<tr:table rows="#{someBean.viewAll == true ? 0 : 8}" ....>
<f:facet name="actions">
<tr:commandLink text="View all">
<tr:setActionListener from="#{true}" to="#{someBean.viewAll}"/>
</tr:commandLink>
</f:facet>
...
</tr:table>
viewAll is a boolean you declare in your bean of choice.
Regards,
Cedric
2010/10/20 Meghna Bharadwaj <[email protected]>:
> Hi dev,
> I want the following functionality:
> I am using trinidad table where there is a list of values displayed, out of
> this i want to display only 8 rows rest of the rows should be hidden, and
> when i click on some link like 'Show All' it should display the remaining
> rows also. Please help me out in solving this.
>
> Thanks,
> Meghana