JSF2.0 - Composite component with optional method expression

前端 未结 5 1877
没有蜡笔的小新
没有蜡笔的小新 2021-01-02 16:12

I\'m implementing a composite component and I found a issue which I didn\'t find a solution.

I specified its attributes that can or not be passed by the page author,

5条回答
  •  礼貌的吻别
    2021-01-02 16:53

    You will have to create two p:commandLink elements and render them conditionally according to definition of your parameter:

    
      
    
    
      
    
    

提交回复
热议问题