[jboss-cvs] jboss-portal/core/src/main/org/jboss/portal/core/portlet/cms ...

Julien Viet julien at jboss.com
Fri Aug 11 11:32:50 EDT 2006


  User: julien  
  Date: 06/08/11 11:32:50

  Modified:    core/src/main/org/jboss/portal/core/portlet/cms 
                        CMSPortlet.java
  Log:
  when the user is authenticated, the link provided for portal nodes or cms content should continue to use the authenticated servlet mapping
  
  Revision  Changes    Path
  1.49      +2 -2      jboss-portal/core/src/main/org/jboss/portal/core/portlet/cms/CMSPortlet.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CMSPortlet.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portal/core/portlet/cms/CMSPortlet.java,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -b -r1.48 -r1.49
  --- CMSPortlet.java	11 Jul 2006 21:07:00 -0000	1.48
  +++ CMSPortlet.java	11 Aug 2006 15:32:50 -0000	1.49
  @@ -51,7 +51,7 @@
    *
    * @author <a href="mailto:roy at jboss.org">Roy Russo</a>
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.48 $
  + * @version $Revision: 1.49 $
    *          <p/>
    *          TODO: use portlet preferences for default homepage, and allow for preference modification in doEdit()
    */
  @@ -268,7 +268,7 @@
         StreamContentCommand cmd = new StreamContentCommand(path);
         PortletInvocation invocation = ((JBossRenderResponse) resp).getInvocation();
         CoreInvocationContext ccrc = (CoreInvocationContext) invocation.getContext();
  -      return ccrc.encodeURL(cmd, URLContext.newInstance(false, false), true);
  +      return ccrc.encodeURL(cmd, null, true);
      }
   
      public void doHelp(RenderRequest req, RenderResponse resp) throws IOException, PortletException
  
  
  



More information about the jboss-cvs-commits mailing list