Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 9424 invoked from network); 31 May 2007 09:56:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2007 09:56:57 -0000 Received: (qmail 58487 invoked by uid 500); 31 May 2007 09:57:00 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 58471 invoked by uid 500); 31 May 2007 09:57:00 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 58252 invoked by uid 99); 31 May 2007 09:56:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 02:56:58 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 02:56:47 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id C6FCE1A9823; Thu, 31 May 2007 02:56:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r543102 [4/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... Date: Thu, 31 May 2007 09:56:07 -0000 To: commits@harmony.apache.org From: smishura@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070531095626.C6FCE1A9823@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1294130853.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1294130853.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1294130853.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1294130853.html Thu May 31 02:55:56 2007 @@ -0,0 +1,192 @@ + + + + + + + + + + View Sources + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ +

View Sources

+ + + +
+ +
+ +

/person/index.jsp

+
+
+1: <html>
+2: <head>
+3:     <title>Acme Corp</title>
+4: </head>
+5: 
+6: <body>
+7: <ul>
+8:     <li><a href="newPerson!input.action">Create</a> a new person</li>
+9:     <li><a href="listPeople.action">List</a> all people</li>
+10: </ul>
+11: </body>
+12: </html>
+
+
+ +
+ +

Unknown configuration

+
+
+
+
+
+ +
+ +

Unknown or unavailable Action class

+
+
+
+
+ + +
+ + + +
+ +
+

+ View Sources +

+
+ +

+ +

+ + + Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1294130853.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1337903257.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1337903257.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1337903257.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1337903257.html Thu May 31 02:55:56 2007 @@ -0,0 +1,164 @@ + + + + + + + + + + Showcase - Conversion - Set + + + + + + + + + + + + + + +
+
+ +
+ +
+ +

+An example populating a Set of object (Address.java) into Struts' action (AddressAction.java) + +

+ +See the jsp code +here. +
+See the code for PersonAction.java +here. +
+See the code for Person.java +here. +
+ +

+ + +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + + +
+ +
+

+ View Sources +

+
+ +

+ +

+ + + Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1337903257.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1343062876.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1343062876.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1343062876.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1343062876.html Thu May 31 02:55:56 2007 @@ -0,0 +1,254 @@ + + + + + + + + + + Create Employee + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ +

Create Employee

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+ + + +
+ + +
+ +
+
+
+
+ + + +
+
+
+ + + + +

employee.backtolist

+ + + +
+ +
+

+ View Sources +

+
+ +

+ +

+ + + Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1343062876.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1363406647.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1363406647.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1363406647.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1363406647.html Thu May 31 02:55:56 2007 @@ -0,0 +1,154 @@ + + + + + + + + + + Showcase + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ +
+

+ The Struts Showcase demonstrates a variety of use cases and tag usages. + Essentially, the application exercises various framework features in isolation. + The Showcase is not meant as a "best practices" example. +

+ +
+

+ +

+

+ + + +
+ +
+

+ View Sources +

+
+ +

+ +

+ + + Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1363406647.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1371989947.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1371989947.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1371989947.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1371989947.html Thu May 31 02:55:56 2007 @@ -0,0 +1,259 @@ + + + + + + + + + + View Sources + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ +

View Sources

+ + + +
+ +
+ +

/showcase.jsp

+
+
+1: <%--
+2:     showcase.jsp
+3: 
+4:     @version $Date: 2007-02-18 20:26:47 -0500 (Sun, 18 Feb 2007) $ $Id: showcase.jsp 509048 2007-02-19 01:26:47Z husted $
+5: --%>
+6: 
+7: <%@ taglib prefix="s" uri="/struts-tags" %>
+8: <html>
+9: <head>
+10:     <title>Showcase</title>
+11:     <s:head theme="simple"/>
+12: </head>
+13: 
+14: <body>
+15:     <blockquote>
+16:         <p>
+17:             The Struts Showcase demonstrates a variety of use cases and tag usages.
+18:             Essentially, the application exercises various framework features in isolation.
+19:             <em>The Showcase is <strong>not</strong> meant as a "best practices" example.</em>
+20:         </p>
+21:         <ul>
+22:             <li>
+23:                 For more "by example" solutions,
+24:                 see the <a href="http://struts.apache.org/2.x/docs/cookbook.html">Struts Cookbook</a> pages.
+25:             </li>
+26:             <li>
+27:                 For a "best practices" example, see the
+28:                 <a href="http://planetstruts.org/struts2-mailreader/">MailReader application</a> Tour and source code.
+29:             </li>
+30:         </ul>
+31:     </blockquote>
+32:     <p>
+33:     <%-- THIS LIST IS MAINTAINED IN WEB-INF/decorators/main.jsp TO CREATE THE MENU BAR -- EDIT THERE AND COPY HERE --%>
+34:     <ul>
+35:         <li><a href="<s:url value="/showcase.jsp"/>">Home</a></li>
+36:         <li><a href="<s:url value="/ajax/index.jsp" />">Ajax Theme for Struts Tags</a></li>
+37:         <li><a href="<s:url value="/chat/index.jsp"/>">Ajax Chat</a>
+38:         <li><a href="<s:url action="actionChain1!input" namespace="/actionchaining"  includeParams="none" />">Action Chaining</a></li>
+39:         <li><a href="<s:url action="index" namespace="/config-browser" includeParams="none" />">Config Browser</a></li>
+40:         <li><a href="<s:url value="/conversion/index.jsp"/>">Conversion</a></li>
+41:         <li><a href="<s:url value="/empmanager/index.jsp"/>">CRUD</a></li>
+42:         <li><a href="<s:url value="/wait/index.jsp"/>">Execute & Wait</a></li>
+43:         <li><a href="<s:url value="/filedownload/index.jsp"/>">File Download</a></li>
+44:         <li><a href="<s:url value="/fileupload/index.jsp" />">File Upload</a></li>
+45:         <li><a href="<s:url value="/freemarker/index.jsp"/>">Freemarker</a>
+46:         <li><a href="<s:url action="hangmanMenu" namespace="/hangman"/>">Hangman</a></li>
+47:         <li><a href="<s:url value="/jsf/index.jsp"/>">JavaServer Faces</a></li>
+48:         <li><a href="<s:url value="/person/index.jsp"/>">Person Manager</a></li>
+49:         <li><a href="<s:url value="/tags/index.jsp"/>">Tags</a></li>
+50:         <li><a href="<s:url value="/tiles/index.action" />">Tiles</a></li>
+51:         <li><a href="<s:url value="/token/index.jsp"/>">Token</a></li>
+52:         <li><a href="<s:url value="/validation/index.jsp"/>">Validation</a></li>
+53:         <li class="last"><a href="<s:url value="/help.jsp"/>">Help</a></li>
+54:      </ul>
+55: </p>
+56: 
+57: </body>
+58: </html>
+
+
+ +
+ +

file:/C:/mol/tools/jakarta-tomcat-5.0.30/webapps/struts2-showcase-2.0.6/WEB-INF/classes/struts.xml

+
+
+
+46:     <package name="default" extends="struts-default">
+47:         <interceptors>
+48:             <interceptor-stack name="crudStack">
+49:               <interceptor-ref name="checkbox" />
+50:                 <interceptor-ref name="params" />
+51:         <interceptor-ref name="static-params" />
+52:                 <interceptor-ref name="defaultStack" />
+53:             </interceptor-stack>
+54:         </interceptors>
+55: 
+56:         <action name="showcase">
+57:             <result>showcase.jsp</result>
+58:         </action>
+59: 
+60:         <action name="viewSource" class="org.apache.struts2.showcase.source.ViewSourceAction">
+61:             <result>viewSource.jsp</result>
+62:         </action>
+63: 
+64:         <action name="date" class="org.apache.struts2.showcase.DateAction" method="browse">
+65:             <result name="success">/date.jsp</result>
+66:         </action>
+
+
+ +
+ +

/com/opensymphony/xwork2/ActionSupport.java

+
+
+
+
+ + +
+ + + +
+ +
+

+ View Sources +

+
+ +

+ +

+ + + Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1371989947.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1373088266.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1373088266.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1373088266.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1373088266.html Thu May 31 02:55:56 2007 @@ -0,0 +1,203 @@ + + + + + + + + + + View Sources + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ +

View Sources

+ + + +
+ +
+ +

/freemarker/index.jsp

+
+
+1: 
+2: <%@taglib prefix="s" uri="/struts-tags" %>
+3: 
+4: <html>
+5: <head>
+6:     <title>Showcase - Freemarker</title>
+7: </head>
+8: <body>
+9:     
+10:     <ul>
+11:         <li>
+12:             <s:url id="url" action="customFreemarkerManagerDemo" namespace="/freemarker" />
+13:             <s:a href="%{#url}">Demo of usage of a Custom Freemarker Manager</s:a>
+14:             <p/>
+15:             <s:url id="url" action="standardTags" namespace="/freemarker" />
+16:             <s:a href="%{#url}">Demo of Standard Struts Freemarker Tags</s:a>
+17:         </li>
+18:     </ul>
+19: 
+20: </body>
+21: </html>
+22: 
+23: 
+
+
+ +
+ +

Unknown configuration

+
+
+
+
+
+ +
+ +

Unknown or unavailable Action class

+
+
+
+
+ + +
+ + + +
+ +
+

+ View Sources +

+
+ +

+ +

+ + + Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1373088266.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1381191723.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1381191723.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1381191723.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1381191723.html Thu May 31 02:55:56 2007 @@ -0,0 +1,9 @@ + + + +Show me some text also + \ No newline at end of file Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1381191723.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1389384112.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1389384112.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1389384112.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1389384112.html Thu May 31 02:55:56 2007 @@ -0,0 +1,122 @@ + + + + + + + + + + Showcase - Freemarker + + + + + + + + + + + + + + +
+
+ +
+ + + +
+

+ View Sources +

+
+ +

+ +

+ + + Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-1389384112.html ------------------------------------------------------------------------------ svn:eol-style = native