You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by jm...@apache.org on 2004/01/15 15:44:36 UTC

cvs commit: ws-site/targets/wsrp4j config.pdf config.html faq.pdf execution.html index.html installation.html faq.html cvs.html news.html mail.html

jmacna      2004/01/15 06:44:36

  Modified:    targets/wsrp4j faq.pdf execution.html index.html
                        installation.html faq.html cvs.html news.html
                        mail.html
  Added:       targets/wsrp4j/skin forrest.css.xslt
               targets/wsrp4j/skin/images dc.svg.xslt external-link.gif
                        corner-imports.svg.xslt rc.svg.xslt
               targets/wsrp4j config.pdf config.html
  Log:
  Various updates:  new config explanation for adding portlets,
   new links to incubator pages, updated FAQ
  
  Revision  Changes    Path
  1.1                  ws-site/targets/wsrp4j/skin/forrest.css.xslt
  
  Index: forrest.css.xslt
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <!-- This is not used by Forrest but makes it possible to debug the 
         stylesheet in standalone editors -->
    <xsl:output method = "text"  omit-xml-declaration="yes"  />
  
  <!--
    If the skin doesn't override this, at least aural styles 
    and extra-css are present 
  -->
    <xsl:template match="skinconfig">
  /* $Id: forrest.css.xslt,v 1.2 2004/01/13 08:19:53 nicolaken Exp $ */
  
     <xsl:call-template name="aural"/>
     <xsl:call-template name="a-external"/>
     <xsl:apply-templates/>
    </xsl:template>
  
    <xsl:template match="colors">
     <xsl:apply-templates/>
    </xsl:template>
    
    <xsl:template name="aural">
  
  /* ==================== aural ============================ */
  
  @media aural {
    h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
    h1 { pitch: x-low; pitch-range: 90 }
    h2 { pitch: x-low; pitch-range: 80 }
    h3 { pitch: low; pitch-range: 70 }
    h4 { pitch: medium; pitch-range: 60 }
    h5 { pitch: medium; pitch-range: 50 }
    h6 { pitch: medium; pitch-range: 40 }
    li, dt, dd { pitch: medium; richness: 60 }
    dt { stress: 80 }
    pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
    em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
    strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
    dfn { pitch: high; pitch-range: 60; stress: 60 }
    s, strike { richness: 0 }
    i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
    b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
    u { richness: 0 }
    
    :link { voice-family: harry, male }
    :visited { voice-family: betty, female }
    :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
  }
    </xsl:template>
    
    <xsl:template name="a-external">
  a.external  {
          padding: 0 20px 0px 0px;
  	display:inline; display:inline-block;
          background-repeat: no-repeat;
  	background-position: center right;
  	background-image: url(/skin/images/external-link.gif);
  }
    </xsl:template>
    
    <xsl:template match="extra-css">
      <xsl:value-of select="."/>
    </xsl:template>
    
    <xsl:template match="*"></xsl:template>
    <xsl:template match="text()"></xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  ws-site/targets/wsrp4j/skin/images/dc.svg.xslt
  
  Index: dc.svg.xslt
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:import href = "corner-imports.svg.xslt" />
    
    <!-- Diagonal 45 degrees corner -->
    <xsl:template name="figure">
          <xsl:variable name="biggersize" select="number($size)+number($size)"/>     
  		<g transform="translate(0 0.5)">
             <polygon points="0,{$size} {$size},0 {$biggersize},0 {$biggersize},{$biggersize} 0,{$biggersize}"
                      style="{$fill}{$stroke}stroke-width:1"/>
  		</g>
    </xsl:template>
        
  </xsl:stylesheet>
  
  
  
  
  1.1                  ws-site/targets/wsrp4j/skin/images/external-link.gif
  
  	<<Binary file>>
  
  
  1.1                  ws-site/targets/wsrp4j/skin/images/corner-imports.svg.xslt
  
  Index: corner-imports.svg.xslt
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
      <xsl:param name="orientation-tb"/>
      <xsl:param name="orientation-lr"/>
      <xsl:param name="size"/>
      <xsl:param name="bg-color-name"/>
      <xsl:param name="stroke-color-name"/>
      <xsl:param name="fg-color-name"/>    
  
     <!-- if not all colors are present, don't even try to render the corners -->
      <xsl:variable name="size"><xsl:choose>
      	<xsl:when test="$bg-color-name and $stroke-color-name and $fg-color-name"><xsl:value-of select="$size"/></xsl:when>
      	<xsl:otherwise>0</xsl:otherwise>
      </xsl:choose></xsl:variable>
      <xsl:variable name="smallersize" select="number($size)-1"/>
      <xsl:variable name="biggersize" select="number($size)+1"/>     
      <xsl:variable name="bg"><xsl:if test="skinconfig/colors/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if></xsl:variable>
      <xsl:variable name="fill"><xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if></xsl:variable>
      <xsl:variable name="stroke"><xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@name=$fg-color-name]/@value"/>;</xsl:if></xsl:variable>
          
  	<xsl:template match="skinconfig">
  
          	
  
  <svg width="{$size}" height="{$size}">
      <!-- background-->
      <rect x="-1" y="-1" width="{$biggersize}" height="{$biggersize}" style="{$bg}stroke-width:0"/>
  <!-- 0,0 0,-4 4,0 4,-4-->
  
      <xsl:variable name="flip-tb-scale">
        <xsl:choose>
      	<xsl:when test="$orientation-tb='t'">1</xsl:when>
      	<xsl:otherwise>-1</xsl:otherwise>
        </xsl:choose>
      </xsl:variable>
  
      <xsl:variable name="flip-lr-scale">
        <xsl:choose>
      	<xsl:when test="$orientation-lr='l'">1</xsl:when>
      	<xsl:otherwise>-1</xsl:otherwise>
        </xsl:choose>
      </xsl:variable>
      
      <xsl:variable name="flip-tb-translate">
        <xsl:choose>
      	<xsl:when test="$orientation-tb='t'">0</xsl:when>
      	<xsl:otherwise>-<xsl:value-of select="$size" /></xsl:otherwise>
        </xsl:choose>
      </xsl:variable>
  
      <xsl:variable name="flip-lr-translate">
        <xsl:choose>
      	<xsl:when test="$orientation-lr='l'">0</xsl:when>
      	<xsl:otherwise>-<xsl:value-of select="$size" /></xsl:otherwise>
        </xsl:choose>
      </xsl:variable>    
      
      <!-- flip transform -->
      <g transform="scale({$flip-lr-scale},{$flip-tb-scale}) translate({$flip-lr-translate}, {$flip-tb-translate})"> 
        <xsl:call-template name = "figure" >
       	<xsl:with-param name="size"><xsl:value-of select="$size" /></xsl:with-param>
       	<xsl:with-param name="smallersize"><xsl:value-of select="$smallersize" /></xsl:with-param>
       	<xsl:with-param name="biggersize"><xsl:value-of select="$biggersize" /></xsl:with-param>
       	<xsl:with-param name="bg"><xsl:value-of select="$bg" /></xsl:with-param>
       	<xsl:with-param name="fill"><xsl:value-of select="$fill" /></xsl:with-param>
       	<xsl:with-param name="stroke"><xsl:value-of select="$stroke" /></xsl:with-param>
        </xsl:call-template>   
      </g>
  </svg>
  </xsl:template>
  
          
    <xsl:template name="figure">
         <!-- Just change shape here -->     
  		<g transform="translate(0.5 0.5)">
  			<ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
  				 style="{$fill}{$stroke}stroke-width:1"/>
  		</g>
  	   <!-- end -->	
    </xsl:template>
      
    
    <xsl:template match="*"></xsl:template>
    <xsl:template match="text()"></xsl:template>
    
  </xsl:stylesheet>
  
  
  
  1.1                  ws-site/targets/wsrp4j/skin/images/rc.svg.xslt
  
  Index: rc.svg.xslt
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:import href = "corner-imports.svg.xslt" />
  
    <!-- Rounded corner -->
    <xsl:template name="figure">
  		<g transform="translate(0.5 0.5)">
  			<ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
  				 style="{$fill}{$stroke}stroke-width:1"/>
  		</g>
    </xsl:template>
        
  </xsl:stylesheet>
  
  
  
  
  1.2       +97 -73    ws-site/targets/wsrp4j/faq.pdf
  
  	<<Binary file>>
  
  
  1.5       +11 -1     ws-site/targets/wsrp4j/execution.html
  
  Index: execution.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/wsrp4j/execution.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- execution.html	7 Jan 2004 22:22:56 -0000	1.4
  +++ execution.html	15 Jan 2004 14:44:35 -0000	1.5
  @@ -110,6 +110,10 @@
   <div class="menuItem">
   <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList">WSRP4J TODO Wiki</a>
   </div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/projects/wsrp4j.html">WSRP4J Incubator Status</a>
  +</div>
     
   </div>
   <div class="menu">
  @@ -143,7 +147,9 @@
   <span class="menuSelected">Execution</span>
   </div>
       
  -    
  +<div class="menuItem">
  +<a href="config.html" title="Configuration Instructions">Configuration</a>
  +</div>
       
       
   <div class="menuItem">
  @@ -164,6 +170,10 @@
       
   <div class="menuItem">
   <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
  +</div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/">Incubator</a>
   </div>
     
   </div>
  
  
  
  1.11      +11 -1     ws-site/targets/wsrp4j/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/wsrp4j/index.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- index.html	7 Jan 2004 22:22:56 -0000	1.10
  +++ index.html	15 Jan 2004 14:44:35 -0000	1.11
  @@ -110,6 +110,10 @@
   <div class="menuItem">
   <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList">WSRP4J TODO Wiki</a>
   </div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/projects/wsrp4j.html">WSRP4J Incubator Status</a>
  +</div>
     
   </div>
   <div class="menu">
  @@ -143,7 +147,9 @@
   <a href="execution.html" title="Execution Instructions">Execution</a>
   </div>
       
  -    
  +<div class="menuItem">
  +<a href="config.html" title="Configuration Instructions">Configuration</a>
  +</div>
       
       
   <div class="menuItem">
  @@ -164,6 +170,10 @@
       
   <div class="menuItem">
   <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
  +</div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/">Incubator</a>
   </div>
     
   </div>
  
  
  
  1.4       +11 -1     ws-site/targets/wsrp4j/installation.html
  
  Index: installation.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/wsrp4j/installation.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- installation.html	7 Jan 2004 22:22:56 -0000	1.3
  +++ installation.html	15 Jan 2004 14:44:35 -0000	1.4
  @@ -110,6 +110,10 @@
   <div class="menuItem">
   <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList">WSRP4J TODO Wiki</a>
   </div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/projects/wsrp4j.html">WSRP4J Incubator Status</a>
  +</div>
     
   </div>
   <div class="menu">
  @@ -143,7 +147,9 @@
   <a href="execution.html" title="Execution Instructions">Execution</a>
   </div>
       
  -    
  +<div class="menuItem">
  +<a href="config.html" title="Configuration Instructions">Configuration</a>
  +</div>
       
       
   <div class="menuItem">
  @@ -164,6 +170,10 @@
       
   <div class="menuItem">
   <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
  +</div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/">Incubator</a>
   </div>
     
   </div>
  
  
  
  1.4       +38 -12    ws-site/targets/wsrp4j/faq.html
  
  Index: faq.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/wsrp4j/faq.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- faq.html	7 Jan 2004 22:22:56 -0000	1.3
  +++ faq.html	15 Jan 2004 14:44:35 -0000	1.4
  @@ -110,6 +110,10 @@
   <div class="menuItem">
   <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList">WSRP4J TODO Wiki</a>
   </div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/projects/wsrp4j.html">WSRP4J Incubator Status</a>
  +</div>
     
   </div>
   <div class="menu">
  @@ -143,7 +147,9 @@
   <a href="execution.html" title="Execution Instructions">Execution</a>
   </div>
       
  -    
  +<div class="menuItem">
  +<a href="config.html" title="Configuration Instructions">Configuration</a>
  +</div>
       
       
   <div class="menuItem">
  @@ -165,6 +171,10 @@
   <div class="menuItem">
   <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
   </div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/">Incubator</a>
  +</div>
     
   </div>
   </div>
  @@ -183,27 +193,22 @@
   </div>
   <ol>
   <li>
  -<strong>Documentation</strong>
  -<ul>
  -<li>
  -<a name="wsrp4j-menu"></a><a href="#wsrp4j">
  +<a name="name1-menu"></a><a href="#name1">
           How can I help write documentation?
         </a>
   </li>
  -</ul>
  -<br>
  +<li>
  +<a name="name2-menu"></a><a href="#name2">How can I configure my own portlets?
  +      </a>
   </li>
   </ol>
   <div class="h3">
   <h3>Answers</h3>
   </div>
   <div class="h4">
  -<h4>1. Documentation</h4>
  -</div>
  -<div class="h2">
  -<h2>1.1. 
  +<h4>1. 
           How can I help write documentation?
  -      </h2>
  +      </h4>
   </div>
           
   <p>
  @@ -211,6 +216,27 @@
             Forrest</a> to generate documentation from XML.  Please
             download a copy of Forrest, which can be used to <a href="http://xml.apache.org/forrest/validation.html">validate</a>, <a href="http://xml.apache.org/forrest/your-project.html#webapp">develop</a> and render a
             project site.
  +          
  +        </p>
  +        
  +<p>
  +          The source for the site is in the WSRP4J CVS tree under site/build/src/content/xdocs.
  +        </p>
  +        
  +<p>
  +          Whenever the site is changed, forrest is executed to generate it.  
  +          The output of the forrest build is committed to the
  +          ws-site/targets/wsrp4j CVS tree.  Every 24 hours, the contents
  +          of ws-site gets published to the web.  
  +        </p>
  +      
  +<div class="h4">
  +<h4>2. How can I configure my own portlets?
  +      </h4>
  +</div>
  +        
  +<p>
  +          Please refer to <a href="config.html">Configuring Portlets</a> for directions.   
           </p>
         
   <div id="pdf" align="right">
  
  
  
  1.4       +11 -1     ws-site/targets/wsrp4j/cvs.html
  
  Index: cvs.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/wsrp4j/cvs.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- cvs.html	7 Jan 2004 22:22:56 -0000	1.3
  +++ cvs.html	15 Jan 2004 14:44:35 -0000	1.4
  @@ -110,6 +110,10 @@
   <div class="menuItem">
   <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList">WSRP4J TODO Wiki</a>
   </div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/projects/wsrp4j.html">WSRP4J Incubator Status</a>
  +</div>
     
   </div>
   <div class="menu">
  @@ -143,7 +147,9 @@
   <a href="execution.html" title="Execution Instructions">Execution</a>
   </div>
       
  -    
  +<div class="menuItem">
  +<a href="config.html" title="Configuration Instructions">Configuration</a>
  +</div>
       
       
   <div class="menuItem">
  @@ -164,6 +170,10 @@
       
   <div class="menuItem">
   <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
  +</div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/">Incubator</a>
   </div>
     
   </div>
  
  
  
  1.7       +11 -1     ws-site/targets/wsrp4j/news.html
  
  Index: news.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/wsrp4j/news.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- news.html	7 Jan 2004 22:22:56 -0000	1.6
  +++ news.html	15 Jan 2004 14:44:35 -0000	1.7
  @@ -110,6 +110,10 @@
   <div class="menuItem">
   <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList">WSRP4J TODO Wiki</a>
   </div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/projects/wsrp4j.html">WSRP4J Incubator Status</a>
  +</div>
     
   </div>
   <div class="menu">
  @@ -143,7 +147,9 @@
   <a href="execution.html" title="Execution Instructions">Execution</a>
   </div>
       
  -    
  +<div class="menuItem">
  +<a href="config.html" title="Configuration Instructions">Configuration</a>
  +</div>
       
       
   <div class="menuItem">
  @@ -164,6 +170,10 @@
       
   <div class="menuItem">
   <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
  +</div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/">Incubator</a>
   </div>
     
   </div>
  
  
  
  1.4       +11 -1     ws-site/targets/wsrp4j/mail.html
  
  Index: mail.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/wsrp4j/mail.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- mail.html	7 Jan 2004 22:22:56 -0000	1.3
  +++ mail.html	15 Jan 2004 14:44:35 -0000	1.4
  @@ -110,6 +110,10 @@
   <div class="menuItem">
   <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList">WSRP4J TODO Wiki</a>
   </div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/projects/wsrp4j.html">WSRP4J Incubator Status</a>
  +</div>
     
   </div>
   <div class="menu">
  @@ -143,7 +147,9 @@
   <a href="execution.html" title="Execution Instructions">Execution</a>
   </div>
       
  -    
  +<div class="menuItem">
  +<a href="config.html" title="Configuration Instructions">Configuration</a>
  +</div>
       
       
   <div class="menuItem">
  @@ -164,6 +170,10 @@
       
   <div class="menuItem">
   <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
  +</div>
  +    
  +<div class="menuItem">
  +<a href="http://incubator.apache.org/">Incubator</a>
   </div>
     
   </div>
  
  
  
  1.1                  ws-site/targets/wsrp4j/config.pdf
  
  	<<Binary file>>
  
  
  1.1                  ws-site/targets/wsrp4j/config.html
  
  Index: config.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  <html>
  <head>
  <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <!--*** This is a generated file.  Do not edit.  ***-->
  <link rel="stylesheet" href="skin/tigris.css" type="text/css">
  <link rel="stylesheet" href="skin/mysite.css" type="text/css">
  <link rel="stylesheet" href="skin/site.css" type="text/css">
  <link media="print" rel="stylesheet" href="skin/print.css" type="text/css">
  <title>Configuring Portlets</title>
  </head>
  <body bgcolor="white" class="composite">
  <!--================= start Banner ==================-->
  <div id="banner">
  <table width="100%" cellpadding="8" cellspacing="0" summary="banner" border="0">
  <tbody>
  <tr>
  <!--================= start Group Logo ==================-->
  <td align="left">
  <div class="groupLogo">
  <a href="http://ws.apache.org"><img border="0" class="logoImage" alt="Web Services" src="images/group-logo.gif"></a>
  </div>
  </td>
  <!--================= end Group Logo ==================-->
  <!--================= start Project Logo ==================--><td align="right">
  <div class="projectLogo">
  <a href="http://ws.apache.org/wsrp4j/"><img border="0" class="logoImage" alt="WSRP4J" src="images/wsrp4j-logo-big.png"></a>
  </div>
  </td>
  <!--================= end Project Logo ==================-->
  <!--================= start Search ==================--><td valign="top" rowspan="2" align="right" class="search">
  <form target="_blank" action="http://www.google.com/search" method="get">
  <table summary="search" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td bgcolor="#a5b6c6" colspan="3"><img height="10" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td colspan="3"><img height="8" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td><img height="1" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="ws.apache.org" name="sitesearch" type="hidden"><input size="10" name="q" id="query" type="text"><img height="1" width="5" alt="" src="skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
  <br>
                            Search WSRP4J</td><td><img height="1" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td colspan="3"><img height="7" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td class="bottom-left-thick"></td><td bgcolor="#a5b6c6"><img height="1" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td><td class="bottom-right-thick"></td>
  </tr>
  </table>
  </form>
  </td>
  <!--================= end Search ==================-->
  </tr>
  </tbody>
  </table>
  </div>
  <!--================= end Banner ==================-->
  <!--================= start Main ==================-->
  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="nav" id="breadcrumbs">
  <tbody>
  <!--================= start Status ==================-->
  <tr class="status">
  <td>
  <!--================= start BreadCrumb ==================--><a href="http://apache.org">Apache</a> | <a href="http://ws.apache.org/">Web Services</a> | <a href="http://ws.apache.org/wsrp4j/">WSRP4J</a>
  <!--================= end BreadCrumb ==================--></td><td id="tabs">
  <!--================= start Tabs ==================-->
  <div class="tab">
  <span class="selectedTab"><a class="base-selected" href="index.html">Home</a></span> | <span class="unselectedTab"><a href="arch/arch.html">Architecture</a></span> | <a title="PDF file of this page" href="config.pdf">PDF</a>
  </div>
  <!--================= end Tabs ==================-->
  </td>
  </tr>
  </tbody>
  </table>
  <!--================= end Status ==================-->
  <table id="main" width="100%" cellpadding="8" cellspacing="0" summary="" border="0">
  <tbody>
  <tr valign="top">
  <!--================= start Menu ==================-->
  <td id="leftcol">
  <div id="navcolumn">
  <div class="menuBar">
  <div class="menu">
  <span class="menuLabel">About WSRP4J</span>
      
  <div class="menuItem">
  <a href="index.html" title="Welcome to WSRP4J">Welcome</a>
  </div>
      
      
  <div class="menuItem">
  <a href="news.html" title="WSRP in the News">News</a>
  </div>
      
      
  <div class="menuItem">
  <a href="http://nagoya.apache.org/bugzilla/" title="Link to Bugzilla">Bugs (bugzilla)</a>
  </div>
      
  <div class="menuItem">
  <a href="mail.html" title="Mailing Lists">Mailing Lists</a>
  </div>
      
  <div class="menuItem">
  <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?WSRPProjectPages">WSRP4J Wiki Pages</a>
  </div>
      
  <div class="menuItem">
  <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList">WSRP4J TODO Wiki</a>
  </div>
      
  <div class="menuItem">
  <a href="http://incubator.apache.org/projects/wsrp4j.html">WSRP4J Incubator Status</a>
  </div>
    
  </div>
  <div class="menu">
  <span class="menuLabel">Architecture</span>
        
  <div class="menuItem">
  <a href="arch/arch.html" title="Architecture Overview">Overview</a>
  </div>
        
  <div class="menuItem">
  <a href="arch/consumer.html" title="Architecture of WSRP Consumer">Consumer</a>
  </div>
        
  <div class="menuItem">
  <a href="arch/producer.html" title="Architecture of WSRP Producer">Producer</a>
  </div>
    
  </div>
  <div class="menu">
  <span class="menuLabel">Getting Started</span>
      
  <div class="menuItem">
  <a href="cvs.html" title="How to see source">CVS Repository</a>
  </div>
      
  <div class="menuItem">
  <a href="installation.html" title="Installation Instructions">Installation</a>
  </div>
      
  <div class="menuItem">
  <a href="execution.html" title="Execution Instructions">Execution</a>
  </div>
      
  <div class="menuItem">
  <span class="menuSelected">Configuration</span>
  </div>
      
      
  <div class="menuItem">
  <a href="faq.html" title="Frequently Asked Questions">FAQ</a>
  </div>
    
  </div>
  <div class="menu">
  <span class="menuLabel">Links</span>
      
  <div class="menuItem">
  <a href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=wsrp">OASIS WSRP</a>
  </div>
      
  <div class="menuItem">
  <a href="http://jakarta.apache.org/pluto/">Pluto</a>
  </div>
      
  <div class="menuItem">
  <a href="http://jakarta.apache.org/tomcat/">Tomcat</a>
  </div>
      
  <div class="menuItem">
  <a href="http://incubator.apache.org/">Incubator</a>
  </div>
    
  </div>
  </div>
  </div>
  </td>
  <!--================= end Menu ==================-->
  <!--================= start Content ==================--><td>
  <div id="bodycol">
  <div class="app">
  <div align="center">
  <h1>Configuring Portlets</h1>
  </div>
  <div class="h3"> 
     
     
      
  <ol>
        
  <li>Edit the portletentityregistry.xml file.  
        (e.g. c:/Tomcat4.1/webapps/wsrp/WEB-INF/data/portletentityregistry.xml)
        <p> Add a new application element for your webapp.</p>
        
  <p> The definition ID has to match the webapp name, so for the sample, this is wsrptest.</p>
        
  <p> The portlet id will map to its handle, so make up a number.</p>
        
  <p> The definition id maps to it's name in the portlet.xml file like
        so:  &lt;webapp-name&gt;.&lt;portlet-name&gt;</p>
        
  </li>
  
        
  <li>Create a portlet.xml file in your webapps/webapp-name/WEB-INF/ directory.
        <p>Use webapps/wsrptest/WEB-INF/portlet.xml as a reference.</p>
        
  <p>The portlet name must match the second part of the definition id above.</p>
        
  </li>
        <!--<note>WRT to handles.  It looks like the handle looked for by the Consumer is
        0.1, but the portlet ID is 1.  So if your new portlet has an ID of 3, then it's handle will be 0.3.
        </note>-->
        
  <li>To add the portlet to the Consumer, you will need to create an xml file
        in driver/SwingConsumer/persistence/portlets. 
        <p> Use the existing files as a guide.</p>
        
  </li>
      
  </ol>
    
  
  <div id="pdf" align="right">
  <a href="config.pdf"><img alt="PDF" src="skin/images/pdfdoc.gif" class="skin"><br>
            PDF</a>
  </div>
  </div>
  </div>
  </div>
  </td>
  <!--================= end Content ==================-->
  </tr>
  </tbody>
  </table>
  <!--================= end Main ==================-->
  <!--================= start Footer ==================-->
  <div id="footer">
  <table summary="footer" cellspacing="0" cellpadding="4" width="100%" border="0">
  <tbody>
  <tr>
  <!--================= start Copyright ==================-->
  <td colspan="2">
  <div align="center">
  <div class="copyright">
                Copyright &copy; 2003&nbsp;The Apache Software Foundation.. All rights reserved.
              </div>
  </div>
  </td>
  <!--================= end Copyright ==================-->
  </tr>
  <tr>
  <td align="left">
  <!--================= start Host ==================-->
  <div align="left">
  <div class="host">
  <a href="http://apache.org"><img border="0" class="logoImage" alt="" src="images/icon.png"></a>
  </div>
  </div>
  <!--================= end Host ==================-->
  </td><td align="right">
  <!--================= start Credits ==================-->
  <div align="right">
  <div class="credit"></div>
  </div>
  <!--================= end Credits ==================-->
  </td>
  </tr>
  </tbody>
  </table>
  </div>
  <!--================= end Footer ==================-->
  </body>
  </html>