CVS: Tapestry/examples/Tutorial/context index.html,NONE,1.1.2.1 redirect-target.html,NONE,1.1.2.1

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/examples/Tutorial/context
In directory sc8-pr-cvs1:/tmp/cvs-serv10583/examples/Tutorial/context

Added Files:
      Tag: hship-2-3
	index.html redirect-target.html 
Log Message:
Reorganize the tutorials to use new 2.4 features.

--- NEW FILE: index.html ---

<html>
<!-- $Id: index.html,v 1.1.2.1 2003/01/02 03:15:31 hship Exp $ -->
<head>
<title>Tapestry Tutorial</title>
</head>
<body bgcolor="#839cd1">
<h1>Tapestry Tutorial</h1>
<p>Please select one of the following Tapestry applications from the tutorial:
<table border="0">
	<tr valign="top" bgcolor="silver">
		<th><a href="simple/app">Simple</a>
		</th>
		<td>Shows simple dynamic behaviors, on a single page.
		</td>
	</tr>

	<tr valign="top">
		<th><a href="hangman/app">Hangman</a>
		</th>
		<td>Basic implementation of the game of Hangman.  Guess letters one at a time
    until you run out of guesses, or determine the secret word.  More advanced use of forms,
    as well as a Direct inside a Foreach.
		</td>
	</tr>
	<tr valign="top" bgcolor="silver">
		<th><a href="border/app">Border</a>
		</th>
		<td><img align="right" border="0" hspace="4" src="images/show-inspector.gif">
		An example of a useful, reusable component, a common navigation border for a set of pages.
<p>In addition, the Tapestry Inspector makes its
    first appearance.  Click the Tapestry icon in the lower left corner of
    the page to launch a mini-application that allows you to view how a running
    application is constructed.
		</td>
	</tr>
  <tr valign=top>
        <th><a href="portal/app">Portal</a></th>
        <td>An example of how Tapestry can be used to build data-driven Portals.</td>
      </tr>
      
        <tr valign=top bgcolor=silver>
        <th><a href="workbench/app">Workbench</a></th>
        <td>
        
      <img align=right border=0 hspace=4 src="images/workbench.gif">  
        Tapestry Component Workbench, used to show off the use of interesting Tapestry components.</td>
      </tr>


      
      </table>

</body>
</html>

--- NEW FILE: redirect-target.html ---
<html>
<head>
<title>Redirect Target</title>
<link rel="stylesheet" type="text/css" href="css/workbench.css">
</head>
<body>

<!-- This is where the tabs would go.  Alas, used private assets for
     the tabs. -->
     
<table class="tabs" cellspacing=0 border=0>
<tr height="20">
<td>&nbsp;</td>
</tr>
</table>

<table class="content">
<tr>
<td>

This is a static page, forwarded to from a Tapestry listener method.

<p>
Note that internal resources are <em>forwarded to</em>, not
<em>redirected to</em>.  Tapestry uses 
<code>RequestDispatcher.forward(ServletRequest, ServletResponse)</code>
for internal resources (this is the same way an ordinary servlet would
forward to a JSP to render a response).

<p>
You may <a href="app">return to the Workbench</a>.

</td>
</tr>
</table>
<p>
&copy; 2000-2002 <a href="mailto:[email protected]">Howard M. Lewis Ship</a>.


</body>
</html>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.