Hi, What is the best practice to call an action method from the UI Component Command Button.
1)We have to specify it as another Action Bean in the Config file.
This is not working for me.
2) can we write it in the Model Bean as a method.
This is working for me.
public class userBean{
......
public String register()
{
.....The Action Flow......
return "success";
}
}
<h:commandButton value = "#{msgbundle.action_label}" action =
"#{userBean.register}">
Thanx In Advance,
Regards,
Chandru.

