you can either make the ActionListener a method of overviewBean or you can
use create a ValueBinding:

public void processAction(ActionEvent event) throws AbortProcessingException
{
   OverviewBean overviewBean = event.getComponent
().getFacesContext().getApplication().createValueBinding("#{overviewBean}")
}

Harlan


On 1/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I would like to access in the Action class to the managed bean
class.
How can I do this?

<managed-bean>

  <managed-bean-name>overviewBean</managed-bean-name>

</managed-bean>

In the action listener I would like to access to the managed bean

public class ExecuteActionListener implements ActionListener {

   public void processAction(ActionEvent event)
        throws AbortProcessingException {

         HOW TO ACCESS TO THE overviewBean INSTANCE?
   }

}

Thanks

Urs



Reply via email to