Custom tag

2012-06-28 Thread José Luis Cetina
Hi i have this: Simple custom tag: cc: interface componentType=my_button   cc:attribute name=action method-signature=java.lang.String action()/   cc:attribute name=actionListener method-signature=void actionListener(javax.faces.event.ActionEvent event)/ / cc:interface cc:implementation

Re: Custom tag

2012-06-28 Thread Rafael Pestano
you can try: cc:implementation     h:commandButton                 value=Ok rendered=#{not empty cc.attrs.action and empty cc.attrs.actionListener}                 action=#{cc.attrs.action}                    /   h:commandButton                 value=Ok rendered=#{not empty 

Re: Custom tag

2012-06-28 Thread Rafael Pestano
again, cc:implementation     h:commandButton                 value=Ok rendered=#{not empty cc.attrs.action and empty cc.attrs.actionListener}                 action=#{cc.attrs.action}                    /   h:commandButton                 value=Ok rendered=#{not empty cc.attrs.actionListener