A4j: support tag not found using JSF 2

just trying to integrate this link command

<a4j:commandLink reRender="results-view" actionListener="#{myaction}" oncomplete="return false;" value="#{msg1.advanced_search}"> <a4j:support event="onclick"> <f:setPropertyActionListener value="./page.xhtml" target="#{changeViews['new-view'].value}" /> </a4j:support> </a4j:commandLink> 

About the statement that uses JSF2. If I leave it, I get this error

Tag library support namespace: http://richfaces.org/a4j , but no tags were defined for the name: support

I tried to find something on the net, but I could not understand. Some help would be great.
thanks in advance

+8
jsf jsf-2 richfaces ajax4jsf
source share
1 answer

a4j:support been replaced with a4j:ajax since RichFaces 4.x.

It seems you are reading the RichFaces 3.x documentation or just upgraded RichFaces 3.x to 4.x. This is a pretty important step when a lot has changed. Read the migration guide (in this particular case it is described in a4j components ), and also read the new RF4 link .

+21
source share

All Articles