Author: steveh Date: Wed Nov 10 14:05:49 2004 New Revision: 57390 Added: incubator/beehive/site/build/site/pageflow/config/ incubator/beehive/site/build/site/pageflow/config/netui-config.html (contents, props changed) incubator/beehive/site/src/documentation/content/xdocs/pageflow/config/ incubator/beehive/site/src/documentation/content/xdocs/pageflow/config/netui-config.xml (contents, props changed) incubator/beehive/site/src/documentation/resources/images/impl-flow-1.dia (contents, props changed) incubator/beehive/site/src/documentation/resources/images/impl-flow-1.png (contents, props changed) incubator/beehive/site/src/documentation/resources/images/impl-flow-2.dia (contents, props changed) incubator/beehive/site/src/documentation/resources/images/impl-flow-2.png (contents, props changed) incubator/beehive/site/src/documentation/resources/images/logical-flow-1.dia (contents, props changed) incubator/beehive/site/src/documentation/resources/images/logical-flow-1.png (contents, props changed) incubator/beehive/site/src/documentation/resources/images/logical-flow-2.dia (contents, props changed) incubator/beehive/site/src/documentation/resources/images/logical-flow-2.png (contents, props changed) Modified: incubator/beehive/site/build/site/reference.html incubator/beehive/site/src/documentation/content/xdocs/reference.xml incubator/beehive/site/src/documentation/content/xdocs/site.xml Log: Placeholder topic for an eventual 'netui-config.xml' topic. This topic is not yet public.
Added: incubator/beehive/site/build/site/pageflow/config/netui-config.html ============================================================================== --- (empty file) +++ incubator/beehive/site/build/site/pageflow/config/netui-config.html Wed Nov 10 14:05:49 2004 @@ -0,0 +1,337 @@ +<!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"> +<title>netui-config.xml</title> +<link type="text/css" href="../../skin/page.css" rel="stylesheet"> +</head> +<body text="#000000" bgcolor="#FFFFFF"> +<!--================= start Navigation Path ==================--> +<table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0"> +<tr> +<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> +</tr> +<tr> +<td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +</table> +<!--================= end Navigation Path ==================--> +<!--================= start Banner ==================--> +<table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0"> +<tr> +<!--================= start Group Logo ==================--> +<td bgcolor="#294563"><a href="http://incubator.apache.org/"><img border="0" class="logoImage" alt="Apache Incubator" src="../../images/_incubator-logo.gif"></a></td> +<!--================= end Group Logo ==================--> +<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://incubator.apache.org/beehive"><img border="0" class="logoImage" alt="Apache Beehive" src="../../images/_beehive_logo_wide.gif"></a></td> +<!--================= end Project Logo ==================--> +<!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563"> +<form target="_blank" action="http://www.google.com/search" method="get"> +<table summary="search" border="0" cellspacing="0" cellpadding="0" bgcolor="#4C6C8F"> +<tr> +<td colspan="3"><img height="10" 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="incubator.apache.org" name="sitesearch" type="hidden"><input size="15" 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> +<font face="Arial, Helvetica, Sans-serif" size="2" color="white"> + the Apache Beehive site + + + </font></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +<tr> +<td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-right.gif"></td> +</tr> +</table> +</form> +</td> +<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +<tr> +<td valign="bottom" bgcolor="#294563" colspan="2"> +<!--================= start Tabs ==================--> +<div class="tab"> +<table summary="tab bar" border="0" cellpadding="0" cellspacing="0"> +<tr> +<td width="6"><img alt="" height="8" width="6" src="../../skin/images/spacer.gif"></td><td valign="bottom"> +<table summary="selected tab" style="height: 1.8em" border="0" cellpadding="0" cellspacing="0"> +<tr> +<td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="../../skin/images/tabSel-left.gif"></td><td valign="middle" bgcolor="#4C6C8F"><font color="#ffffff" size="2" face="Arial, Helvetica, Sans-serif"><b><a class="base-selected" href="../../index.html">Home</a></b></font></td><td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="../../skin/images/tabSel-right.gif"></td> +</tr> +</table> +</td> +</tr> +</table> +</div> +<!--================= end Tabs ==================--> +</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +<tr> +<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +</table> +<!--================= end Banner ==================--> +<!--================= start Menu, NavBar, Content ==================--> +<table summary="page content" bgcolor="#ffffff" width="100%" border="0" cellpadding="0" cellspacing="0"> +<tr> +<td valign="top"> +<table summary="menu" border="0" cellspacing="0" cellpadding="0"> +<tr> +<!--================= start left top NavBar ==================--> +<td rowspan="3" valign="top"> +<table summary="blue line" border="0" cellpadding="0" cellspacing="0"> +<tr> +<td bgcolor="#294563"><img width="10" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +<tr> +<td bgcolor="#CFDCED"><font color="#4C6C8F" size="4" face="Arial, Helvetica, Sans-serif"> </font></td> +</tr> +<tr> +<td bgcolor="#294563"><img width="10" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +</table> +</td> +<!--================= end left top NavBar ==================--><td bgcolor="#294563"><img width="1" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td valign="bottom" bgcolor="#4C6C8F"><img width="10" height="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap" valign="top" bgcolor="#4C6C8F"> +<!--================= start Menu items ==================--> +<div class="menu"> +<ul> +<li> +<font color="#CFDCED">Beehive</font> +<ul> + +<li> +<a href="../../index.html">Welcome</a> +</li> + +<li> +<a href="../../license.html">License</a> +</li> + +<li> +<a href="../../downloads.html">Downloads</a> +</li> + +<li> +<a href="../../faq.html">FAQ</a> +</li> + +</ul> +</li> +<li> +<font color="#CFDCED">Documentation</font> +<ul> + + +<li> +<font color="#CFDCED">Page Flows</font> +<ul> + +<li> +<a href="../../pageflow/tutorial_pageflow.html">Page Flow Tutorial</a> +</li> + +<li> +<a href="../../pageflow/guide.html">Page Flow Programming</a> +</li> + +</ul> +</li> + +<li> +<font color="#CFDCED">Controls</font> +<ul> + +<li> +<a href="../../controls/tutorial_controls.html">Control Tutorial</a> +</li> + +<li> +<a href="../../Controls.html">Control Programming</a> +</li> + +</ul> +</li> + +<li> +<font color="#CFDCED">Web Services</font> +<ul> + +<li> +<a href="../../wsm/tutorial_wsm.html">Web Services Tutorial</a> +</li> + +<li> +<a href="../../webservices.html">Web Services (JSR 181)</a> +</li> + +</ul> +</li> + +<li> +<font color="#CFDCED">Samples</font> +<ul> + +<li> +<a href="../../jpetstore.html">Petstore</a> +</li> + +<li> +<a href="../../wsm/sample_Dashboard.html">Petstore Dashboard</a> +</li> + +<li> +<a href="../../wsm/sample_AddressBook.html">AddressBook/Employee</a> +</li> + +<li> +<a href="../../controls/sample_controls-db.html">Database Control</a> +</li> + +<li> +<a href="../../pageflow/sample_netui-blank.html">Page Flow Project</a> +</li> + +<li> +<a href="../../controls/sample_controls-blank.html">Control Project</a> +</li> + +<li> +<a href="../../wsm/sample_wsm-blank.html">Web Service Project</a> +</li> + +</ul> +</li> + +<li> +<a href="../../reference.html">Reference Docs</a> +</li> + + + +</ul> +</li> +<li> +<font color="#CFDCED">Community</font> +<ul> + +<li> +<a href="../../mailinglists.html">Mailing Lists</a> +</li> + +<li> +<a href="../../contributors.html">Contributors</a> +</li> + +</ul> +</li> +</ul> +</div> +<!--================= end Menu items ==================--> +</td><td valign="bottom" bgcolor="#4C6C8F"><img width="10" height="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td bgcolor="#294563"><img width="1" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +<tr> +<td valign="bottom" align="left" colspan="2" rowspan="2" bgcolor="#4C6C8F"><img height="10" width="10" border="0" alt="" src="../../skin/images/menu-left.gif"></td><td bgcolor="#4C6C8F"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td valign="bottom" align="right" colspan="2" rowspan="2" bgcolor="#4C6C8F"><img height="10" width="10" border="0" alt="" src="../../skin/images/menu-right.gif"></td> +</tr> +<tr> +<td height="1" bgcolor="#294563"><img width="1" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +</table> +</td><td valign="top" width="100%"> +<table summary="content" width="100%" border="0" cellpadding="0" cellspacing="0"> +<!--================= start middle NavBar ==================--> +<tr> +<td colspan="4" bgcolor="#294563"><img width="10" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +<tr> +<td align="left" width="10" bgcolor="#CFDCED"><img width="10" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td align="left" width="50%" bgcolor="#CFDCED"><font color="#4C6C8F" size="3" face="Arial, Helvetica, Sans-serif"> + + + </font><img width="10" height="8" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td align="right" width="50%" bgcolor="#CFDCED"><font color="#4C6C8F" size="3" face="Arial, Helvetica, Sans-serif"> + + + </font><img width="10" height="8" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td width="10" bgcolor="#CFDCED"><img width="10" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +<tr> +<td colspan="4" bgcolor="#294563"><img width="10" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +<!--================= end middle NavBar ==================--> +<!--================= start Content==================--> +<tr> +<td align="left" width="10"><img width="10" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%"> +<div class="content"> +<table class="title" summary=""> +<tr> +<td valign="middle"> +<h1>netui-config.xml</h1> +</td> +</tr> +</table> +<ul class="minitoc"> +<li> +<a href="#Action+interceptors">Action interceptors</a> +</li> +<li> +<a href="#Handlers">Handlers</a> +</li> +<li> +<a href="#PageFlow+Config">PageFlow Config</a> +</li> +</ul> + +<p>The netui-config.xml file, which resides in the web application's WEB-INF directory, contains webapp-wide configuration settings for all Page Flows in the web app. Descriptions for each element in the configuration file appear below.</p> + +<a name="N1000F"></a><a name="Action+interceptors"></a> +<h3>Action interceptors</h3> +<div style="margin-left: 0 ; border: 2px"> +<p> +<strong><pageflow-action-interceptors></strong> +</p> +<p>If you want to be notified before every action that's run in the webapp, you configure one of these. A simple example of this is monitoring infrastructure that keeps track of a count of actions raised -- you can register an interceptor that runs the counting code before going to any action. A more complex example is an interceptor that *redirects* you to another page flow before allowing you to go to the current one; for instance, it might take you to a nested page flow that asks you to fill out a "satisfaction survey" before sending you to the destination page flow.</p> +</div> + +<a name="N1001D"></a><a name="Handlers"></a> +<h3>Handlers</h3> +<div style="margin-left: 0 ; border: 2px"> +<p> +<strong><pageflow-handlers></strong> +</p> +<p>These settings let you override base framework behavior. A good example is the LoginHandler. By default, we use standard Servlet APIs to see if you're logged in, and we use some server-specific APIs to actually log you in when login() is called inside a page flow. If you want to replace this behavior with your own login scheme (which may look at a User database table for login information), you can provide your own LoginHandler that defines methods like login() and isUserInRole().</p> +</div> + +<a name="N1002B"></a><a name="PageFlow+Config"></a> +<h3>PageFlow Config</h3> +<div style="margin-left: 0 ; border: 2px"> +<p> +<strong><pageflow-config></strong> +</p> +<p>This is just the place for settings that configure the page flow runtime across the webapp. If you want to disable file-upload, for instance, you set the multipart-handler to "none". There will be more settings here soon.</p> +</div> + +<div class="attribution"></div> +</div> +</td><td width="10"><img width="10" height="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +</tr> +<!--================= end Content==================--> +</table> +</td> +</tr> +</table> +<!--================= end Menu, NavBar, Content ==================--> +<!--================= start Footer ==================--> +<table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0"> +<tr> +<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"><a href="../../skin/images/label.gif"></a><a href="../../skin/images/page.gif"></a><a href="../../skin/images/chapter.gif"></a><a href="../../skin/images/chapter_open.gif"></a><a href="../../skin/images/current.gif"></a><a href="/favicon.ico"></a></td> +</tr> +<tr> +<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright © + 2004 The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!-- + document.write(" - "+"Last Published: " + document.lastModified); + // --></script></font></td> +</tr> +<tr> +<td colspan="2" align="left" bgcolor="#CFDCED" class="logos"></td> +</tr> +</table> +<!--================= end Footer ==================--> +</body> +</html> Modified: incubator/beehive/site/build/site/reference.html ============================================================================== --- incubator/beehive/site/build/site/reference.html (original) +++ incubator/beehive/site/build/site/reference.html Wed Nov 10 14:05:49 2004 @@ -280,6 +280,9 @@ <a target="_blank" href="reference/classref_pageflows/index.html">Page Flow API Reference</a> </li> + <!--<li> + <fork href="pageflow/config/netui-config.html">Configuration: netui-config.xml</fork> + </li>--> <li> Added: incubator/beehive/site/src/documentation/content/xdocs/pageflow/config/netui-config.xml ============================================================================== --- (empty file) +++ incubator/beehive/site/src/documentation/content/xdocs/pageflow/config/netui-config.xml Wed Nov 10 14:05:49 2004 @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://forrest.apache.org/dtd/document-v13.dtd"> +<document> + <header> + <title>netui-config.xml</title> + </header> + <body> +<p>The netui-config.xml file, which resides in the web application's WEB-INF directory, contains webapp-wide configuration settings for all Page Flows in the web app. Descriptions for each element in the configuration file appear below.</p> +<section> + <title>Action interceptors</title> +<p><strong><pageflow-action-interceptors></strong></p> +<p>If you want to be notified before every action that's run in the webapp, you configure one of these. A simple example of this is monitoring infrastructure that keeps track of a count of actions raised -- you can register an interceptor that runs the counting code before going to any action. A more complex example is an interceptor that *redirects* you to another page flow before allowing you to go to the current one; for instance, it might take you to a nested page flow that asks you to fill out a "satisfaction survey" before sending you to the destination page flow.</p> +</section> +<section> + <title>Handlers</title> +<p><strong><pageflow-handlers></strong></p> +<p>These settings let you override base framework behavior. A good example is the LoginHandler. By default, we use standard Servlet APIs to see if you're logged in, and we use some server-specific APIs to actually log you in when login() is called inside a page flow. If you want to replace this behavior with your own login scheme (which may look at a User database table for login information), you can provide your own LoginHandler that defines methods like login() and isUserInRole().</p> +</section> +<section> + <title>PageFlow Config</title> + <p><strong><pageflow-config></strong></p> +<p>This is just the place for settings that configure the page flow runtime across the webapp. If you want to disable file-upload, for instance, you set the multipart-handler to "none". There will be more settings here soon.</p> +</section> + </body> + <footer> + <legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.<br/> + © 2004, Apache Software Foundation + </legal> + </footer> +</document> Modified: incubator/beehive/site/src/documentation/content/xdocs/reference.xml ============================================================================== --- incubator/beehive/site/src/documentation/content/xdocs/reference.xml (original) +++ incubator/beehive/site/src/documentation/content/xdocs/reference.xml Wed Nov 10 14:05:49 2004 @@ -12,6 +12,9 @@ <li> <fork href="reference/classref_pageflows/index.html">Page Flow API Reference</fork> </li> + <!--<li> + <fork href="pageflow/config/netui-config.html">Configuration: netui-config.xml</fork> + </li>--> <li> <fork href="reference/classref_controls/index.html">Controls API Reference</fork> </li> Modified: incubator/beehive/site/src/documentation/content/xdocs/site.xml ============================================================================== --- incubator/beehive/site/src/documentation/content/xdocs/site.xml (original) +++ incubator/beehive/site/src/documentation/content/xdocs/site.xml Wed Nov 10 14:05:49 2004 @@ -11,6 +11,11 @@ <guide label="Putting the Pieces Together" href="beehive/guide.html"/> </beehive>--> <pageflow label="Page Flows"> + <pageflow_overview label="Page Flow Overview" href="pageflow/pageflow_overview.html"/> + <pageflow_controllers label="Page Flow Controllers" href="pageflow/pageflow_controllers.html"/> + <pageflow_jsp label="Page Flow JSP" href="pageflow/pageflow_jsp.html"/> + <pageflow_building label="Building a Page Flow Web-App" href="pageflow/pageflow_building.html"/> + <pageflow_altering label="Altering a Page Flow" href="pageflow/pageflow_altering.html"/> <tutorial_pageflow label="Page Flow Tutorial" href="pageflow/tutorial_pageflow.html"/> <pageflow_programming label="Page Flow Programming" href="pageflow/guide.html"/> </pageflow> Added: incubator/beehive/site/src/documentation/resources/images/impl-flow-1.dia ============================================================================== Binary file. No diff available. Added: incubator/beehive/site/src/documentation/resources/images/impl-flow-1.png ============================================================================== Binary file. No diff available. Added: incubator/beehive/site/src/documentation/resources/images/impl-flow-2.dia ============================================================================== Binary file. No diff available. Added: incubator/beehive/site/src/documentation/resources/images/impl-flow-2.png ============================================================================== Binary file. No diff available. Added: incubator/beehive/site/src/documentation/resources/images/logical-flow-1.dia ============================================================================== Binary file. No diff available. Added: incubator/beehive/site/src/documentation/resources/images/logical-flow-1.png ============================================================================== Binary file. No diff available. Added: incubator/beehive/site/src/documentation/resources/images/logical-flow-2.dia ============================================================================== Binary file. No diff available. Added: incubator/beehive/site/src/documentation/resources/images/logical-flow-2.png ============================================================================== Binary file. No diff available.
