rendered-attribute

    0熱度

    2回答

    <h:dataTable cellpadding="0" cellspacing="0" styleClass="list_table" id="OuterItems" value="#{valueList.values}" var="item" border="0"> <h:column rendered="#{item.typeA}"> <h:data

    1熱度

    1回答

    閱讀this answer後,我仍然難倒。我同意應該避免使用JSTL,並理解它的評估是如何在錯誤的階段發生的。但是,根據facelets開發站點上的documentation,<ui:fragment>標籤似乎只支持兩個屬性,即id和binding。所以,即使一些實現支持rendered,看起來你也會試圖利用它。另一個建議是使用<h:panelGroup>,但是,在響應中插入<div>元素可能會導

    9熱度

    3回答

    我想做的事的東西線以下,但是當我這樣使用它,我得到一個解析錯誤,告訴我一個實體需要直接遵循「&」字: <ice:selectManyCheckbox rendered="#{!bean1.condition1 && bean2.condition2}" value="#{bean1.selected}"> <f:selectItems value="#{bean2.items}" /> <