“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.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.