开发者

Icefaces 1.82 rowSelector rendered

开发者 https://www.devze.com 2023-02-24 10:49 出处:网络
I\'m having some problems with Icefaces 1.82 (we cannot use any later version than this...) and a datatable with a rowselector.

I'm having some problems with Icefaces 1.82 (we cannot use any later version than this...) and a datatable with a rowselector.

I found this thread and it seems that I have the exact same problem 开发者_如何学Go(which should be fixed for Icefaces 1.7..):

RowSelector 'rendered' attribute is working with a single value for the whole dataTable, but if I want to have dynamically a different value for each independent row, the behavior is not as expected.

<!-- List of articles -->
    <ice:dataTable styleClass="dataTable" value="#{bb.pms}" id="articles" var="articlePm"
            rendered="#{bb.notEmptySearchResult}">
            <h:column>          
                <ice:rowSelector rendered="#{articlePm.allowedEdit}" 
                    id="selected" value="#{articlePm.selected}"
                    selectionListener="#{bb.rowSelectionListener}"
                    preStyleOnSelection="true"                         
                    mouseOverClass="pointer"/>

Problem: The the rowSelector 'rendered' does not work for single rows.

Does anyone have a solution for my problem?

0

精彩评论

暂无评论...
验证码 换一张
取 消