Conditionally render element's attribute in a composite component

后端 未结 3 1197
[愿得一人]
[愿得一人] 2021-01-02 17:52

I have the following composite component:




        
3条回答
  •  生来不讨喜
    2021-01-02 18:12

    I believe there is an alternate method for accessing attributes. I've used this with JSF 2 when accessing an attribute named with a java reserved keyword.

    {cc.attrs['size']}

提交回复
热议问题