0

People,

I have an application with RichFaces 3 that works perfectly and i'm trying change to RichFaces 4.

The problem that could not solve involves the use of the .

On RichFaces 3, the below code works:

<a4j:commandButton value="button test" action="#{bean.executeAction()}" reRender="myForm"/>

I try change to

<a4j:commanButton value="button teste" action="#{bean.executeAction()}" render="myForm"/>

or

<a4j:commanButton value="button teste" actionListener="#{bean.executeAction()}" render="myForm"/>

or n others possibilities, however, nothing work.

Help please.

1 Answers1

0

You could try to add the 'execute'.

<a4j:commandButton value="Button" type="submit" 
                   id="button_1" render="myForm"
                   execute="@form" 
                   action="#{bean.executeAction()}" />

This button works for me at least

W vd L
  • 625
  • 9
  • 26