myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "UsingPortletModes" by DaveBrondsema
Date Wed, 09 Nov 2005 16:33:31 GMT
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);

Mime
View raw message