struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dge...@locus.apache.org
Subject cvs commit: jakarta-struts/src/doc struts-template.xml
Date Sun, 08 Oct 2000 21:17:19 GMT
dgeary      00/10/08 14:17:19

  Added:       src/doc  struts-template.xml
  Log:
  Adding XML file that generates template tld.
  
  Revision  Changes    Path
  1.1                  jakarta-struts/src/doc/struts-template.xml
  
  Index: struts-template.xml
  ===================================================================
  <?xml version="1.0"?>
  <document url="./struts-template.xml">
  
  <properties>
    <author>David Geary</author>
    <title>The Struts Framework Project - Template Tags</title>
  </properties>
  
  <body>
  
  
  <taglib>
  
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>Struts Template Tags</shortname>
    <display-name>Template Tags</display-name>
    <uri>http://jakarta.apache.org/struts/tags-template-1.0</uri>
    <info>
    This tag library contains three tags: put, get, and insert. Put tags
    put content into request scope, which is retrieved by a get tag in
    a different JSP page (the template). That template is included with the
    insert tag.
    </info>
  
  
    <tag>
  
      <name>insert</name>
      <summary>
      Inserts (includes, actually) a template. Templates are JSP pages that
      include parameterized content. That content comes from put tags that
      are children of insert tags.
      </summary>
      <tagclass>org.apache.struts.taglib.template.InsertTag</tagclass>
      <bodycontent>JSP</bodycontent>
      <info>
      This tag's enclosed put tags put content (URIs or text) into request 
      scope. That content is retrieved by get tags in a template (templates 
      are JSP pages). That template is included by this tag's end tag.
      </info>
  
      <attribute>
        <name>template</name>
        <required>true</required>
        <rtexprvalue>true</rtexprvalue>
        <info>
        A string representing the URI of a template (a JSP page).
        </info>
      </attribute>
  
  
    </tag>
  
  
    <tag>
  
      <name>put</name>
      <summary>
      Puts content into request scope.
      </summary>
      <tagclass>org.apache.struts.taglib.template.PutTag</tagclass>
      <bodycontent>empty</bodycontent>
      <info>
      Put content into request scope.
      </info>
  
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>true</rtexprvalue>
        <info>
        The name of the content.
        </info>
      </attribute>
  
      <attribute>
        <name>content</name>
        <required>true</required>
        <rtexprvalue>true</rtexprvalue>
        <info>
        Content that's put into request scope.
        </info>
      </attribute>
  
      <attribute>
        <name>direct</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
        <info>
        Determines how content is handled: true means content is
        printed <i>direct</i>ly; false, the default, means content
        is included.
        </info>
      </attribute>
    </tag>
  
  
    <tag>
  
      <name>get</name>
      <summary>
      Gets the content from request scope that was put there by a
      put tag.
      </summary>
      <tagclass>org.apache.struts.taglib.template.GetTag</tagclass>
      <bodycontent>empty</bodycontent>
      <info>
      Retrieve content from request scope and include it.
      </info>
  
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>true</rtexprvalue>
        <info>
        The name of the content to get from request scope.
        </info>
      </attribute>
  
    </tag>
  
  
  </taglib>
  
  </body>
  
  </document>
  
  
  

Mime
View raw message