“ajaxSingle” attribute

When “ajaxSingle” attribute value is “true”, it orders to include only a value of the current
component (along with <f:param> or <a4j:action> param values if any) to the request map. In
case of <a4j:support> , it is a value of the parent component.

<h:form>
<h:inputText value=”#{person.name}”>
<a4j:support event=”onkeyup” reRender=”test” ajaxSingle=”true”/>
</h:inputText>
<h:inputText value=”#{person.middleName}”/>
</form>

In this example the request contains only the input component causes the request generation, not
all the components contained on a form, because of “ajaxSingle”=”true” usage.

Leave a comment