You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by hu...@apache.org on 2003/02/09 15:08:12 UTC

cvs commit: xml-cocoon2/src/scratchpad/src/org/apache/cocoon/taglib tag.xconf

huber       2003/02/09 06:08:12

  Added:       src/scratchpad/src/org/apache/cocoon/jxpath jxpath.xconf
               src/scratchpad/src/org/apache/cocoon/taglib tag.xconf
  Log:
  add taglib sample
  
  Revision  Changes    Path
  1.1                  xml-cocoon2/src/scratchpad/src/org/apache/cocoon/jxpath/jxpath.xconf
  
  Index: jxpath.xconf
  ===================================================================
  <?xml version="1.0"?>
  
  <xconf xpath="/cocoon" unless="component[@role='org.apache.cocoon.jxpath.JXPathCocoonContexts']">
  
    <component role="org.apache.cocoon.jxpath.JXPathCocoonContexts" 
      class="org.apache.cocoon.jxpath.JXPathCocoonContexts" 
      logger="core.jxpath"/>	
  </xconf>
  
  
  
  1.1                  xml-cocoon2/src/scratchpad/src/org/apache/cocoon/taglib/tag.xconf
  
  Index: tag.xconf
  ===================================================================
  <?xml version="1.0"?>
  
  <xconf xpath="/cocoon" unless="component[@role='org.apache.cocoon.taglib.TagSelector']">
  	
    <component role="org.apache.cocoon.taglib.TagSelector" class="org.apache.cocoon.components.ExtendedComponentSelector">
      <taglib name="urn:apache:taglib:core" class="org.apache.cocoon.components.ExtendedComponentSelector" logger="sitemap.taglib.core">
        <tag name="source" class="org.apache.cocoon.taglib.core.SourceTag" logger="sitemap.taglib.core.source" />
      </taglib>
      <taglib name="urn:apache:taglib:datetime" class="org.apache.cocoon.components.ExtendedComponentSelector" logger="sitemap.taglib.datetime">
        <tag name="months" class="org.apache.cocoon.taglib.datetime.MonthsTag" logger="sitemap.taglib.datetime.months" />
      </taglib>
      <taglib name="urn:apache:taglib:i18n" class="org.apache.cocoon.components.ExtendedComponentSelector" logger="sitemap.taglib.i18n">
        <tag name="locale" class="org.apache.cocoon.taglib.i18n.LocaleTag" logger="sitemap.taglib.i18n.Locale" />
  	</taglib>
  	<taglib name="urn:apache:taglib:jxpath:core" class="org.apache.cocoon.components.ExtendedComponentSelector" logger="sitemap.taglib.jxpath">
        <tag name="out" class="org.apache.cocoon.taglib.jxpath.core.OutTag" logger="sitemap.taglib.jxpath.core.out" />
        <tag name="forEach" class="org.apache.cocoon.taglib.jxpath.core.ForEachTag" logger="sitemap.taglib.jxpath.core.forEach" />
      </taglib>
      <taglib name="urn:apache:taglib:string" class="org.apache.cocoon.components.ExtendedComponentSelector" logger="sitemap.taglib.string">
        <tag name="lower" class="org.apache.cocoon.taglib.string.LowerCaseTag" logger="sitemap.taglib.string.lower" />
        <tag name="textRecording" class="org.apache.cocoon.taglib.string.TextRecordingTag" logger="sitemap.taglib.string.textRecording" />
        <tag name="trim" class="org.apache.cocoon.taglib.string.TrimTag" logger="sitemap.taglib.string.trim" />
        <tag name="upper" class="org.apache.cocoon.taglib.string.UpperCaseTag" logger="sitemap.taglib.string.upper" />
      </taglib>
      <taglib name="urn:apache:taglib:test" class="org.apache.cocoon.components.ExtendedComponentSelector" logger="sitemap.taglib.test">
        <tag name="hello" class="org.apache.cocoon.taglib.test.HelloWorldTag" logger="sitemap.taglib.test.hello" />
        <tag name="iteration" class="org.apache.cocoon.taglib.test.IterationTestTag" logger="sitemap.taglib.test.iteration" />
      </taglib>
    </component>
  	
  </xconf>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org