1
我使用的ICEfaces到conditonally呈現一個組成部分,但它不能拿起布爾:JSF/ICEfaces的條件呈現
BeanCode:
public boolean isEmpty(){
return true;
}
public int getCount(){
if (isEmpty()){
return 0;
}
return 1;
}
IceFaces
<ice:panelGroup rendered="#{coverage.empty}"> //this doesnt work
<ice:panelGroup rendered="#{coverage.count==0}"> //this does work
錯誤消息: 錯誤解析:#{coverage.empty }
爲什麼IceFaces不能識別布爾值?
糾錯:在EL。 – BalusC 2010-02-23 16:02:53