You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by pa...@apache.org on 2002/07/17 00:47:36 UTC
cvs commit: jakarta-jetspeed/docs/site portlet_config_JSP.html
paulsp 2002/07/16 15:47:36
Modified: xdocs portlet_config_JSP.xml
docs/site portlet_config_JSP.html
Log:
Add tags to the documentation
Revision Changes Path
1.5 +92 -18 jakarta-jetspeed/xdocs/portlet_config_JSP.xml
Index: portlet_config_JSP.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/xdocs/portlet_config_JSP.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- portlet_config_JSP.xml 27 May 2002 13:11:51 -0000 1.4
+++ portlet_config_JSP.xml 16 Jul 2002 22:47:36 -0000 1.5
@@ -40,6 +40,10 @@
declarations.
</p>
<p>
+ To use Jetspeed TagLibs, the following must appear in the JSP.<br/>
+ <code><%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %></code>
+ </p>
+ <p>
The following table documents some of the available tags. The template.tdl file will
contain a more complete list.
</p>
@@ -80,8 +84,68 @@
</table>
</td>
</tr>
+
+ <tr>
+ <td>jetspeed:uriLookup</td>
+ <td>
+ Return value of uriLookup<br/>
+ <table>
+ <tr>
+ <th>Value</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>Customize</td>
+ <td>Link to the Customizer</td>
+ </tr>
+ <tr>
+ <td>EditAccount</td>
+ <td>Link to edit the current user's account</td>
+ </tr>
+ <tr>
+ <td>Login</td>
+ <td>Link to login a user</td>
+ </tr>
+ <tr>
+ <td>Logout</td>
+ <td>Link to logout the current user</td>
+ </tr>
+ <tr>
+ <td>Home</td>
+ <td>Link to this Jetspeed installation Home Page</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>jetspeed:contentUri</td>
+ <td>
+ Return value of contentUri<br/>
+ <table>
+ <tr>
+ <th>Value</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>apidocs</td>
+ <td>Link to the Jetspeeds JavaDocs</td>
+ </tr>
+ <tr>
+ <td>docs</td>
+ <td>Link to the Jetspeed Documentation</td>
+ </tr>
+ <tr>
+ <td>rss</td>
+ <td>Link to RSS files</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
</table>
<br/>
+
</subsection>
<subsection name='Supported Media Types'>
<p>
@@ -136,26 +200,36 @@
]]></source>
</section>
-<!--
-<section name='Example of use in Portal'>
-</section>
--->
-<!--
-<section name='Know problems (version 1.3a1)'>
+<section name='Example of Portlets'>
<p>
- <ul>
- </ul>
- </p>
-</section>
--->
-<!--
-<section name='Questions (version 1.3a2-dev)'>
- <p>
- <ul>
- <li>Does the JSP have access to Parameters, i.e. Can I add parameters that only the JSP will use?</li>
- </ul>
+ Jetspeed include the following example of JSP porlets.
</p>
+ <table>
+ <tr>
+ <th>Portlet Name</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>HelloJSP</td>
+ <td>Basic JSP portlet</td>
+ </tr>
+ <tr>
+ <td>JSP1_1andJetspeedTagLib</td>
+ <td>
+ Displays data from the servlet 1.1 request class and data from the
+ Jetspeed TagLib.
+ </td>
+ </tr>
+ <tr>
+ <td>JSP1_2andJetspeedTagLib</td>
+ <td>
+ Displays data from the servlet 1.2 request class and data from the
+ Jetspeed TagLib. This portlet will NOT work with Tomcat v3.x, or any
+ other Servlet 1.1 container.
+ </td>
+ </tr>
+ </table>
</section>
--->
+
</body>
</document>
1.10 +149 -0 jakarta-jetspeed/docs/site/portlet_config_JSP.html
Index: portlet_config_JSP.html
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/docs/site/portlet_config_JSP.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- portlet_config_JSP.html 27 May 2002 13:11:51 -0000 1.9
+++ portlet_config_JSP.html 16 Jul 2002 22:47:36 -0000 1.10
@@ -164,6 +164,10 @@
declarations.
</p>
<p>
+ To use Jetspeed TagLibs, the following must appear in the JSP.<br />
+ <code><%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %></code>
+ </p>
+ <p>
The following table documents some of the available tags. The template.tdl file will
contain a more complete list.
</p>
@@ -220,6 +224,78 @@
</font>
</td>
</tr>
+ <tr>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ jetspeed:uriLookup
+ </font>
+</td>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+
+ Return value of uriLookup<br />
+ <table>
+ <tr>
+ <th>Value</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>Customize</td>
+ <td>Link to the Customizer</td>
+ </tr>
+ <tr>
+ <td>EditAccount</td>
+ <td>Link to edit the current user's account</td>
+ </tr>
+ <tr>
+ <td>Login</td>
+ <td>Link to login a user</td>
+ </tr>
+ <tr>
+ <td>Logout</td>
+ <td>Link to logout the current user</td>
+ </tr>
+ <tr>
+ <td>Home</td>
+ <td>Link to this Jetspeed installation Home Page</td>
+ </tr>
+ </table>
+
+ </font>
+</td>
+ </tr>
+ <tr>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ jetspeed:contentUri
+ </font>
+</td>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+
+ Return value of contentUri<br />
+ <table>
+ <tr>
+ <th>Value</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>apidocs</td>
+ <td>Link to the Jetspeeds JavaDocs</td>
+ </tr>
+ <tr>
+ <td>docs</td>
+ <td>Link to the Jetspeed Documentation</td>
+ </tr>
+ <tr>
+ <td>rss</td>
+ <td>Link to RSS files</td>
+ </tr>
+ </table>
+
+ </font>
+</td>
+ </tr>
</table>
<br />
</blockquote>
@@ -339,6 +415,79 @@
</tr>
</table>
</div>
+ </blockquote>
+ </p>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="#525D76">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="Example of Portlets"><strong>Example of Portlets</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <p>
+ Jetspeed include the following example of JSP porlets.
+ </p>
+ <table>
+ <tr>
+ <td bgcolor="#039acc" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ Portlet Name
+ </font>
+</td>
+ <td bgcolor="#039acc" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ Description
+ </font>
+</td>
+ </tr>
+ <tr>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ HelloJSP
+ </font>
+</td>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ Basic JSP portlet
+ </font>
+</td>
+ </tr>
+ <tr>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ JSP1_1andJetspeedTagLib
+ </font>
+</td>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+
+ Displays data from the servlet 1.1 request class and data from the
+ Jetspeed TagLib.
+
+ </font>
+</td>
+ </tr>
+ <tr>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ JSP1_2andJetspeedTagLib
+ </font>
+</td>
+ <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+
+ Displays data from the servlet 1.2 request class and data from the
+ Jetspeed TagLib. This portlet will NOT work with Tomcat v3.x, or any
+ other Servlet 1.1 container.
+
+ </font>
+</td>
+ </tr>
+ </table>
</blockquote>
</p>
</td></tr>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>