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 [16/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/s...
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-841225711.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-841225711.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-841225711.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-841225711.html Thu May 31 02:55:56 2007
@@ -0,0 +1,206 @@
+<!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>UI Tags Example: Date</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>
+</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:18:51
+
+ </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">
+
+ <table>
+ <tr>
+ <th>Name</th>
+ <th>Format</th>
+ <th>Output</th>
+ </tr>
+ <tr>
+ <td><strong>Before date</strong></td>
+ <td>toString()</td>
+ <td>Fri Apr 07 15:18:51 NOVST 2006</td>
+ </tr>
+ <tr>
+ <td><strong>Past date</strong></td>
+ <td>toString()</td>
+ <td>Thu Apr 05 12:18:51 NOVST 2007</td>
+ </tr>
+ <tr>
+ <td><strong>Now date</strong></td>
+ <td>toString()</td>
+ <td>Fri Apr 06 15:18:51 NOVST 2007</td>
+ </tr>
+ <tr>
+ <td><strong>Future date</strong></td>
+ <td>toString()</td>
+ <td>Sat Apr 07 15:18:51 NOVST 2007</td>
+ </tr>
+ <tr>
+ <td><strong>After date</strong></td>
+ <td>toString()</td>
+ <td>Mon Apr 07 15:18:51 NOVST 2008</td>
+ </tr>
+ <tr>
+ <td><strong>Current date</strong></td>
+ <td>yyyy/MM/dd hh:mm:ss</td>
+ <td>2007/04/06 03:18:51</td>
+ </tr>
+ <tr>
+ <td><strong>Current date</strong></td>
+ <td>dd.MM.yyyy hh:mm:ss</td>
+ <td>06.04.2007 03:18:51</td>
+ </tr>
+ <tr>
+ <td><strong>Current time (24h)</strong></td>
+ <td>HH:mm:ss</td>
+ <td>15:18:51</td>
+ </tr>
+ <tr>
+ <td><strong>Before date</strong></td>
+ <td>MMM, dd yyyy</td>
+ <td>Apr, 07 2006</td>
+ </tr>
+ <tr>
+ <td><strong>Before date</strong></td>
+ <td>nice</td>
+ <td>364 days ago</td>
+ </tr>
+ <tr>
+ <td><strong>After date</strong></td>
+ <td>dd.MM.yyyy</td>
+ <td>07.04.2008</td>
+ </tr>
+ <tr>
+ <td><strong>After date</strong></td>
+ <td>nice</td>
+ <td>in one year, one day</td>
+ </tr>
+ <tr>
+ <td><strong>Past date</strong></td>
+ <td>dd/MM/yyyy hh:mm</td>
+ <td>05/04/2007 12:18</td>
+ </tr>
+ <tr>
+ <td><strong>Future date</strong></td>
+ <td>MM-dd-yy</td>
+ <td>04-05-07</td>
+ </tr>
+ <tr>
+ <td><strong>Future date (fallback)</strong></td>
+ <td>fallback</td>
+ <td>Apr 7, 2007 3:18:51 PM</td>
+ </tr>
+ <tr>
+ <td><strong>Past date</strong></td>
+ <td>nice</td>
+ <td>one day, 3 hours ago</td>
+ </tr>
+ <tr>
+ <td><strong>Future date</strong></td>
+ <td>nice</td>
+ <td>in 23 hours, 59 minutes</td>
+ </tr>
+</table>
+
+ <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=/tags/non-ui/date.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-841225711.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-861467256.plain
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-861467256.plain?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-861467256.plain (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-861467256.plain Thu May 31 02:55:56 2007
@@ -0,0 +1,55 @@
+/*
+ * $Id: Person.java 440597 2006-09-06 03:34:39Z tmjee $
+ *
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.struts2.showcase.conversion;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.struts2.util.StrutsTypeConverter;
+
+/**
+ * @version $Date$ $Id$
+ */
+public class EnumTypeConverter extends StrutsTypeConverter {
+
+ @Override
+ public Object convertFromString(Map context, String[] values, Class toClass) {
+ List<Enum> result = new ArrayList<Enum>();
+ for (int a=0; a< values.length; a++) {
+ Enum e = Enum.valueOf(OperationsEnum.class, values[a]);
+ if (e != null)
+ result.add(e);
+ }
+ return result;
+ }
+
+ @Override
+ public String convertToString(Map context, Object o) {
+ List l = (List) o;
+ String result ="<";
+ for (Iterator i = l.iterator(); i.hasNext(); ) {
+ result = result + "["+ i.next() +"]";
+ }
+ result = result+">";
+ return result;
+ }
+
+
+}
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-864853295.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-864853295.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-864853295.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-864853295.html Thu May 31 02:55:56 2007
@@ -0,0 +1,284 @@
+<!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?page=%2Ftags%2Fnon-ui%2Fdate.jsp">
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css?page=%2Ftags%2Fnon-ui%2Fdate.jsp">
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css?page=%2Ftags%2Fnon-ui%2Fdate.jsp" media="print">
+ <script type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js?page=%2Ftags%2Fnon-ui%2Fdate.jsp"></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:18:52
+
+ </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>/tags/non-ui/date.jsp</h3>
+<pre>
+
+1: <%@ taglib prefix="s" uri="/struts-tags" %>
+2: <html>
+3: <head>
+4: <title>UI Tags Example: Date</title>
+5: <s:head/>
+6: </head>
+7:
+8: <body>
+9: <s:action id="myDate" name="date" namespace="/" executeResult="false" />
+10:
+11: <table>
+12: <tr>
+13: <th>Name</th>
+14: <th>Format</th>
+15: <th>Output</th>
+16: </tr>
+17: <tr>
+18: <td><strong>Before date</strong></td>
+19: <td>toString()</td>
+20: <td><s:property value="#myDate.before.toString()"/></td>
+21: </tr>
+22: <tr>
+23: <td><strong>Past date</strong></td>
+24: <td>toString()</td>
+25: <td><s:property value="#myDate.past.toString()"/></td>
+26: </tr>
+27: <tr>
+28: <td><strong>Now date</strong></td>
+29: <td>toString()</td>
+30: <td><s:property value="#myDate.now.toString()"/></td>
+31: </tr>
+32: <tr>
+33: <td><strong>Future date</strong></td>
+34: <td>toString()</td>
+35: <td><s:property value="#myDate.future.toString()"/></td>
+36: </tr>
+37: <tr>
+38: <td><strong>After date</strong></td>
+39: <td>toString()</td>
+40: <td><s:property value="#myDate.after.toString()"/></td>
+41: </tr>
+42: <tr>
+43: <td><strong>Current date</strong></td>
+44: <td>yyyy/MM/dd hh:mm:ss</td>
+45: <td><s:date name="#myDate.now" format="yyyy/MM/dd hh:mm:ss" /></td>
+46: </tr>
+47: <tr>
+48: <td><strong>Current date</strong></td>
+49: <td>dd.MM.yyyy hh:mm:ss</td>
+50: <td><s:date name="#myDate.now" format="dd.MM.yyyy hh:mm:ss" /></td>
+51: </tr>
+52: <tr>
+53: <td><strong>Current time (24h)</strong></td>
+54: <td>HH:mm:ss</td>
+55: <td><s:date name="#myDate.now" format="HH:mm:ss" /></td>
+56: </tr>
+57: <tr>
+58: <td><strong>Before date</strong></td>
+59: <td>MMM, dd yyyy</td>
+60: <td><s:date name="#myDate.before" format="MMM, dd yyyy" /></td>
+61: </tr>
+62: <tr>
+63: <td><strong>Before date</strong></td>
+64: <td>nice</td>
+65: <td><s:date name="#myDate.before" nice="true"/></td>
+66: </tr>
+67: <tr>
+68: <td><strong>After date</strong></td>
+69: <td>dd.MM.yyyy</td>
+70: <td><s:date name="#myDate.after" format="dd.MM.yyyy" /></td>
+71: </tr>
+72: <tr>
+73: <td><strong>After date</strong></td>
+74: <td>nice</td>
+75: <td><s:date name="#myDate.after" nice="true"/></td>
+76: </tr>
+77: <tr>
+78: <td><strong>Past date</strong></td>
+79: <td>dd/MM/yyyy hh:mm</td>
+80: <td><s:date name="#myDate.past" format="dd/MM/yyyy hh:mm"/></td>
+81: </tr>
+82: <tr>
+83: <td><strong>Future date</strong></td>
+84: <td>MM-dd-yy</td>
+85: <td><s:date name="#myDate.past" format="MM-dd-yy"/></td>
+86: </tr>
+87: <tr>
+88: <td><strong>Future date (fallback)</strong></td>
+89: <td>fallback</td>
+90: <td><s:date name="#myDate.future" /></td>
+91: </tr>
+92: <tr>
+93: <td><strong>Past date</strong></td>
+94: <td>nice</td>
+95: <td><s:date name="#myDate.past" nice="true"/></td>
+96: </tr>
+97: <tr>
+98: <td><strong>Future date</strong></td>
+99: <td>nice</td>
+100: <td><s:date name="#myDate.future" nice="true"/></td>
+101: </tr>
+102: </table>
+103: </body>
+104: </html>
+</pre>
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="two" label="Configuration" showError="true">
+
+ <h3>Unknown configuration</h3>
+<pre>
+
+
+</pre>
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="three" label="Java Action" showError="true">
+
+ <h3>Unknown or unavailable Action class</h3>
+<pre>
+
+</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?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Home</a></li>
+ <li><a href="/struts2-showcase-2.0.6/ajax/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Ajax</a></li>
+ <li><a href="/struts2-showcase-2.0.6/chat/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.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?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Conversion</a></li>
+ <li><a href="/struts2-showcase-2.0.6/empmanager/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">CRUD</a></li>
+ <li><a href="/struts2-showcase-2.0.6/wait/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Execute & Wait</a></li>
+ <li><a href="/struts2-showcase-2.0.6/filedownload/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">File Download</a></li>
+ <li><a href="/struts2-showcase-2.0.6/fileupload?page=%2Ftags%2Fnon-ui%2Fdate.jsp">File Upload</a></li>
+ <li><a href="/struts2-showcase-2.0.6/freemarker/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Freemarker</a>
+ <li><a href="/struts2-showcase-2.0.6/hangman/hangmanMenu.action?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Hangman</a></li>
+ <li><a href="/struts2-showcase-2.0.6/jsf/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">JavaServer Faces</a></li>
+ <li><a href="/struts2-showcase-2.0.6/person/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Person Manager</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tags/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Tags</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tiles/index.action?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Tiles</a></li>
+ <li><a href="/struts2-showcase-2.0.6/token/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Token</a></li>
+ <li><a href="/struts2-showcase-2.0.6/validation/index.jsp?page=%2Ftags%2Fnon-ui%2Fdate.jsp">Validation</a></li>
+ <li class="last"><a href="/struts2-showcase-2.0.6/help.jsp?page=%2Ftags%2Fnon-ui%2Fdate.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.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-864853295.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-878964333.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-878964333.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-878964333.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-878964333.html Thu May 31 02:55:56 2007
@@ -0,0 +1,198 @@
+<!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?page=%2Fwait%2Fexample3.jsp">
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/niftycorners/niftyCorners.css?page=%2Fwait%2Fexample3.jsp">
+ <link rel="stylesheet" type="text/css" href="/struts2-showcase-2.0.6/struts/niftycorners/niftyPrint.css?page=%2Fwait%2Fexample3.jsp" media="print">
+ <script type="text/javascript" src="/struts2-showcase-2.0.6/struts/niftycorners/nifty.js?page=%2Fwait%2Fexample3.jsp"></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:18:09
+
+ </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>/wait/example3.jsp</h3>
+<pre>
+
+1: <%@ taglib prefix="s" uri="/struts-tags" %>
+2: <html>
+3: <head><title>Execute and Wait Examples</title></head>
+4:
+5: <body>
+6: <h1>Execute and Wait Example 3</h1>
+7:
+8: <b>Example 3:</b> As example 1 but uses a delay of 3000 millis before the wait page is shown.
+9: While waiting for the wait page it will check every 1000 millis if the background process is already
+10: done. Try simulating with a value of 700 millis to see that the wait page is shown soon thereafter.
+11:
+12: <s:form action="longProcess3">
+13: <s:textfield label="Time (millis)" name="time" required="true" value="9000"/>
+14: <s:submit value="submit"/>
+15: </s:form>
+16:
+17: </body>
+18: </html>
+</pre>
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="two" label="Configuration" showError="true">
+
+ <h3>Unknown configuration</h3>
+<pre>
+
+
+</pre>
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="three" label="Java Action" showError="true">
+
+ <h3>Unknown or unavailable Action class</h3>
+<pre>
+
+</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?page=%2Fwait%2Fexample3.jsp">Home</a></li>
+ <li><a href="/struts2-showcase-2.0.6/ajax/index.jsp?page=%2Fwait%2Fexample3.jsp">Ajax</a></li>
+ <li><a href="/struts2-showcase-2.0.6/chat/index.jsp?page=%2Fwait%2Fexample3.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?page=%2Fwait%2Fexample3.jsp">Conversion</a></li>
+ <li><a href="/struts2-showcase-2.0.6/empmanager/index.jsp?page=%2Fwait%2Fexample3.jsp">CRUD</a></li>
+ <li><a href="/struts2-showcase-2.0.6/wait/index.jsp?page=%2Fwait%2Fexample3.jsp">Execute & Wait</a></li>
+ <li><a href="/struts2-showcase-2.0.6/filedownload/index.jsp?page=%2Fwait%2Fexample3.jsp">File Download</a></li>
+ <li><a href="/struts2-showcase-2.0.6/fileupload?page=%2Fwait%2Fexample3.jsp">File Upload</a></li>
+ <li><a href="/struts2-showcase-2.0.6/freemarker/index.jsp?page=%2Fwait%2Fexample3.jsp">Freemarker</a>
+ <li><a href="/struts2-showcase-2.0.6/hangman/hangmanMenu.action?page=%2Fwait%2Fexample3.jsp">Hangman</a></li>
+ <li><a href="/struts2-showcase-2.0.6/jsf/index.jsp?page=%2Fwait%2Fexample3.jsp">JavaServer Faces</a></li>
+ <li><a href="/struts2-showcase-2.0.6/person/index.jsp?page=%2Fwait%2Fexample3.jsp">Person Manager</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tags/index.jsp?page=%2Fwait%2Fexample3.jsp">Tags</a></li>
+ <li><a href="/struts2-showcase-2.0.6/tiles/index.action?page=%2Fwait%2Fexample3.jsp">Tiles</a></li>
+ <li><a href="/struts2-showcase-2.0.6/token/index.jsp?page=%2Fwait%2Fexample3.jsp">Token</a></li>
+ <li><a href="/struts2-showcase-2.0.6/validation/index.jsp?page=%2Fwait%2Fexample3.jsp">Validation</a></li>
+ <li class="last"><a href="/struts2-showcase-2.0.6/help.jsp?page=%2Fwait%2Fexample3.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.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-878964333.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-880415594.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-880415594.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-880415594.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-880415594.html Thu May 31 02:55:56 2007
@@ -0,0 +1,136 @@
+<!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>JSF Integration 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>
+
+
+</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:18:46
+
+ </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">
+
+ <!-- todo: make header variable -->
+
+
+
+
+ <h1>Modify Employee</h1>
+
+ <form id="_idJsp0" name="_idJsp0" method="post" action="/struts2-showcase-2.0.6/jsf/employee/edit.action" enctype="application/x-www-form-urlencoded">
+ <input type="hidden" id="_idJsp0:_idJsp1" name="_idJsp0:_idJsp1" value="" />
+ <table border="0"><tbody><tr><td>Employee Id:</td><td><input id="_idJsp0:id" name="_idJsp0:id" type="text" value="" size="5" /></td><td></td></tr>
+<tr><td>First Name:</td><td><input id="_idJsp0:firstName" name="_idJsp0:firstName" type="text" value="" size="30" /></td><td></td></tr>
+<tr><td>Last Name:</td><td><input id="_idJsp0:lastName" name="_idJsp0:lastName" type="text" value="" size="30" /></td><td></td></tr>
+<tr><td>Salary:</td><td><input id="_idJsp0:salary" name="_idJsp0:salary" type="text" value="" size="10" /></td><td></td></tr>
+<tr><td>Married:</td><td><input type="checkbox" name="_idJsp0:married" id="_idJsp0:married" value="true" /></td><td></td></tr>
+<tr><td>Position:</td><td><select id="_idJsp0:position" name="_idJsp0:position" size="1"> <option value="Developer">Developer</option> <option value="System Architect">System Architect</option> <option value="Sales Manager">Sales Manager</option> <option value="CEO">CEO</option></select></td><td></td></tr>
+<tr><td>Main Skill:</td><td><select id="_idJsp0:mainSkill" name="_idJsp0:mainSkill" size="1"> <option value="WW-JUN">Struts Junior Developer</option> <option value="SPRING-DEV">Spring Developer</option> <option value="WW-SEN">Struts Senior Developer</option></select></td><td></td></tr>
+<tr><td>Other Skills:</td><td><select id="_idJsp0:otherSkills" name="_idJsp0:otherSkills" multiple="true" size="-2147483648"> <option value="WW-JUN">Struts Junior Developer</option> <option value="SPRING-DEV">Spring Developer</option> <option value="WW-SEN">Struts Senior Developer</option></select></td><td></td></tr>
+<tr><td>Password:</td><td><input type="password" id="_idJsp0:password" name="_idJsp0:password" /></td><td></td></tr>
+<tr><td>Level:</td><td><table id="_idJsp0:level"><tr> <td><label><input type="radio" name="_idJsp0:level" value="Junior" /> Junior</label></td> <td><label><input type="radio" name="_idJsp0:level" value="Senior" /> Senior</label></td> <td><label><input type="radio" name="_idJsp0:level" value="Master" /> Master</label></td></tr></table></td><td></td></tr>
+<tr><td>Comment:</td><td><textarea name="_idJsp0:comment" id="_idJsp0:comment" cols="50" rows="3"></textarea></td><td></td></tr>
+</tbody></table>
+
+ <input id="_idJsp0:_idJsp29" name="_idJsp0:_idJsp29" type="submit" value="Save" onclick="clear__5FidJsp0();" />
+ <br /><br />
+
+
+ <a id="_idJsp0:_idJsp30" href="list.action">Back</a>
+ <input type="hidden" name="_idJsp0_SUBMIT" value="1" /><input type="hidden" name="jsf_sequence" value="6" /><input type="hidden" name="_idJsp0:_link_hidden_" /><script type="text/javascript"><!--
+function clear__5FidJsp0() {
+ var f = document.forms['_idJsp0'];
+ f.elements['_idJsp0:_link_hidden_'].value='';
+ f.target='';
+}
+clear__5FidJsp0();
+//--></script></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-jsf.xml:28&className=org.apache.struts2.showcase.jsf.JsfEmployeeAction&page=/jsf/employee/null">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-880415594.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-895215870.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-895215870.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-895215870.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-895215870.html Thu May 31 02:55:56 2007
@@ -0,0 +1,148 @@
+<!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>Example 4</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" />
+</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:59
+
+ </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">
+
+ <script type="text/javascript">
+ dojo.require("dojo.widget.TabContainer");
+ dojo.require("dojo.widget.LinkPane");
+ dojo.require("dojo.widget.ContentPane");
+</script>
+
+<div dojoType="TabContainer"
+ id="tabbedpanel" doLayout="false">
+
+ <div dojoType="struts:BindDiv"
+
+ id="panel1" label="Panel1" href="/struts2-showcase-2.0.6/nodecorate/panel1.action" showError="true">
+</div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="panel2" label="Panel2" href="/struts2-showcase-2.0.6/nodecorate/panel2.action" showError="true">
+</div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="panel3" label="Panel3" href="/struts2-showcase-2.0.6/nodecorate/panel3.action" showError="true">
+</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">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/tabbedpanel/example4.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-895215870.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-96067883.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-96067883.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-96067883.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-96067883.html Thu May 31 02:55:56 2007
@@ -0,0 +1,165 @@
+<!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 - tabbled panel</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">
+</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:01
+
+ </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">
+
+ <script type="text/javascript">
+ dojo.require("dojo.widget.TabContainer");
+ dojo.require("dojo.widget.LinkPane");
+ dojo.require("dojo.widget.ContentPane");
+</script>
+
+<div dojoType="TabContainer"
+ style="width: 500px; height: 300px;" id="test2" labelPosition="bottom" closeButton="pane" doLayout="true">
+
+ <div dojoType="struts:BindDiv"
+
+ id="left" label="test1" showError="true">
+
+ I'm a Tab!!!
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="middle" label="test2" showError="true">
+
+ I'm the other Tab!!!
+ </div>
+
+
+ </div>
+
+
+
+
+
+
+<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/tabbedpanel/example5.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-96067883.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-971358050.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-971358050.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-971358050.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-971358050.html Thu May 31 02:55:56 2007
@@ -0,0 +1,368 @@
+<!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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">
+ <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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">
+ <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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction" 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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction"></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:57
+
+ </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/editEmployee.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="currentEmployee!=null">
+6: <s:text id="title" name="item.edit"><s:param><s:text name="employee"/></s:param></s:text>
+7: </s:if>
+8: <s:else>
+9: <s:text id="title" name="item.create"><s:param><s:text name="employee"/></s:param></s:text>
+10: </s:else>
+11: <html>
+12: <head>
+13: <title><s:property value="#title"/></title>
+14: <s:head/>
+15: </head>
+16:
+17: <body>
+18: <h1><s:property value="#title"/></h1>
+19:
+20: <s:action id="skillAction" namespace="/skill" name="list"/>
+21:
+22: <s:form name="editForm" action="save">
+23: <s:textfield label="Employee Id" name="currentEmployee.empId"/>
+24: <s:textfield label="%{getText('employee.firstName')}" name="currentEmployee.firstName"/>
+25: <s:textfield label="%{getText('employee.lastName')}" name="currentEmployee.lastName"/>
+26: <s:datetimepicker label="Birthdate" name="currentEmployee.birthDate"/>
+27: <s:textfield label="Salary" name="currentEmployee.salary"/>
+28: <s:checkbox fieldValue="true" label="Married" name="currentEmployee.married"/>
+29: <s:combobox list="availablePositions" label="Position" name="currentEmployee.position"/>
+30: <s:select list="#skillAction.availableItems" listKey="name" label="Main Skill"
+31: name="currentEmployee.mainSkill.name"/>
+32: <s:select list="#skillAction.availableItems" listKey="name" listValue="description" label="Other Skills"
+33: name="selectedSkills" multiple="true"/>
+34: <s:password label="Password" name="currentEmployee.password"/>
+35: <s:radio list="availableLevels" name="currentEmployee.level"/>
+36: <s:textarea label="Comment" name="currentEmployee.comment" cols="50" rows="3"/>
+37: <s:submit value="%{getText('save')}" />
+38: </s:form>
+39: <p><a href="<s:url action="list"/>"><s:text name="employee.backtolist"/></a></p>
+40: </body>
+41: </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>
+
+
+89: </action>
+90: </package>
+91:
+92: <package name="employee" extends="default" namespace="/employee">
+93: <default-interceptor-ref name="crudStack"/>
+94:
+95: <action name="list" class="org.apache.struts2.showcase.action.EmployeeAction" method="list">
+96: <result>/empmanager/listEmployees.jsp</result>
+97: <interceptor-ref name="basicStack"/>
+98: </action>
+<span style="background-color:yellow">99: <action name="edit-*" class="org.apache.struts2.showcase.action.EmployeeAction"></span>
+100: <param name="empId">{1}</param>
+101: <result>/empmanager/editEmployee.jsp</result>
+102: <interceptor-ref name="crudStack"><param name="validation.excludeMethods">execute</param></interceptor-ref>
+103: </action>
+104: <action name="save" class="org.apache.struts2.showcase.action.EmployeeAction" method="save">
+105: <result name="input">/empmanager/editEmployee.jsp</result>
+106: <result type="redirect">edit-${currentEmployee.empId}.action</result>
+107: </action>
+108: <action name="delete" class="org.apache.struts2.showcase.action.EmployeeAction" method="delete">
+109: <result name="error">/empmanager/editEmployee.jsp</result>
+</pre>
+ </div>
+
+ <div dojoType="struts:BindDiv"
+
+ id="three" label="Java Action" showError="true">
+
+ <h3>/org/apache/struts2/showcase/action/EmployeeAction.java</h3>
+<pre>
+
+1: /*
+2: * $Id: EmployeeAction.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 java.util.ArrayList;
+24: import java.util.Arrays;
+25: import java.util.Iterator;
+26: import java.util.List;
+27:
+28: import org.apache.log4j.Logger;
+29: import org.apache.struts2.showcase.application.TestDataProvider;
+30: import org.apache.struts2.showcase.dao.Dao;
+31: import org.apache.struts2.showcase.dao.EmployeeDao;
+32: import org.apache.struts2.showcase.model.Employee;
+33: import org.apache.struts2.showcase.model.Skill;
+34:
+35: import com.opensymphony.xwork2.Preparable;
+36:
+37: /**
+38: * JsfEmployeeAction.
+39: */
+40:
+41: public class EmployeeAction extends AbstractCRUDAction implements Preparable {
+42:
+43: private static final long serialVersionUID = 7047317819789938957L;
+44:
+45: private static final Logger log = Logger.getLogger(EmployeeAction.class);
+46:
+47: private Long empId;
+48: protected EmployeeDao employeeDao;
+49: private Employee currentEmployee;
+50: private List selectedSkills;
+51:
+52: public Long getEmpId() {
+53: return empId;
+54: }
+55:
+56: public void setEmpId(Long empId) {
+57: this.empId = empId;
+58: }
+59:
+60: public Employee getCurrentEmployee() {
+61: return currentEmployee;
+62: }
+63:
+64: public void setCurrentEmployee(Employee currentEmployee) {
+65: this.currentEmployee = currentEmployee;
+66: }
+67:
+68: public String[] getAvailablePositions() {
+69: return TestDataProvider.POSITIONS;
+70: }
+71:
+72: public List getAvailableLevels() {
+73: return Arrays.asList(TestDataProvider.LEVELS);
+74: }
+75:
+76: public List getSelectedSkills() {
+77: return selectedSkills;
+78: }
+79:
+80: public void setSelectedSkills(List selectedSkills) {
+81: this.selectedSkills = selectedSkills;
+82: }
+83:
+84: protected Dao getDao() {
+85: return employeeDao;
+86: }
+87:
+88: public void setEmployeeDao(EmployeeDao employeeDao) {
+89: if (log.isDebugEnabled()) {
+90: log.debug("JsfEmployeeAction - [setEmployeeDao]: employeeDao injected.");
+91: }
+92: this.employeeDao = employeeDao;
+93: }
+94:
+95: /**
+96: * This method is called to allow the action to prepare itself.
+97: *
+98: * @throws Exception thrown if a system level exception occurs.
+99: */
+100: public void prepare() throws Exception {
+101: Employee preFetched = (Employee) fetch(getEmpId(), getCurrentEmployee());
+102: if (preFetched != null) {
+103: setCurrentEmployee(preFetched);
+104: }
+105: }
+106:
+107: public String execute() throws Exception {
+108: if (getCurrentEmployee() != null && getCurrentEmployee().getOtherSkills() != null) {
+109: setSelectedSkills(new ArrayList());
+110: Iterator it = getCurrentEmployee().getOtherSkills().iterator();
+111: while (it.hasNext()) {
+112: getSelectedSkills().add(((Skill) it.next()).getName());
+113: }
+114: }
+115: return super.execute();
+116: }
+117:
+118: public String save() throws Exception {
+119: if (getCurrentEmployee() != null) {
+120: setEmpId((Long) employeeDao.merge(getCurrentEmployee()));
+121: employeeDao.setSkills(getEmpId(), getSelectedSkills());
+122: }
+123: return SUCCESS;
+124: }
+125:
+126: }
+</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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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%3A99&page=%2Femployee%2F%2Fempmanager%2FeditEmployee.jsp&className=org.apache.struts2.showcase.action.EmployeeAction">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-971358050.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-972726305.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-972726305.html?view=auto&rev=543102
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-972726305.html (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-972726305.html Thu May 31 02:55:56 2007
@@ -0,0 +1,123 @@
+<!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>Struts ~ Getting Support</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:44
+
+ </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">
+
+ <div id="main">
+ <h4>Getting support</h4>
+
+ <table style="width: auto;">
+ <tr>
+ <th style="width: auto;">Link</th>
+ <th style="width: auto;">Description</th>
+ </tr>
+ <tr>
+ <td><a href="http://struts.apache.org/mail.html">User List</a></td>
+ <td>Use this mailing list if you encounter problems while developing and using with Struts</td>
+ </tr>
+ <tr>
+ <td><a href="http://struts.apache.org/2.x/">Struts 2</a></td>
+ <td>The Struts 2 website</td>
+ </tr>
+ </table>
+ </div>
+
+ <div id="local">
+ <img src='/struts2-showcase-2.0.6/images/struts.gif' alt="Struts Logo" width="290" height="80"/>
+ </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">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=/help.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-972726305.html
------------------------------------------------------------------------------
svn:eol-style = native