| |||||||
FRAMES NO FRAMES |
<%@ taglib prefix="nxh" uri="http://nuxeo.org/nxweb/html" %>
<anyxmlelement xmlns:nxh="http://nuxeo.org/nxweb/html" />
The NXWebPlatform taglib that encapsulates the usual jsf tags.
The point is to allow adding new features to existing tags without having to change too many templates. Only tags presenting a specific behaviour are described here.
New features:
value
attribute accepts not only values bindings, but also method bindings. This will invoke the method when trying to get the value. Setting the value is not possible. The parentheses are always required, to distinguish the value from a standard value binding (even if the method takes no parameters). Tag Library Information | |
Display Name | None |
Version | 1.0 |
Short Name | nxh |
URI | http://nuxeo.org/nxweb/html |
Tag Summary | |
commandButton | 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. NXActions items 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 (default behaviour of the h:commandButton tag) but will invoke the corresponding method binding. |
commandLink | All usual h:commandLink attributes are accepted here. The tag specificity is that it can invoke a method binding which is the result of the given method binding. NXActions items 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:commandLink tag will not consider this as a string (default behaviour of the h:commandLink tag) but will invoke the corresponding method binding. |
| |||||||
FRAMES NO FRAMES |