JSF2 composite components: are #{cc.childCount} and mutually exclusive?

后端 未结 3 2017
日久生厌
日久生厌 2021-01-18 02:44

I just dont get it: If I want my composite component to insert children, I use but #{cc.childCount}

3条回答
  •  逝去的感伤
    2021-01-18 03:32

    I had a similar problem. I switched to c:if and it worked, so in your case it would be

    
      
        
          some default data
        
    
    

提交回复
热议问题