Patrick Dalla Bernardina wrote:
> How can I call an managed bean action when portlet mode (EDIT,VIEW) is
> changed and process the navigation rules to discover the page to be
> rendered?

You can use http://wiki.apache.org/myfaces/UsingPortletModes as a
starting point.

To invoke a managed bean action, something like this will work I think:

ValueBinding binding =
FacesContext.getCurrentInstance().getApplication().createValueBinding("#{myBean.someAction}");
Object methodResult = binding.getValue(FacesContext.getCurrentInstance());


-- 
Dave Brondsema
Software Developer
Cornerstone University

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to