| |||||||
FRAMES NO FRAMES |
<%@ taglib prefix="nxa4j" uri="http://nuxeo.org/nxweb/a4j" %>
<anyxmlelement xmlns:nxa4j="http://nuxeo.org/nxweb/a4j" />
The NXWebPlatform taglib that encapsulates the usual ajax4jsf 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 | nxa4j |
URI | http://nuxeo.org/nxweb/a4j |
Tag Summary | |
commandButton | All usual a4j: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 nxa4j:commandButton tag will not consider this as a string (default behaviour of the a4j:commandButton tag) but will invoke the corresponding method binding. |
commandLink | All usual a4j: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 nxa4j:commandLink tag will not consider this as a string (default behaviour of the a4j:commandLink tag) but will invoke the corresponding method binding. |
| |||||||
FRAMES NO FRAMES |