“process” attribute

The “process” attribute defines the ids of the components to be processed together with the
component which contains this attribute. In order to define processed components you could set
theirs ids into the value of the “process” attribute.
The “process” attribute has two limitations:
• it works only if “ajaxSingle” equals to “true” for given command component
• you do not have to point this attribute to one of the own parent components to avoid processing
of command component twice

<body>
<f:view>
<h:form>
<h:inputText id=”oneA” value=”#{bean.tf1}”/>
<br/>
<h:inputText id=”oneB” value=”#{bean.tf2}”/>
<br/>
<a4j:commandButton value=”Submit2″ process=”oneB” ajaxSingle=”true”
reRender=”three1, three2″/>
<br/>
one : <h:outputText id=”three1″ value=”#{bean.tf1}”/>
<br/>
two : <h:outputText id=”three2″ value=”#{bean.tf2}”/>
</h:form>
</f:view>
</body>

Leave a comment