myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C├ędric Durmont <cdurm...@gmail.com>
Subject Re: How to disable core table selection check boxes in trinidad
Date Fri, 08 Jul 2011 06:12:19 GMT
Hi Ravi,

I don't think it's possible. A possible workaround is to set
selection="none", then add yourself a column with a checkbox, and use
the row object business rules to set it disabled or not

Regards,
Cedric Durmont

2011/7/7 ravi.boreddy <ravi.boreddy@cognizant.com>:
>
> Hi All,
>
> I have a core table as below.
>
> <tr:table id="claimResultSet" rowBandingInterval="1"
> partialTriggers="claimResultSet retainClaimsTableState"
> value="#{claimItemSearchResultsWF002Bean.claimSearchResultsData}"
> var="claimVO" rows="25"
> selectionListener="#{claimItemSearchResultsWF002Bean.selectedRow}"
> rowSelection="multiple" >
>
> With the above code, the JSF will render a table with selection check boxes
> for rows in the table.
>
> My requirement is I would like disable some of the rows selection check
> boxes based on my business rules.
>
> Could you please help on how to get control over selection boxes in
> Trinidad?
>
> I really appeciate if you can respond ASAP.
>
> Thanks in adavance!!!
>
> Thanks & Regards,
> Ravi Boreddy
> --
> View this message in context: http://old.nabble.com/How-to-disable-core-table-selection-check-boxes-in-trinidad-tp32015947p32015947.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message