portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/util/template JetspeedTemplateNavigation.java
Date Sun, 25 Nov 2001 20:55:05 GMT
nacho       01/11/25 12:55:05

  Modified:    src/java/org/apache/jetspeed/util/template
                        JetspeedTemplateNavigation.java
  Log:
  Preparing to be a regular tool, not posible for now, need a non args
  constructor in TemplateNavigation inside turbine
  
  Revision  Changes    Path
  1.2       +16 -1     jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/JetspeedTemplateNavigation.java
  
  Index: JetspeedTemplateNavigation.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/JetspeedTemplateNavigation.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JetspeedTemplateNavigation.java	2001/11/24 00:44:37	1.1
  +++ JetspeedTemplateNavigation.java	2001/11/25 20:55:05	1.2
  @@ -67,11 +67,26 @@
   
   
       private RunData data;
  -
  +/*XXX add no args constructor to turbine's TemplateNavigation
  +    public JetspeedTemplateNavigation(){
  +        data=null;
  +    }
  +*/    
       public JetspeedTemplateNavigation(RunData data) {
           super(data);
           this.data=data;
       }
  +    /**
  +     * This will initialise a JetspeedTemplateNavigation object that was
  +     * constructed with the default constructor (ApplicationTool
  +     * method).
  +     *
  +     * @param data assumed to be a RunData object
  +     */
  +    public void init(Object data){
  +        this.data = (RunData)data;
  +    }
  +
   
       public TemplateNavigation setTemplate(String template) {
           return super.setTemplate(TemplateLocator.locateNavigationTemplate(data,template));
  
  
  

--
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