portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: jakarta-jetspeed-2/portals-bridges/struts/src/java/org/apache/portals/bridges/struts PortletServlet.java
Date Wed, 02 Mar 2005 10:28:51 GMT
ate         2005/03/02 02:28:51

  Modified:    portals-bridges/struts/src/java/org/apache/portals/bridges/struts
                        PortletServlet.java
  Log:
  Fix determination if a configured PortletRequestProcessor classname is a valid PortletTilesRequestProcessor.
  Thanks Colin O'Toole for reporting and fixing this!
  
  Revision  Changes    Path
  1.5       +3 -3      jakarta-jetspeed-2/portals-bridges/struts/src/java/org/apache/portals/bridges/struts/PortletServlet.java
  
  Index: PortletServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portals-bridges/struts/src/java/org/apache/portals/bridges/struts/PortletServlet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PortletServlet.java	27 Jan 2005 13:41:54 -0000	1.4
  +++ PortletServlet.java	2 Mar 2005 10:28:51 -0000	1.5
  @@ -98,11 +98,11 @@
           
           String newProcessorClassName = null;
           
  -        if ((needTilesProcessor && !PortletTilesRequestProcessor.class.isAssignableFrom(processorClass)))
  +        if (needTilesProcessor && !PortletTilesRequestProcessor.class.isAssignableFrom(processorClass))
           {
               newProcessorClassName = PortletTilesRequestProcessor.class.getName();
           }
  -        else if (!PortletRequestProcessor.class.isAssignableFrom(processorClass))
  +        else if (!needTilesProcessor && !PortletRequestProcessor.class.isAssignableFrom(processorClass))
           {
               newProcessorClassName = PortletRequestProcessor.class.getName();
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message