portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/cps/src/java/org/apache/jetspeed/cps/template TemplateLocatorService.java
Date Mon, 12 Jan 2004 18:19:46 GMT
weaver      2004/01/12 10:19:46

  Modified:    cps/src/java/org/apache/jetspeed/cps/template
                        TemplateLocatorService.java
  Log:
  Added sample config to the javadocs
  
  Revision  Changes    Path
  1.2       +21 -1     jakarta-jetspeed-2/cps/src/java/org/apache/jetspeed/cps/template/TemplateLocatorService.java
  
  Index: TemplateLocatorService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/cps/src/java/org/apache/jetspeed/cps/template/TemplateLocatorService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TemplateLocatorService.java	28 Jul 2003 23:46:44 -0000	1.1
  +++ TemplateLocatorService.java	12 Jan 2004 18:19:46 -0000	1.2
  @@ -60,6 +60,26 @@
   /**
    * TemplateLocatorService
    *
  + * <h3>Sample Configuration</h3> 
  + *<pre>
  + * <code>
  + * # -------------------------------------------------------------------
  + * #
  + * # T E M P L A T E  L O C A T O R  S E R V I C E
  + * #
  + * # -------------------------------------------------------------------
  + * services.template.classname = org.apache.jetspeed.cps.template.TemplateLocatorServiceImpl
  + * # This parameter supports a comma separated list of directories
  + * # Each directory is searched in order to find a template.
  + * # This is useful for example, in defining application specific templates in a separate
structure from the jetspeed core templates
  + * services.template.roots = WEB-INF/templates/vm
  + * services.template.locator.class = org.apache.jetspeed.cps.template.TemplateLocatorImpl
  + * services.template.class = org.apache.jetspeed.cps.template.TemplateImpl
  + * services.template.locator.default.type = portlet
  + * services.template.default.template.name = default.vm
  + * services.template.default.extension = vm
  + *  </code>
  + * </pre>
    * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
    * @version $Id$
    */
  
  
  

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