0
我使用的是primefaces 5.2。 我想用動態呈現的選項卡使用accordionpanel。 我XHTML代碼:primefaces accordionpanel選項卡呈現
<p:accordionPanel value="#{rechercheBean.structures}" dynamic="true" cache="false" var ="structure">
<p:tab title="#{structure.nomStructure} #{structure.existe?'existe':'n existe pas'}" rendered="#{structure.existe}" >
</p:tab>
</p:accordionPanel>
的「existe」值存儲在一個布爾值,我的問題是,它似乎在渲染屬性中從未使用過。 我有這個結果。 tab rendered 我試圖用相同的結果直接寫它:該標籤總是呈現。
你能幫我嗎?
確定我只是tryed thisand結果看起來不錯,即使就是它不正是我想要的。 – willyodin