Same configuration than original JSF tag, but handles double resolution of the action expression.
All usual h:commandButton attributes are accepted here. The tag specificity is that it can invoke a method binding which is the result of the given method binding.
This useful when using this tag with a Nuxeo action, for instance: they can be configured to hold method bindings as a link like "#{documentAction.createDocument('Domain')}". This information can be accessed in a page via "#{action.getLink()}". The nxh:commandButton tag will not consider this as a string, but will detect this is still an expression, and will invoke the corresponding method binding by resolving it again.
Example:<nxh:commandButton value="#{action.label}" action="#{action.getLink()}" />
Info | Value |
---|---|
Component Type | javax.faces.HtmlCommandButton |
Handler Class | org.nuxeo.ecm.platform.ui.web.tag.handler.MetaActionSourceTagHandler |
Renderer Type | javax.faces.Button |
Description | None |
Name | Required | Type | Description | No Attributes Defined. |
---|
Output generated by Vdldoc View Declaration Language Documentation Generator.