You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2007/05/31 11:56:07 UTC
svn commit: r543102 [2/32] - in /harmony/enhanced/buildtest/branches/2.0:
adaptors/struts_test/ tests/struts_test/ tests/struts_test/resources/
tests/struts_test/resources/showcase/ tests/struts_test/src/
tests/struts_test/src/org/ tests/struts_test/sr...
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-107565987.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-107565987.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-107565987.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-107565987.html Thu May 31 02:55:56 2007
@@ -0,0 +1,186 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Showcase - Validation</title>
+ <link href="/struts2-showcase-2.0.6/styles/main.css" rel="stylesheet" type="text/css" media="all"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css" rel="stylesheet" type="text/css"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css" rel="stylesheet" type="text/css" media="print"/>
+
+ <script language="JavaScript" type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js"></script>
+
+ <script language="JavaScript" type="text/javascript">
+
+ window.onload=function(){
+ if(!NiftyCheck())
+ return;
+ Rounded("blockquote","tr bl","#ECF1F9","#CDFFAA","smooth border #88D84F");
+ Rounded("div#outer-header", "all", "white", "#818EBD", "smooth border #434F7C");
+ Rounded("div#footer", "all", "white", "#818EBD", "smooth border #434F7C");
+ }
+
+ </script>
+
+
+</head>
+
+<body id="page-home">
+
+
+<div id="page">
+ <div id="outer-header">
+ <div id="header" class="clearfix">
+ <div id="branding">
+ <h1 class="title">Struts Showcase</h1>
+
+2007/04/06 03:19:17
+
+ </div><!-- end branding -->
+
+ <div id="search">
+ <img src="/struts2-showcase-2.0.6/images/struts-power.gif" alt="Powered by Struts"/>
+ </div><!-- end search -->
+
+ <hr/>
+ </div>
+ </div><!-- end header -->
+
+ <div id="content" class="clearfix">
+
+ <h1>Validation Examples</h1>
+
+
+
+
+
+
+
+
+
+
+
+
+ <ul>
+ <li><a
+
+ href="/struts2-showcase-2.0.6/validation/showFieldValidatorsExamples.action"
+
+>
+Field Validators</a>
+</li>
+ <li><a
+
+ href="/struts2-showcase-2.0.6/validation/clientSideValidationExample.action"
+
+>
+Field Validators with client-side JavaScript</a>
+</li>
+ <li><a
+
+ href="/struts2-showcase-2.0.6/validation/showNonFieldValidatorsExamples.action"
+
+>
+Non Field Validator</a>
+</li>
+ <li><a
+
+ href="/struts2-showcase-2.0.6/validation/storeErrorsAcrossRequestExample.jsp"
+
+>
+Store across request using MessageStoreInterceptor (Example)</a>
+</li>
+ <li>(broken) <a
+
+ href="/struts2-showcase-2.0.6/validation/quizAjax!input.action"
+
+>
+Validation (ajax)</a>
+</li>
+ <li><a
+
+ href="/struts2-showcase-2.0.6/validation/quizBasic!input.action"
+
+>
+Validation (basic)</a>
+</li>
+ <li><a
+
+ href="/struts2-showcase-2.0.6/validation/quizClient!input.action"
+
+>
+Validation (client)</a>
+</li>
+ <li><a
+
+ href="/struts2-showcase-2.0.6/validation/quizClientCss!input.action"
+
+>
+Validation (client using css_xhtml theme)</a>
+</li>
+ <li><a
+
+ href="/struts2-showcase-2.0.6/validation/showVisitorValidatorsExamples.action"
+
+>
+Visitor Validator</a>
+</li>
+ <li><a
+
+ href="/struts2-showcase-2.0.6/showcase.action"
+
+>
+Back To Showcase</a>
+
+ </ul>
+
+ <div id="nav">
+ <div class="wrapper">
+ <h2 class="accessibility">Navigation</h2>
+ <ul class="clearfix">
+ <li><a href="/struts2-showcase-2.0.6/showcase.jsp">Home</a></li>
+ <li><a href="/struts2-showcase-2.0.6/ajax/index.jsp">Ajax</a></li>
+ <li><a href="/struts2-showcase-2.0.6/chat/index.jsp">Ajax Chat</a></li>
+ <li><a href="/struts2-showcase-2.0.6/actionchaining/actionChain1!input.action">Action Chaining</a></li>
+ <li><a href="/struts2-showcase-2.0.6/config-browser/index.action">Config Browser</a></li>
+ <li><a href="/struts2-showcase-2.0.6/conversion/index.jsp">Conversion</a></li>
+ <li><a href="/struts2-showcase-2.0.6/empmanager/index.jsp">CRUD</a></li>
+ <li><a href="/struts2-showcase-2.0.6/wait/index.jsp">Execute & Wait</a></li>
+ <li><a href="/struts2-showcase-2.0.6/filedownload/index.jsp">File Download</a></li>
+ <li><a href="/struts2-showcase-2.0.6/fileupload">File Upload</a></li>
+ <li><a href="/struts2-showcase-2.0.6/freemarker/index.jsp">Freemarker</a>
+ <li><a href="/struts2-showcase-2.0.6/hangman/hangmanMenu.action">Hangman</a></li>
+ <li><a href="/struts2-showcase-2.0.6/jsf/index.jsp">JavaServer Faces</a></li>
+ <li><a href="/struts2-showcase-2.0.6/person/index.jsp">Person Manager</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tags/index.jsp">Tags</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tiles/index.action">Tiles</a></li>
+ <li><a href="/struts2-showcase-2.0.6/token/index.jsp">Token</a></li>
+ <li><a href="/struts2-showcase-2.0.6/validation/index.jsp">Validation</a></li>
+ <li class="last"><a href="/struts2-showcase-2.0.6/help.jsp">Help</a></li>
+ </ul>
+ </div>
+ <hr/>
+
+ </div><!-- end nav -->
+
+ </div><!-- end content -->
+
+ <div>
+ <p>
+ <a href="/struts2-showcase-2.0.6/viewSource.action?page=/validation/index.jsp">View Sources</a>
+ </p>
+ </div>
+ <div id="footer" class="clearfix">
+ <p>Copyright © 2003-2007 The Apache Software Foundation.</p>
+ </div><!-- end footer -->
+ <p/>
+
+</div><!-- end page -->
+
+</body>
+</html>
Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-107565987.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1080589601.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1080589601.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1080589601.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1080589601.html Thu May 31 02:55:56 2007
@@ -0,0 +1,244 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Ajax Examples</title>
+ <link href="/struts2-showcase-2.0.6/styles/main.css" rel="stylesheet" type="text/css" media="all"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css" rel="stylesheet" type="text/css"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css" rel="stylesheet" type="text/css" media="print"/>
+
+ <script language="JavaScript" type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js"></script>
+
+ <script language="JavaScript" type="text/javascript">
+
+ window.onload=function(){
+ if(!NiftyCheck())
+ return;
+ Rounded("blockquote","tr bl","#ECF1F9","#CDFFAA","smooth border #88D84F");
+ Rounded("div#outer-header", "all", "white", "#818EBD", "smooth border #434F7C");
+ Rounded("div#footer", "all", "white", "#818EBD", "smooth border #434F7C");
+ }
+
+ </script>
+
+ <!--// START SNIPPET: common-include-->
+
+<!--// START SNIPPET: common-include-->
+<link rel="stylesheet" href="/struts2-showcase-2.0.6/struts/xhtml/styles.css" type="text/css"/>
+<script language="JavaScript" type="text/javascript">
+ // Dojo configuration
+ djConfig = {
+ baseRelativePath: "/struts2-showcase-2.0.6/struts/dojo",
+ isDebug: false,
+ bindEncoding: "UTF-8",
+ debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes
+ };
+</script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/simple/dojoRequire.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/ajax/dojoRequire.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/CommonFunctions.js"></script>
+
+<!--// END SNIPPET: common-include-->
+
+ <!--// END SNIPPET: common-include-->
+</head>
+
+<body id="page-home">
+
+
+<div id="page">
+ <div id="outer-header">
+ <div id="header" class="clearfix">
+ <div id="branding">
+ <h1 class="title">Struts Showcase</h1>
+
+2007/04/06 03:16:23
+
+ </div><!-- end branding -->
+
+ <div id="search">
+ <img src="/struts2-showcase-2.0.6/images/struts-power.gif" alt="Powered by Struts"/>
+ </div><!-- end search -->
+
+ <hr/>
+ </div>
+ </div><!-- end header -->
+
+ <div id="content" class="clearfix">
+
+ Using a JSON list returned from an action (href="/JSONList.action"), without autoComplete (autoComplete="false"), use indicator, search substring (searchType="substring")
+<br/>
+<input dojoType="struts:ComboBox" id="state" style="width: 200px;" dataUrl="/struts2-showcase-2.0.6/JSONList.action" searchType="SUBSTRING" autoComplete="false" name="state" keyName="stateKey" indicator="indicator1" visibleDownArrow="true">
+
+
+
+
+<img id="indicator1" src="/struts2-showcase-2.0.6/images/indicator.gif" alt="Loading..." style="display:none"/>
+
+<br/>
+<br/>
+
+Reload on type (loadOnTextChange="true"), after 3 characters (loadMinimumCout="3", it is "3" by default), without the down arrow button (showDownArrow="false")
+<br/>
+<input dojoType="struts:ComboBox" style="width: 200px;" dataUrl="/struts2-showcase-2.0.6/JSONList.action" autoComplete="false" keyName="nullKey" indicator="indicator" loadOnType="true" loadMinimum="3" visibleDownArrow="false">
+
+
+
+
+<img id="indicator" src="/struts2-showcase-2.0.6/images/indicator.gif" alt="Loading..." style="display:none"/>
+
+<br/>
+<br/>
+
+Using a JSON list returned from an action (href="/JSONList.action"), with autoComplete (autoComplete="true")
+<br/>
+<input dojoType="struts:ComboBox" style="width: 200px;" dataUrl="/struts2-showcase-2.0.6/JSONList.action" autoComplete="true" keyName="nullKey" visibleDownArrow="true">
+
+
+
+
+
+<br/>
+<br/>
+
+Using a local list (list="{'apple','banana','grape','pear'}")
+<br/>
+<select dojoType="struts:ComboBox" style="width: 150px;" keyName="nullKey">
+ <option value="apple">apple</option>
+ <option value="banana">banana</option>
+ <option value="grape">grape</option>
+ <option value="pear">pear</option>
+</select>
+
+
+
+
+<br/>
+<br/>
+
+Force valid options (forceValidOption="true")
+<br/>
+<input dojoType="struts:ComboBox" style="width: 200px;" dataUrl="/struts2-showcase-2.0.6/JSONList.action" forceValidOption="true" keyName="nullKey" visibleDownArrow="true">
+
+
+
+
+
+<br/>
+<br/>
+
+Make dropdown's height to 180px (dropdownHeight="180")
+<br/>
+<input dojoType="struts:ComboBox" style="width: 200px;" dataUrl="/struts2-showcase-2.0.6/JSONList.action" dropdownHeight="180" keyName="nullKey" visibleDownArrow="true">
+
+
+
+
+
+<br/>
+<br/>
+
+Disabled combobox (disabled="true")
+<br/>
+<input dojoType="struts:ComboBox" style="width: 200px;" dataUrl="/struts2-showcase-2.0.6/JSONList.action" disabled="true" keyName="nullKey" visibleDownArrow="true">
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+Link two autocompleter elements. When the selected value in 'Autocompleter 1' changes, the available values in 'Autocompleter 2' will change also.
+<br/>
+<form id="selectForm">
+ <p>Autocompleter 1 <select dojoType="struts:ComboBox" id="sel" forceValidOption="true" name="select" keyName="selectKey" initialValue="colors" notifyTopics="/Changed">
+ <option value="fruits">fruits</option>
+ <option value="colors" selected="selected">colors</option>
+</select>
+
+
+</p>
+</form>
+Autocompleter 2 <input dojoType="struts:ComboBox" id="ops" dataUrl="/struts2-showcase-2.0.6/nodecorate/AutocompleterExample.action" forceValidOption="true" autoComplete="false" keyName="nullKey" formId="selectForm" listenTopics="/Changed" visibleDownArrow="true">
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+<hr/>
+
+
+
+<a
+
+ href=".."
+
+>
+Back To AJAX Examples</a>
+
+
+ <div id="nav">
+ <div class="wrapper">
+ <h2 class="accessibility">Navigation</h2>
+ <ul class="clearfix">
+ <li><a href="/struts2-showcase-2.0.6/showcase.jsp">Home</a></li>
+ <li><a href="/struts2-showcase-2.0.6/ajax/index.jsp">Ajax</a></li>
+ <li><a href="/struts2-showcase-2.0.6/chat/index.jsp">Ajax Chat</a></li>
+ <li><a href="/struts2-showcase-2.0.6/actionchaining/actionChain1!input.action">Action Chaining</a></li>
+ <li><a href="/struts2-showcase-2.0.6/config-browser/index.action">Config Browser</a></li>
+ <li><a href="/struts2-showcase-2.0.6/conversion/index.jsp">Conversion</a></li>
+ <li><a href="/struts2-showcase-2.0.6/empmanager/index.jsp">CRUD</a></li>
+ <li><a href="/struts2-showcase-2.0.6/wait/index.jsp">Execute & Wait</a></li>
+ <li><a href="/struts2-showcase-2.0.6/filedownload/index.jsp">File Download</a></li>
+ <li><a href="/struts2-showcase-2.0.6/fileupload">File Upload</a></li>
+ <li><a href="/struts2-showcase-2.0.6/freemarker/index.jsp">Freemarker</a>
+ <li><a href="/struts2-showcase-2.0.6/hangman/hangmanMenu.action">Hangman</a></li>
+ <li><a href="/struts2-showcase-2.0.6/jsf/index.jsp">JavaServer Faces</a></li>
+ <li><a href="/struts2-showcase-2.0.6/person/index.jsp">Person Manager</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tags/index.jsp">Tags</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tiles/index.action">Tiles</a></li>
+ <li><a href="/struts2-showcase-2.0.6/token/index.jsp">Token</a></li>
+ <li><a href="/struts2-showcase-2.0.6/validation/index.jsp">Validation</a></li>
+ <li class="last"><a href="/struts2-showcase-2.0.6/help.jsp">Help</a></li>
+ </ul>
+ </div>
+ <hr/>
+
+ </div><!-- end nav -->
+
+ </div><!-- end content -->
+
+ <div>
+ <p>
+ <a href="/struts2-showcase-2.0.6/viewSource.action?page=/ajax/autocompleter/index.jsp">View Sources</a>
+ </p>
+ </div>
+ <div id="footer" class="clearfix">
+ <p>Copyright © 2003-2007 The Apache Software Foundation.</p>
+ </div><!-- end footer -->
+ <p/>
+
+</div><!-- end page -->
+
+</body>
+</html>
Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1080589601.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1085145764.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1085145764.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1085145764.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1085145764.html Thu May 31 02:55:56 2007
@@ -0,0 +1,234 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Showcase - Validation - Field Validators Example</title>
+ <link href="/struts2-showcase-2.0.6/styles/main.css" rel="stylesheet" type="text/css" media="all"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css" rel="stylesheet" type="text/css"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css" rel="stylesheet" type="text/css" media="print"/>
+
+ <script language="JavaScript" type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js"></script>
+
+ <script language="JavaScript" type="text/javascript">
+
+ window.onload=function(){
+ if(!NiftyCheck())
+ return;
+ Rounded("blockquote","tr bl","#ECF1F9","#CDFFAA","smooth border #88D84F");
+ Rounded("div#outer-header", "all", "white", "#818EBD", "smooth border #434F7C");
+ Rounded("div#footer", "all", "white", "#818EBD", "smooth border #434F7C");
+ }
+
+ </script>
+
+ <link rel="stylesheet" href="/struts2-showcase-2.0.6/struts/xhtml/styles.css" type="text/css"/>
+<script language="JavaScript" type="text/javascript">
+ // Dojo configuration
+ djConfig = {
+ baseRelativePath: "/struts2-showcase-2.0.6/struts/dojo",
+ isDebug: false,
+ bindEncoding: "UTF-8",
+ debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes
+ };
+</script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/simple/dojoRequire.js"></script>
+
+ <!-- link rel="stylesheet" type="text/css" href='/struts2-showcase-2.0.6/validation/validationExamplesStyles.css'-->
+</head>
+
+<body id="page-home">
+
+
+<div id="page">
+ <div id="outer-header">
+ <div id="header" class="clearfix">
+ <div id="branding">
+ <h1 class="title">Struts Showcase</h1>
+
+2007/04/06 03:19:17
+
+ </div><!-- end branding -->
+
+ <div id="search">
+ <img src="/struts2-showcase-2.0.6/images/struts-power.gif" alt="Powered by Struts"/>
+ </div><!-- end search -->
+
+ <hr/>
+ </div>
+ </div><!-- end header -->
+
+ <div id="content" class="clearfix">
+
+ <!-- START SNIPPET: fieldValidatorsExample -->
+
+ <h3>All Field Errors Will Appear Here</h3>
+
+ <hr/>
+
+ <h3>Field Error due to 'Required String Validator Field' Will Appear Here</h3>
+
+
+
+ <hr/>
+
+ <h3>Field Error due to 'String Length Validator Field' Will Appear Here</h3>
+
+
+
+ <hr/>
+
+
+<form id="submitFieldValidatorsExamples" name="submitFieldValidatorsExamples" onsubmit="return true;" action="/struts2-showcase-2.0.6/validation/submitFieldValidatorsExamples.action" method="POST">
+<table class="wwFormTable">
+ <tr>
+ <td class="tdLabel"><label for="submitFieldValidatorsExamples_requiredValidatorField" class="label">Required Validator Field:</label></td>
+ <td
+><input type="text" name="requiredValidatorField" value="" id="submitFieldValidatorsExamples_requiredValidatorField"/>
+</td>
+</tr>
+
+ <tr>
+ <td class="tdLabel"><label for="submitFieldValidatorsExamples_requiredStringValidatorField" class="label">Required String Validator Field:</label></td>
+ <td
+><input type="text" name="requiredStringValidatorField" value="" id="submitFieldValidatorsExamples_requiredStringValidatorField"/>
+</td>
+</tr>
+
+ <tr>
+ <td class="tdLabel"><label for="submitFieldValidatorsExamples_integerValidatorField" class="label">Integer Validator Field:</label></td>
+ <td
+><input type="text" name="integerValidatorField" value="" id="submitFieldValidatorsExamples_integerValidatorField"/>
+</td>
+</tr>
+
+ <tr>
+ <td class="tdLabel"><label for="submitFieldValidatorsExamples_dateValidatorField" class="label">Date Validator Field:</label></td>
+ <td
+><input type="text" name="dateValidatorField" value="" id="submitFieldValidatorsExamples_dateValidatorField"/>
+</td>
+</tr>
+
+ <tr>
+ <td class="tdLabel"><label for="submitFieldValidatorsExamples_emailValidatorField" class="label">Email Validator Field:</label></td>
+ <td
+><input type="text" name="emailValidatorField" value="" id="submitFieldValidatorsExamples_emailValidatorField"/>
+</td>
+</tr>
+
+ <tr>
+ <td class="tdLabel"><label for="submitFieldValidatorsExamples_urlValidatorField" class="label">URL Validator Field:</label></td>
+ <td
+><input type="text" name="urlValidatorField" value="" id="submitFieldValidatorsExamples_urlValidatorField"/>
+</td>
+</tr>
+
+ <tr>
+ <td class="tdLabel"><label for="submitFieldValidatorsExamples_stringLengthValidatorField" class="label">String Length Validator Field:</label></td>
+ <td
+><input type="text" name="stringLengthValidatorField" value="" id="submitFieldValidatorsExamples_stringLengthValidatorField"/>
+</td>
+</tr>
+
+ <tr>
+ <td class="tdLabel"><label for="submitFieldValidatorsExamples_regexValidatorField" class="label">Regex Validator Field:</label></td>
+ <td
+><input type="text" name="regexValidatorField" value="" id="submitFieldValidatorsExamples_regexValidatorField"/>
+</td>
+</tr>
+
+ <tr>
+ <td class="tdLabel"><label for="submitFieldValidatorsExamples_fieldExpressionValidatorField" class="label">Field Expression Validator Field:</label></td>
+ <td
+><input type="text" name="fieldExpressionValidatorField" value="" id="submitFieldValidatorsExamples_fieldExpressionValidatorField"/>
+</td>
+</tr>
+
+ <tr>
+ <td colspan="2"><div align="right"><input type="submit" id="submitFieldValidatorsExamples_0" value="Submit"/>
+</div></td>
+</tr>
+
+ </table></form>
+
+
+
+
+
+ <!-- END SNIPPET: fieldValidatorsExample -->
+
+
+
+
+<hr/>
+
+
+
+
+<a
+
+ href="/struts2-showcase-2.0.6/validation/list.action"
+
+>
+Back To Validation Examples</a>
+
+<a
+
+ href="/struts2-showcase-2.0.6/showcase.action"
+
+>
+Back To Showcase</a>
+
+ <div id="nav">
+ <div class="wrapper">
+ <h2 class="accessibility">Navigation</h2>
+ <ul class="clearfix">
+ <li><a href="/struts2-showcase-2.0.6/showcase.jsp">Home</a></li>
+ <li><a href="/struts2-showcase-2.0.6/ajax/index.jsp">Ajax</a></li>
+ <li><a href="/struts2-showcase-2.0.6/chat/index.jsp">Ajax Chat</a></li>
+ <li><a href="/struts2-showcase-2.0.6/actionchaining/actionChain1!input.action">Action Chaining</a></li>
+ <li><a href="/struts2-showcase-2.0.6/config-browser/index.action">Config Browser</a></li>
+ <li><a href="/struts2-showcase-2.0.6/conversion/index.jsp">Conversion</a></li>
+ <li><a href="/struts2-showcase-2.0.6/empmanager/index.jsp">CRUD</a></li>
+ <li><a href="/struts2-showcase-2.0.6/wait/index.jsp">Execute & Wait</a></li>
+ <li><a href="/struts2-showcase-2.0.6/filedownload/index.jsp">File Download</a></li>
+ <li><a href="/struts2-showcase-2.0.6/fileupload">File Upload</a></li>
+ <li><a href="/struts2-showcase-2.0.6/freemarker/index.jsp">Freemarker</a>
+ <li><a href="/struts2-showcase-2.0.6/hangman/hangmanMenu.action">Hangman</a></li>
+ <li><a href="/struts2-showcase-2.0.6/jsf/index.jsp">JavaServer Faces</a></li>
+ <li><a href="/struts2-showcase-2.0.6/person/index.jsp">Person Manager</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tags/index.jsp">Tags</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tiles/index.action">Tiles</a></li>
+ <li><a href="/struts2-showcase-2.0.6/token/index.jsp">Token</a></li>
+ <li><a href="/struts2-showcase-2.0.6/validation/index.jsp">Validation</a></li>
+ <li class="last"><a href="/struts2-showcase-2.0.6/help.jsp">Help</a></li>
+ </ul>
+ </div>
+ <hr/>
+
+ </div><!-- end nav -->
+
+ </div><!-- end content -->
+
+ <div>
+ <p>
+ <a href="/struts2-showcase-2.0.6/viewSource.action?config=file:/C:/mol/tools/jakarta-tomcat-5.0.30/webapps/struts2-showcase-2.0.6/WEB-INF/classes/struts-validation.xml:40&className=org.apache.struts2.showcase.validation.FieldValidatorsExampleAction&page=/validation//validation/fieldValidatorsExample.jsp">View Sources</a>
+ </p>
+ </div>
+ <div id="footer" class="clearfix">
+ <p>Copyright © 2003-2007 The Apache Software Foundation.</p>
+ </div><!-- end footer -->
+ <p/>
+
+</div><!-- end page -->
+
+</body>
+</html>
Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1085145764.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1086687319.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1086687319.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1086687319.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1086687319.html Thu May 31 02:55:56 2007
@@ -0,0 +1,279 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>View Sources</title>
+ <link href="/struts2-showcase-2.0.6/styles/main.css" rel="stylesheet" type="text/css" media="all"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css" rel="stylesheet" type="text/css"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css" rel="stylesheet" type="text/css" media="print"/>
+
+ <script language="JavaScript" type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js"></script>
+
+ <script language="JavaScript" type="text/javascript">
+
+ window.onload=function(){
+ if(!NiftyCheck())
+ return;
+ Rounded("blockquote","tr bl","#ECF1F9","#CDFFAA","smooth border #88D84F");
+ Rounded("div#outer-header", "all", "white", "#818EBD", "smooth border #434F7C");
+ Rounded("div#footer", "all", "white", "#818EBD", "smooth border #434F7C");
+ }
+
+ </script>
+
+ <!--// START SNIPPET: common-include-->
+<link rel="stylesheet" href="/struts2-showcase-2.0.6/struts/xhtml/styles.css" type="text/css"/>
+<script language="JavaScript" type="text/javascript">
+ // Dojo configuration
+ djConfig = {
+ baseRelativePath: "/struts2-showcase-2.0.6/struts/dojo",
+ isDebug: false,
+ bindEncoding: "UTF-8",
+ debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes
+ };
+</script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/simple/dojoRequire.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/ajax/dojoRequire.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/CommonFunctions.js"></script>
+
+<!--// END SNIPPET: common-include-->
+
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/tabs.css?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction" media="print">
+ <script type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction"></script>
+ <script type="text/javascript">
+ window.onload = function() {
+ if (!NiftyCheck())
+ return;
+ Rounded("li.tab_selected", "top", "white", "transparent", "border #ffffffS");
+ Rounded("li.tab_unselected", "top", "white", "transparent", "border #ffffffS");
+ // Rounded("div#tab_header_main li","top","white","transparent","border #ffffffS");
+ // "white" needs to be replaced with the background color
+ }
+ </script>
+</head>
+
+<body id="page-home">
+
+
+<div id="page">
+ <div id="outer-header">
+ <div id="header" class="clearfix">
+ <div id="branding">
+ <h1 class="title">Struts Showcase</h1>
+
+2007/04/06 03:19:41
+
+ </div><!-- end branding -->
+
+ <div id="search">
+ <img src="/struts2-showcase-2.0.6/images/struts-power.gif" alt="Powered by Struts"/>
+ </div><!-- end search -->
+
+ <hr/>
+ </div>
+ </div><!-- end header -->
+
+ <div id="content" class="clearfix">
+
+ <h1>View Sources</h1>
+
+<script type="text/javascript">
+ dojo.require("dojo.widget.TabContainer");
+ dojo.require("dojo.widget.LinkPane");
+ dojo.require("dojo.widget.ContentPane");
+</script>
+
+<div dojoType="TabContainer"
+ id="test" doLayout="false">
+
+ <div dojoType="struts:BindDiv"
+
+ id="one" label="Page" showError="true">
+
+ <h3>/validation/visitorValidatorsExample.jsp</h3>
+<pre>
+
+1: <%--
+2: visitorValidatorsExample.jsp
+3:
+4: @author tm_jee
+5: @version $Date: 2006-09-06 00:07:10 -0400 (Wed, 06 Sep 2006) $ $Id: visitorValidatorsExample.jsp 440609 2006-09-06 04:07:10Z wsmoak $
+6: --%>
+7:
+8:
+9: <%@taglib prefix="s" uri="/struts-tags" %>
+10:
+11: <html>
+12: <head><title>Showcase - Validation - VisitorValidatorsExample </title>
+13: <s:url id="siteCss" value="/validation/validationExamplesStyles.css" includeContext="true" />
+14: <s:head />
+15: <!-- link rel="stylesheet" type="text/css" href='<s:property value="%{siteCss}" />' -->
+16: </head>
+17: <body>
+18:
+19: <!-- START SNIPPET: visitorValidatorsExample -->
+20:
+21: <s:fielderror />
+22:
+23: <s:form method="POST" action="submitVisitorValidatorsExamples" namespace="/validation">
+24: <s:textfield name="user.name" label="User Name" />
+25: <s:textfield name="user.age" label="User Age" />
+26: <s:textfield name="user.birthday" label="Birthday" />
+27: <s:submit label="Submit" />
+28: </s:form>
+29:
+30: <!-- END SNIPPET: visitorValidatorsExample -->
+31:
+32:
+33: <s:include value="footer.jsp" />
+34: </body>
+35: </html>
+36:
+</pre>
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="two" label="Configuration" showError="true">
+
+ <h3>file:/C:/mol/tools/jakarta-tomcat-5.0.30/webapps/struts2-showcase-2.0.6/WEB-INF/classes/struts-validation.xml</h3>
+<pre>
+
+
+60: <result name="input">/validation/nonFieldValidatorsExample.jsp</result>
+61: <result>/validation/successNonFieldValidatorsExample.jsp</result>
+62: </action>
+63:
+64:
+65:
+66: <!-- ========================== -->
+67: <!-- === Visitor Validators === -->
+68: <!-- ========================== -->
+69:
+<span style="background-color:yellow">70: <action name="showVisitorValidatorsExamples" class="org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction" method="input"></span>
+71: <result name="input">/validation/visitorValidatorsExample.jsp</result>
+72: </action>
+73:
+74: <action name="submitVisitorValidatorsExamples" class="org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction" method="submit">
+75: <result name="input">/validation/visitorValidatorsExample.jsp</result>
+76: <result>/validation/successVisitorValidatorsExample.jsp</result>
+77: </action>
+78:
+79:
+80:
+</pre>
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="three" label="Java Action" showError="true">
+
+ <h3>/org/apache/struts2/showcase/validation/VisitorValidatorsExampleAction.java</h3>
+<pre>
+
+1: /*
+2: * $Id: VisitorValidatorsExampleAction.java 471756 2006-11-06 15:01:43Z husted $
+3: *
+4: * Licensed to the Apache Software Foundation (ASF) under one
+5: * or more contributor license agreements. See the NOTICE file
+6: * distributed with this work for additional information
+7: * regarding copyright ownership. The ASF licenses this file
+8: * to you under the Apache License, Version 2.0 (the
+9: * "License"); you may not use this file except in compliance
+10: * with the License. You may obtain a copy of the License at
+11: *
+12: * http://www.apache.org/licenses/LICENSE-2.0
+13: *
+14: * Unless required by applicable law or agreed to in writing,
+15: * software distributed under the License is distributed on an
+16: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+17: * KIND, either express or implied. See the License for the
+18: * specific language governing permissions and limitations
+19: * under the License.
+20: */
+21: package org.apache.struts2.showcase.validation;
+22:
+23:
+24: // START SNIPPET: visitorValidatorsExample
+25:
+26: public class VisitorValidatorsExampleAction extends AbstractValidationActionSupport {
+27:
+28: private static final long serialVersionUID = 4375454086939598216L;
+29:
+30: private User user;
+31:
+32: public User getUser() {
+33: return user;
+34: }
+35:
+36: public void setUser(User user) {
+37: this.user = user;
+38: }
+39: }
+40:
+41:
+42: // END SNIPPET: visitorValidatorsExample
+</pre>
+ </div>
+
+
+</div>
+
+ <div id="nav">
+ <div class="wrapper">
+ <h2 class="accessibility">Navigation</h2>
+ <ul class="clearfix">
+ <li><a href="/struts2-showcase-2.0.6/showcase.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Home</a></li>
+ <li><a href="/struts2-showcase-2.0.6/ajax/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Ajax</a></li>
+ <li><a href="/struts2-showcase-2.0.6/chat/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Ajax Chat</a></li>
+ <li><a href="/struts2-showcase-2.0.6/actionchaining/actionChain1!input.action">Action Chaining</a></li>
+ <li><a href="/struts2-showcase-2.0.6/config-browser/index.action">Config Browser</a></li>
+ <li><a href="/struts2-showcase-2.0.6/conversion/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Conversion</a></li>
+ <li><a href="/struts2-showcase-2.0.6/empmanager/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">CRUD</a></li>
+ <li><a href="/struts2-showcase-2.0.6/wait/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Execute & Wait</a></li>
+ <li><a href="/struts2-showcase-2.0.6/filedownload/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">File Download</a></li>
+ <li><a href="/struts2-showcase-2.0.6/fileupload?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">File Upload</a></li>
+ <li><a href="/struts2-showcase-2.0.6/freemarker/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Freemarker</a>
+ <li><a href="/struts2-showcase-2.0.6/hangman/hangmanMenu.action?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Hangman</a></li>
+ <li><a href="/struts2-showcase-2.0.6/jsf/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">JavaServer Faces</a></li>
+ <li><a href="/struts2-showcase-2.0.6/person/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Person Manager</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tags/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Tags</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tiles/index.action?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Tiles</a></li>
+ <li><a href="/struts2-showcase-2.0.6/token/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Token</a></li>
+ <li><a href="/struts2-showcase-2.0.6/validation/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Validation</a></li>
+ <li class="last"><a href="/struts2-showcase-2.0.6/help.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts-validation.xml%3A70&page=%2Fvalidation%2F%2Fvalidation%2FvisitorValidatorsExample.jsp&className=org.apache.struts2.showcase.validation.VisitorValidatorsExampleAction">Help</a></li>
+ </ul>
+ </div>
+ <hr/>
+
+ </div><!-- end nav -->
+
+ </div><!-- end content -->
+
+ <div>
+ <p>
+ <a href="/struts2-showcase-2.0.6/viewSource.action?config=file:/C:/mol/tools/jakarta-tomcat-5.0.30/webapps/struts2-showcase-2.0.6/WEB-INF/classes/struts.xml:60&className=org.apache.struts2.showcase.source.ViewSourceAction&page=//viewSource.jsp">View Sources</a>
+ </p>
+ </div>
+ <div id="footer" class="clearfix">
+ <p>Copyright © 2003-2007 The Apache Software Foundation.</p>
+ </div><!-- end footer -->
+ <p/>
+
+</div><!-- end page -->
+
+</body>
+</html>
Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1086687319.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-109342533.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-109342533.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-109342533.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-109342533.html Thu May 31 02:55:56 2007
@@ -0,0 +1,317 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>View Sources</title>
+ <link href="/struts2-showcase-2.0.6/styles/main.css" rel="stylesheet" type="text/css" media="all"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css" rel="stylesheet" type="text/css"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css" rel="stylesheet" type="text/css" media="print"/>
+
+ <script language="JavaScript" type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js"></script>
+
+ <script language="JavaScript" type="text/javascript">
+
+ window.onload=function(){
+ if(!NiftyCheck())
+ return;
+ Rounded("blockquote","tr bl","#ECF1F9","#CDFFAA","smooth border #88D84F");
+ Rounded("div#outer-header", "all", "white", "#818EBD", "smooth border #434F7C");
+ Rounded("div#footer", "all", "white", "#818EBD", "smooth border #434F7C");
+ }
+
+ </script>
+
+ <!--// START SNIPPET: common-include-->
+<link rel="stylesheet" href="/struts2-showcase-2.0.6/struts/xhtml/styles.css" type="text/css"/>
+<script language="JavaScript" type="text/javascript">
+ // Dojo configuration
+ djConfig = {
+ baseRelativePath: "/struts2-showcase-2.0.6/struts/dojo",
+ isDebug: false,
+ bindEncoding: "UTF-8",
+ debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes
+ };
+</script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/simple/dojoRequire.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/ajax/dojoRequire.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/CommonFunctions.js"></script>
+
+<!--// END SNIPPET: common-include-->
+
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/tabs.css?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction" media="print">
+ <script type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction"></script>
+ <script type="text/javascript">
+ window.onload = function() {
+ if (!NiftyCheck())
+ return;
+ Rounded("li.tab_selected", "top", "white", "transparent", "border #ffffffS");
+ Rounded("li.tab_unselected", "top", "white", "transparent", "border #ffffffS");
+ // Rounded("div#tab_header_main li","top","white","transparent","border #ffffffS");
+ // "white" needs to be replaced with the background color
+ }
+ </script>
+</head>
+
+<body id="page-home">
+
+
+<div id="page">
+ <div id="outer-header">
+ <div id="header" class="clearfix">
+ <div id="branding">
+ <h1 class="title">Struts Showcase</h1>
+
+2007/04/06 03:17:54
+
+ </div><!-- end branding -->
+
+ <div id="search">
+ <img src="/struts2-showcase-2.0.6/images/struts-power.gif" alt="Powered by Struts"/>
+ </div><!-- end search -->
+
+ <hr/>
+ </div>
+ </div><!-- end header -->
+
+ <div id="content" class="clearfix">
+
+ <h1>View Sources</h1>
+
+<script type="text/javascript">
+ dojo.require("dojo.widget.TabContainer");
+ dojo.require("dojo.widget.LinkPane");
+ dojo.require("dojo.widget.ContentPane");
+</script>
+
+<div dojoType="TabContainer"
+ id="test" doLayout="false">
+
+ <div dojoType="struts:BindDiv"
+
+ id="one" label="Page" showError="true">
+
+ <h3>/empmanager/editSkill.jsp</h3>
+<pre>
+
+1: <%@ taglib prefix="s" uri="/struts-tags" %>
+2:
+3: <%@ page contentType="text/html;charset=UTF-8" language="java" %>
+4:
+5: <s:if test="currentSkill!=null">
+6: <s:set name="submitType" value="'update'"/>
+7: <s:text id="title" name="item.edit"><s:param><s:text name="skill"/></s:param></s:text>
+8: </s:if>
+9: <s:else>
+10: <s:set name="submitType" value="'create'"/>
+11: <s:text id="title" name="item.create"><s:param><s:text name="skill"/></s:param></s:text>
+12: </s:else>
+13: <html>
+14: <head><title><s:property value="#title"/></title></head>
+15:
+16: <body>
+17: <h1><s:property value="#title"/></h1>
+18:
+19: <s:form action="save">
+20: <s:textfield label="%{getText('skill.name')}" name="currentSkill.name"/>
+21: <s:textfield label="%{getText('skill.description')}" name="currentSkill.description"/>
+22: <%--s:submit name="%{#submitType}" value="%{getText('save')}" /--%>
+23: <s:submit value="%{getText('save')}" />
+24: </s:form>
+25: <p><a href="<s:url action="list"/>"><s:text name="skill.backtolist"/></a></p>
+26: </body>
+27: </html>
+</pre>
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="two" label="Configuration" showError="true">
+
+ <h3>file:/C:/mol/tools/jakarta-tomcat-5.0.30/webapps/struts2-showcase-2.0.6/WEB-INF/classes/struts.xml</h3>
+<pre>
+
+
+67:
+68: </package>
+69:
+70: <package name="skill" extends="default" namespace="/skill">
+71: <default-interceptor-ref name="crudStack"/>
+72:
+73: <action name="list" class="org.apache.struts2.showcase.action.SkillAction" method="list">
+74: <result>/empmanager/listSkills.jsp</result>
+75: <interceptor-ref name="basicStack"/>
+76: </action>
+<span style="background-color:yellow">77: <action name="edit" class="org.apache.struts2.showcase.action.SkillAction"></span>
+78: <result>/empmanager/editSkill.jsp</result>
+79: <interceptor-ref name="params" />
+80: <interceptor-ref name="basicStack"/>
+81: </action>
+82: <action name="save" class="org.apache.struts2.showcase.action.SkillAction" method="save">
+83: <result name="input">/empmanager/editSkill.jsp</result>
+84: <result type="redirect">edit.action?skillName=${currentSkill.name}</result>
+85: </action>
+86: <action name="delete" class="org.apache.struts2.showcase.action.SkillAction" method="delete">
+87: <result name="error">/empmanager/editSkill.jsp</result>
+</pre>
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="three" label="Java Action" showError="true">
+
+ <h3>/org/apache/struts2/showcase/action/SkillAction.java</h3>
+<pre>
+
+1: /*
+2: * $Id: SkillAction.java 476710 2006-11-19 05:05:14Z mrdon $
+3: *
+4: * Licensed to the Apache Software Foundation (ASF) under one
+5: * or more contributor license agreements. See the NOTICE file
+6: * distributed with this work for additional information
+7: * regarding copyright ownership. The ASF licenses this file
+8: * to you under the Apache License, Version 2.0 (the
+9: * "License"); you may not use this file except in compliance
+10: * with the License. You may obtain a copy of the License at
+11: *
+12: * http://www.apache.org/licenses/LICENSE-2.0
+13: *
+14: * Unless required by applicable law or agreed to in writing,
+15: * software distributed under the License is distributed on an
+16: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+17: * KIND, either express or implied. See the License for the
+18: * specific language governing permissions and limitations
+19: * under the License.
+20: */
+21: package org.apache.struts2.showcase.action;
+22:
+23: import org.apache.log4j.Logger;
+24: import org.apache.struts2.showcase.dao.Dao;
+25: import org.apache.struts2.showcase.dao.SkillDao;
+26: import org.apache.struts2.showcase.model.Skill;
+27:
+28: import com.opensymphony.xwork2.Preparable;
+29:
+30: /**
+31: * SkillAction.
+32: *
+33: */
+34:
+35: public class SkillAction extends AbstractCRUDAction implements Preparable {
+36:
+37: private static final Logger log = Logger.getLogger(SkillAction.class);
+38:
+39: private String skillName;
+40: protected SkillDao skillDao;
+41: private Skill currentSkill;
+42:
+43: public String getSkillName() {
+44: return skillName;
+45: }
+46:
+47: public void setSkillName(String skillName) {
+48: this.skillName = skillName;
+49: }
+50:
+51: protected Dao getDao() {
+52: return skillDao;
+53: }
+54:
+55: public void setSkillDao(SkillDao skillDao) {
+56: if (log.isDebugEnabled()) {
+57: log.debug("SkillAction - [setSkillDao]: skillDao injected.");
+58: }
+59: this.skillDao = skillDao;
+60: }
+61:
+62: public Skill getCurrentSkill() {
+63: return currentSkill;
+64: }
+65:
+66: public void setCurrentSkill(Skill currentSkill) {
+67: this.currentSkill = currentSkill;
+68: }
+69:
+70: /**
+71: * This method is called to allow the action to prepare itself.
+72: *
+73: * @throws Exception thrown if a system level exception occurs.
+74: */
+75: public void prepare() throws Exception {
+76: Skill preFetched = (Skill) fetch(getSkillName(), getCurrentSkill());
+77: if (preFetched != null) {
+78: setCurrentSkill(preFetched);
+79: }
+80: }
+81:
+82: public String save() throws Exception {
+83: if (getCurrentSkill() != null) {
+84: setSkillName((String) skillDao.merge(getCurrentSkill()));
+85: }
+86: return SUCCESS;
+87: }
+88:
+89: }
+</pre>
+ </div>
+
+
+</div>
+
+ <div id="nav">
+ <div class="wrapper">
+ <h2 class="accessibility">Navigation</h2>
+ <ul class="clearfix">
+ <li><a href="/struts2-showcase-2.0.6/showcase.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Home</a></li>
+ <li><a href="/struts2-showcase-2.0.6/ajax/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Ajax</a></li>
+ <li><a href="/struts2-showcase-2.0.6/chat/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Ajax Chat</a></li>
+ <li><a href="/struts2-showcase-2.0.6/actionchaining/actionChain1!input.action">Action Chaining</a></li>
+ <li><a href="/struts2-showcase-2.0.6/config-browser/index.action">Config Browser</a></li>
+ <li><a href="/struts2-showcase-2.0.6/conversion/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Conversion</a></li>
+ <li><a href="/struts2-showcase-2.0.6/empmanager/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">CRUD</a></li>
+ <li><a href="/struts2-showcase-2.0.6/wait/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Execute & Wait</a></li>
+ <li><a href="/struts2-showcase-2.0.6/filedownload/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">File Download</a></li>
+ <li><a href="/struts2-showcase-2.0.6/fileupload?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">File Upload</a></li>
+ <li><a href="/struts2-showcase-2.0.6/freemarker/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Freemarker</a>
+ <li><a href="/struts2-showcase-2.0.6/hangman/hangmanMenu.action?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Hangman</a></li>
+ <li><a href="/struts2-showcase-2.0.6/jsf/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">JavaServer Faces</a></li>
+ <li><a href="/struts2-showcase-2.0.6/person/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Person Manager</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tags/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Tags</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tiles/index.action?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Tiles</a></li>
+ <li><a href="/struts2-showcase-2.0.6/token/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Token</a></li>
+ <li><a href="/struts2-showcase-2.0.6/validation/index.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Validation</a></li>
+ <li class="last"><a href="/struts2-showcase-2.0.6/help.jsp?config=file%3A%2FC%3A%2Fmol%2Ftools%2Fjakarta-tomcat-5.0.30%2Fwebapps%2Fstruts2-showcase-2.0.6%2FWEB-INF%2Fclasses%2Fstruts.xml%3A77&page=%2Fskill%2F%2Fempmanager%2FeditSkill.jsp&className=org.apache.struts2.showcase.action.SkillAction">Help</a></li>
+ </ul>
+ </div>
+ <hr/>
+
+ </div><!-- end nav -->
+
+ </div><!-- end content -->
+
+ <div>
+ <p>
+ <a href="/struts2-showcase-2.0.6/viewSource.action?config=file:/C:/mol/tools/jakarta-tomcat-5.0.30/webapps/struts2-showcase-2.0.6/WEB-INF/classes/struts.xml:60&className=org.apache.struts2.showcase.source.ViewSourceAction&page=//viewSource.jsp">View Sources</a>
+ </p>
+ </div>
+ <div id="footer" class="clearfix">
+ <p>Copyright © 2003-2007 The Apache Software Foundation.</p>
+ </div><!-- end footer -->
+ <p/>
+
+</div><!-- end page -->
+
+</body>
+</html>
Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-109342533.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1111513550.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1111513550.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1111513550.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1111513550.html Thu May 31 02:55:56 2007
@@ -0,0 +1,188 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Validation - Basic</title>
+ <link href="/struts2-showcase-2.0.6/styles/main.css" rel="stylesheet" type="text/css" media="all"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css" rel="stylesheet" type="text/css"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css" rel="stylesheet" type="text/css" media="print"/>
+
+ <script language="JavaScript" type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js"></script>
+
+ <script language="JavaScript" type="text/javascript">
+
+ window.onload=function(){
+ if(!NiftyCheck())
+ return;
+ Rounded("blockquote","tr bl","#ECF1F9","#CDFFAA","smooth border #88D84F");
+ Rounded("div#outer-header", "all", "white", "#818EBD", "smooth border #434F7C");
+ Rounded("div#footer", "all", "white", "#818EBD", "smooth border #434F7C");
+ }
+
+ </script>
+
+ <link rel="stylesheet" href="/struts2-showcase-2.0.6/struts/css_xhtml/styles.css" type="text/css"/>
+<script language="JavaScript" type="text/javascript">
+ // Dojo configuration
+ djConfig = {
+ baseRelativePath: "/struts2-showcase-2.0.6/struts/dojo",
+ isDebug: false,
+ bindEncoding: "UTF-8",
+ debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes
+ };
+</script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/simple/dojoRequire.js"></script>
+</head>
+
+<body id="page-home">
+
+
+<div id="page">
+ <div id="outer-header">
+ <div id="header" class="clearfix">
+ <div id="branding">
+ <h1 class="title">Struts Showcase</h1>
+
+2007/04/06 03:19:37
+
+ </div><!-- end branding -->
+
+ <div id="search">
+ <img src="/struts2-showcase-2.0.6/images/struts-power.gif" alt="Powered by Struts"/>
+ </div><!-- end search -->
+
+ <hr/>
+ </div>
+ </div><!-- end header -->
+
+ <div id="content" class="clearfix">
+
+ <!-- START SNIPPET: clientCssValidation -->
+
+
+
+
+
+
+<script src="/struts2-showcase-2.0.6/struts/css_xhtml/validation.js" type="text/javascript"></script>
+
+<form namespace="/validation" id="quizClientCss" name="quizClientCss" onsubmit="return validateForm_quizClientCss();" action="/struts2-showcase-2.0.6/validation/quizClientCss.action" method="post">
+
+ <div id="wwgrp_quizClientCss_name" class="wwgrp">
+<div id="wwlbl_quizClientCss_name" class="wwlbl">
+<label for="quizClientCss_name" class="label"> Name:
+</label></div> <br/><div id="wwctrl_quizClientCss_name" class="wwctrl">
+<input type="text" name="name" value="" id="quizClientCss_name"/>
+</div> </div>
+
+ <div id="wwgrp_quizClientCss_age" class="wwgrp">
+<div id="wwlbl_quizClientCss_age" class="wwlbl">
+<label for="quizClientCss_age" class="label"> Age:
+</label></div> <br/><div id="wwctrl_quizClientCss_age" class="wwctrl">
+<input type="text" name="age" value="0" id="quizClientCss_age"/>
+</div> </div>
+
+ <div id="wwgrp_quizClientCss_answer" class="wwgrp">
+<div id="wwlbl_quizClientCss_answer" class="wwlbl">
+<label for="quizClientCss_answer" class="label"> Favorite color:
+</label></div> <br/><div id="wwctrl_quizClientCss_answer" class="wwctrl">
+<input type="text" name="answer" value="" id="quizClientCss_answer"/>
+</div> </div>
+
+ <div align="right" id="wwctrl_quizClientCss_0"><input type="submit" id="quizClientCss_0" value="Submit"/>
+</div>
+</form>
+
+
+
+<script type="text/javascript">
+ function validateForm_quizClientCss() {
+ form = document.getElementById("quizClientCss");
+ clearErrorMessages(form);
+ clearErrorLabels(form);
+
+ var errors = false;
+ // field name: name
+ // validator name: requiredstring
+ if (form.elements['name']) {
+ field = form.elements['name'];
+ var error = "You must enter a name";
+ if (field.value != null && (field.value == "" || field.value.replace(/^\s+|\s+$/g,"").length == 0)) {
+ addError(field, error);
+ errors = true;
+ }
+ }
+ // field name: age
+ // validator name: int
+ if (form.elements['age']) {
+ field = form.elements['age'];
+ var error = "Only people ages 13 to 19 may take this quiz";
+ if (field.value != null) {
+ if (parseInt(field.value) <
+ 13 ||
+ parseInt(field.value) >
+ 19) {
+ addError(field, error);
+ errors = true;
+ }
+ }
+ }
+
+ return !errors;
+ }
+</script>
+
+ <div id="nav">
+ <div class="wrapper">
+ <h2 class="accessibility">Navigation</h2>
+ <ul class="clearfix">
+ <li><a href="/struts2-showcase-2.0.6/showcase.jsp">Home</a></li>
+ <li><a href="/struts2-showcase-2.0.6/ajax/index.jsp">Ajax</a></li>
+ <li><a href="/struts2-showcase-2.0.6/chat/index.jsp">Ajax Chat</a></li>
+ <li><a href="/struts2-showcase-2.0.6/actionchaining/actionChain1!input.action">Action Chaining</a></li>
+ <li><a href="/struts2-showcase-2.0.6/config-browser/index.action">Config Browser</a></li>
+ <li><a href="/struts2-showcase-2.0.6/conversion/index.jsp">Conversion</a></li>
+ <li><a href="/struts2-showcase-2.0.6/empmanager/index.jsp">CRUD</a></li>
+ <li><a href="/struts2-showcase-2.0.6/wait/index.jsp">Execute & Wait</a></li>
+ <li><a href="/struts2-showcase-2.0.6/filedownload/index.jsp">File Download</a></li>
+ <li><a href="/struts2-showcase-2.0.6/fileupload">File Upload</a></li>
+ <li><a href="/struts2-showcase-2.0.6/freemarker/index.jsp">Freemarker</a>
+ <li><a href="/struts2-showcase-2.0.6/hangman/hangmanMenu.action">Hangman</a></li>
+ <li><a href="/struts2-showcase-2.0.6/jsf/index.jsp">JavaServer Faces</a></li>
+ <li><a href="/struts2-showcase-2.0.6/person/index.jsp">Person Manager</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tags/index.jsp">Tags</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tiles/index.action">Tiles</a></li>
+ <li><a href="/struts2-showcase-2.0.6/token/index.jsp">Token</a></li>
+ <li><a href="/struts2-showcase-2.0.6/validation/index.jsp">Validation</a></li>
+ <li class="last"><a href="/struts2-showcase-2.0.6/help.jsp">Help</a></li>
+ </ul>
+ </div>
+ <hr/>
+
+ </div><!-- end nav -->
+
+ </div><!-- end content -->
+
+ <div>
+ <p>
+ <a href="/struts2-showcase-2.0.6/viewSource.action?config=file:/C:/mol/tools/jakarta-tomcat-5.0.30/webapps/struts2-showcase-2.0.6/WEB-INF/classes/struts-validation.xml:17&className=org.apache.struts2.showcase.validation.QuizAction&page=/validation/quiz-client-css.jsp">View Sources</a>
+ </p>
+ </div>
+ <div id="footer" class="clearfix">
+ <p>Copyright © 2003-2007 The Apache Software Foundation.</p>
+ </div><!-- end footer -->
+ <p/>
+
+</div><!-- end page -->
+
+</body>
+</html>
Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1111513550.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1142313256.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1142313256.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1142313256.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1142313256.html Thu May 31 02:55:56 2007
@@ -0,0 +1,130 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Showcase - Chat - Login</title>
+ <link href="/struts2-showcase-2.0.6/styles/main.css" rel="stylesheet" type="text/css" media="all"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css" rel="stylesheet" type="text/css"/>
+ <link href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css" rel="stylesheet" type="text/css" media="print"/>
+
+ <script language="JavaScript" type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js"></script>
+
+ <script language="JavaScript" type="text/javascript">
+
+ window.onload=function(){
+ if(!NiftyCheck())
+ return;
+ Rounded("blockquote","tr bl","#ECF1F9","#CDFFAA","smooth border #88D84F");
+ Rounded("div#outer-header", "all", "white", "#818EBD", "smooth border #434F7C");
+ Rounded("div#footer", "all", "white", "#818EBD", "smooth border #434F7C");
+ }
+
+ </script>
+
+ <link rel="stylesheet" href="/struts2-showcase-2.0.6/struts/xhtml/styles.css" type="text/css"/>
+<script language="JavaScript" type="text/javascript">
+ // Dojo configuration
+ djConfig = {
+ baseRelativePath: "/struts2-showcase-2.0.6/struts/dojo",
+ isDebug: false,
+ bindEncoding: "UTF-8",
+ debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes
+ };
+</script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/simple/dojoRequire.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/ajax/dojoRequire.js"></script>
+<script language="JavaScript" type="text/javascript"
+ src="/struts2-showcase-2.0.6/struts/CommonFunctions.js"></script>
+</head>
+
+<body id="page-home">
+
+
+<div id="page">
+ <div id="outer-header">
+ <div id="header" class="clearfix">
+ <div id="branding">
+ <h1 class="title">Struts Showcase</h1>
+
+2007/04/06 03:17:11
+
+ </div><!-- end branding -->
+
+ <div id="search">
+ <img src="/struts2-showcase-2.0.6/images/struts-power.gif" alt="Powered by Struts"/>
+ </div><!-- end search -->
+
+ <hr/>
+ </div>
+ </div><!-- end header -->
+
+ <div id="content" class="clearfix">
+
+ <form id="login" name="login" onsubmit="return true;" action="/struts2-showcase-2.0.6/chat/login.action" method="POST">
+<table class="wwFormTable"><tr>
+ <td class="tdLabel"><label for="login_name" class="label">Name<span class="required">*</span>:</label></td>
+ <td
+><input type="text" name="name" value="" id="login_name"/>
+</td>
+</tr>
+<tr>
+ <td colspan="2"><div align="right"><input type="submit" id="login_0" value="Submit"/>
+</div></td>
+</tr>
+</table></form>
+
+ <div id="nav">
+ <div class="wrapper">
+ <h2 class="accessibility">Navigation</h2>
+ <ul class="clearfix">
+ <li><a href="/struts2-showcase-2.0.6/showcase.jsp">Home</a></li>
+ <li><a href="/struts2-showcase-2.0.6/ajax/index.jsp">Ajax</a></li>
+ <li><a href="/struts2-showcase-2.0.6/chat/index.jsp">Ajax Chat</a></li>
+ <li><a href="/struts2-showcase-2.0.6/actionchaining/actionChain1!input.action">Action Chaining</a></li>
+ <li><a href="/struts2-showcase-2.0.6/config-browser/index.action">Config Browser</a></li>
+ <li><a href="/struts2-showcase-2.0.6/conversion/index.jsp">Conversion</a></li>
+ <li><a href="/struts2-showcase-2.0.6/empmanager/index.jsp">CRUD</a></li>
+ <li><a href="/struts2-showcase-2.0.6/wait/index.jsp">Execute & Wait</a></li>
+ <li><a href="/struts2-showcase-2.0.6/filedownload/index.jsp">File Download</a></li>
+ <li><a href="/struts2-showcase-2.0.6/fileupload">File Upload</a></li>
+ <li><a href="/struts2-showcase-2.0.6/freemarker/index.jsp">Freemarker</a>
+ <li><a href="/struts2-showcase-2.0.6/hangman/hangmanMenu.action">Hangman</a></li>
+ <li><a href="/struts2-showcase-2.0.6/jsf/index.jsp">JavaServer Faces</a></li>
+ <li><a href="/struts2-showcase-2.0.6/person/index.jsp">Person Manager</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tags/index.jsp">Tags</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tiles/index.action">Tiles</a></li>
+ <li><a href="/struts2-showcase-2.0.6/token/index.jsp">Token</a></li>
+ <li><a href="/struts2-showcase-2.0.6/validation/index.jsp">Validation</a></li>
+ <li class="last"><a href="/struts2-showcase-2.0.6/help.jsp">Help</a></li>
+ </ul>
+ </div>
+ <hr/>
+
+ </div><!-- end nav -->
+
+ </div><!-- end content -->
+
+ <div>
+ <p>
+ <a href="/struts2-showcase-2.0.6/viewSource.action?config=file:/C:/mol/tools/jakarta-tomcat-5.0.30/webapps/struts2-showcase-2.0.6/WEB-INF/classes/struts-chat.xml:39&className=com.opensymphony.xwork2.ActionSupport&page=/chat//chat/chatLogin.ftl">View Sources</a>
+ </p>
+ </div>
+ <div id="footer" class="clearfix">
+ <p>Copyright © 2003-2007 The Apache Software Foundation.</p>
+ </div><!-- end footer -->
+ <p/>
+
+</div><!-- end page -->
+
+</body>
+</html>
Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1142313256.html
------------------------------------------------------------------------------
svn:eol-style = native