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/11/09 17:33:31 UTC

[Myfaces Wiki] Update of "UsingPortletModes" by DaveBrondsema

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 DaveBrondsema:
http://wiki.apache.org/myfaces/UsingPortletModes

------------------------------------------------------------------------------
        mode = request.getPortletMode();       
     }
  
-    if (mode != request.getPortletMode()) {
+    if (!mode.equals(request.getPortletMode())) {
        request.setAttribute("isPortletModeChanged", Boolean.TRUE);
     } else {
        request.setAttribute("isPortletModeChanged", Boolean.FALSE);