portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggol...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/util/template BaseJetspeedLink.java
Date Tue, 07 May 2002 14:12:38 GMT
ggolden     02/05/07 07:12:38

  Modified:    src/java/org/apache/jetspeed/util/template
                        BaseJetspeedLink.java
  Log:
  changed getTemplate() to use the rundata's request template
  
  Revision  Changes    Path
  1.10      +3 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/BaseJetspeedLink.java
  
  Index: BaseJetspeedLink.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/BaseJetspeedLink.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- BaseJetspeedLink.java	5 May 2002 03:07:10 -0000	1.9
  +++ BaseJetspeedLink.java	7 May 2002 14:12:38 -0000	1.10
  @@ -86,7 +86,7 @@
    * rendering code. This is done currently in VelocityPortlet.</p>
    *
    * @author <a href="mailto:paulsp@apache.org">Paul Spencer</a>
  - * @version $Id: BaseJetspeedLink.java,v 1.9 2002/05/05 03:07:10 paulsp Exp $
  + * @version $Id: BaseJetspeedLink.java,v 1.10 2002/05/07 14:12:38 ggolden Exp $
    */
   public class BaseJetspeedLink implements ApplicationTool, JetspeedLink
   {
  @@ -236,7 +236,8 @@
        */
       public DynamicURI getTemplate()
       {
  -        return getLink( JetspeedLink.DEFAULT,null,"",JetspeedLink.DEFAULT,null,"",null,"","","");
  +        String template = rundata.getRequestedTemplate();
  +        return getLink( JetspeedLink.CURRENT, null, null, JetspeedLink.DEFAULT, null, null,
template, null, null, null);
       }
       
       /**
  
  
  

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


Mime
View raw message