Yes, do what Andrew said. The code pattern will look something like:

public String firstAction() {
  MyBean secondBean = getMySecondBean();
  if(someCondition) {
    return secondBean.secondAction();
  }
}

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Andrew Robinson wrote:
Just call the action method of another bean from the action method
invoked by the UICommand componen.

On 11/29/06, Amit Kushwaha <[EMAIL PROTECTED]> wrote:
Hi.

Is there a action chaining like functionality for managed beans?  For
ex, I'd like the result of a managed bean invoke a method in another
managed bean which takes the user to a view.

I have tried, to-action-id but that didn't work. Am dealing with pre JSF
1.2.

TIA.

Regards.

Amit








Reply via email to