Reputation: 7357
I'm updating my RichFaces 3.3.3 to 4.5.2.Final and I need to replace
<a4j:support
event="change"
eventsQueue="balbanceQueue"
reRender=" dropCheck"/>
to the appropriate RichFaces 4.5.2.Final tag. As the migration guide stated, we should replace a4j:support
with a4j:ajax
and reRender
with just render
. But I couldn't find what eventsQueue
attribute should be replaced with?
Upvotes: 0
Views: 1946
Reputation: 20691
You have two options
Use the queueId
on the ajax tag:
<a4j:ajax event="change" render="dropCheck" queueId="balbanceQueue"/>
Use the a4j:attachQueue
component, nested within the component that'll trigger the ajax-request. This tag is used in combination with the a4j:queue
component to provide scoped ajax-queue definition. Using this, you should have something that looks like:
<a4j:queue name="balbanceQueue"/>
<h:inputText>
<a4j:ajax event="change" render="dropCheck"/>
<a4j:attachQueue name="balbanceQueue"/>
</h:inputText>
Upvotes: 1