You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2005/07/11 19:46:11 UTC

[Myfaces Wiki] Trivial Update of "UsingPortletUtil" by StanSilvert

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by StanSilvert:
http://wiki.apache.org/myfaces/UsingPortletUtil

------------------------------------------------------------------------------
  MyFaces has a static utility class that can let your application know if it is running as a portlet or not.  This class is org.apache.myfaces.portlet.PortletUtil.  It has two static methods:
  
  {{{
- public static boolean PortletUtil.isRenderResponse(FacesContext facesContext)
+ public static boolean isRenderResponse(FacesContext facesContext)
- public static boolean PortletUtil.isPortletRequest(FacesContext facesContext)
+ public static boolean isPortletRequest(FacesContext facesContext)
  }}}
  
  You will probably never use isRenderResponse().  It is used by the MyFaces implementation.