Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 17704 invoked from network); 31 May 2007 09:57:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2007 09:57:27 -0000 Received: (qmail 59830 invoked by uid 500); 31 May 2007 09:57:31 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 59813 invoked by uid 500); 31 May 2007 09:57:31 -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 59804 invoked by uid 99); 31 May 2007 09:57:31 -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:57:31 -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:57:14 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 4B0A81A9875; Thu, 31 May 2007 02:56:27 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r543102 [15/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... 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: <20070531095627.4B0A81A9875@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-648198311.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-648198311.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-648198311.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-648198311.html Thu May 31 02:55:56 2007 @@ -0,0 +1,363 @@ + + + + + + + + + + View Sources + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ +

View Sources

+ + + +
+ +
+ +

/validation/clientSideValidationExample.jsp

+
+
+1: <%--
+2:    fieldValidatorExample.jsp
+3: 
+4:    @author tm_jee
+5:    @version $Date: 2006-09-06 00:07:10 -0400 (Wed, 06 Sep 2006) $ $Id: clientSideValidationExample.jsp 440609 2006-09-06 04:07:10Z wsmoak $
+6: --%>
+7: 
+8: <%@taglib prefix="s" uri="/struts-tags" %>
+9: 
+10: <html>
+11:     <head>
+12:         <title>Showcase - Validation - Field Validators Example</title>
+13:         <s:url id="siteCss" includeContext="true" value="/validation/validationExamplesStyles.css" />
+14:         <s:head />
+15:         <!--  link rel="stylesheet" type="text/css" href='<s:property value="%{siteCss}" />'-->
+16:     </head>
+17:     <body>
+18: 
+19:     <!-- START SNIPPET: fieldValidatorsExample -->
+20: 
+21:         <h3>All Field Errors Will Appear Here</h3>
+22:         <s:fielderror />
+23:         <hr/>
+24: 
+25:         <h3>Field Error due to 'Required String Validator Field' Will Appear Here</h3>
+26:         <s:fielderror>
+27:             <s:param value="%{'requiredStringValidatorField'}" />
+28:         </s:fielderror>
+29:         <hr/>
+30: 
+31:         <h3>Field Error due to 'String Length Validator Field' Will Appear Here</h3>
+32:         <s:fielderror>
+33:             <s:param>stringLengthValidatorField</s:param>
+34:         </s:fielderror>
+35:         <hr/>
+36: 
+37:         <s:form action="submitClientSideValidationExample" namespace="/validation" method="POST" validate="true">
+38:             <s:textfield label="Required Validator Field" name="requiredValidatorField" />
+39:             <s:textfield label="Required String Validator Field" name="requiredStringValidatorField" />
+40:             <s:textfield label="Integer Validator Field" name="integerValidatorField" />
+41:             <s:textfield label="Date Validator Field" name="dateValidatorField" />
+42:             <s:textfield label="Email Validator Field" name="emailValidatorField" />
+43:             <s:textfield label="URL Validator Field" name="urlValidatorField" />
+44:             <s:textfield label="String Length Validator Field" name="stringLengthValidatorField" />
+45:             <s:textfield label="Regex Validator Field" name="regexValidatorField"/>
+46:             <s:textfield label="Field Expression Validator Field" name="fieldExpressionValidatorField" />
+47:             <s:submit label="Submit" />
+48:         </s:form>
+49: 
+50:     <!-- END SNIPPET: fieldValidatorsExample -->
+51: 
+52: 
+53:         <s:include value="footer.jsp" />
+54:     </body>
+55: </html>
+
+
+ +
+ +

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

+
+
+
+75: 			<result name="input">/validation/visitorValidatorsExample.jsp</result>
+76: 			<result>/validation/successVisitorValidatorsExample.jsp</result>
+77: 		</action>
+78: 
+79: 
+80: 
+81: 		<!-- ========================== -->
+82: 		<!-- === Visitor Validators === -->
+83: 		<!-- ========================== -->
+84: 
+85: 		<action name="clientSideValidationExample" class="org.apache.struts2.showcase.validation.FieldValidatorsExampleAction" method="input">
+86: 			<result name="input">/validation/clientSideValidationExample.jsp</result>
+87: 		</action>
+88: 
+89: 		<action name="submitClientSideValidationExample" class="org.apache.struts2.showcase.validation.FieldValidatorsExampleAction" method="submit">
+90: 			<result name="input">/validation/clientSideValidationExample.jsp</result>
+91: 			<result>/validation/successClientSideValidationExample.jsp</result>
+92: 		</action>
+93: 
+94: 		<!-- =========================================== -->
+95: 		<!-- === Store Error Messages Across Request === -->
+
+
+ +
+ +

/org/apache/struts2/showcase/validation/FieldValidatorsExampleAction.java

+
+
+1: /*
+2:  * $Id: FieldValidatorsExampleAction.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: import java.sql.Date;
+24: 
+25: /**
+26:  */
+27: 
+28: // START SNIPPET: fieldValidatorsExample
+29: 
+30: public class FieldValidatorsExampleAction extends AbstractValidationActionSupport {
+31: 
+32:     private static final long serialVersionUID = -4829381083003175423L;
+33: 
+34:     private String requiredValidatorField = null;
+35:     private String requiredStringValidatorField = null;
+36:     private Integer integerValidatorField = null;
+37:     private Date dateValidatorField = null;
+38:     private String emailValidatorField = null;
+39:     private String urlValidatorField = null;
+40:     private String stringLengthValidatorField = null;
+41:     private String regexValidatorField = null;
+42:     private String fieldExpressionValidatorField = null;
+43: 
+44: 
+45: 
+46:     public Date getDateValidatorField() {
+47:         return dateValidatorField;
+48:     }
+49:     public void setDateValidatorField(Date dateValidatorField) {
+50:         this.dateValidatorField = dateValidatorField;
+51:     }
+52:     public String getEmailValidatorField() {
+53:         return emailValidatorField;
+54:     }
+55:     public void setEmailValidatorField(String emailValidatorField) {
+56:         this.emailValidatorField = emailValidatorField;
+57:     }
+58:     public Integer getIntegerValidatorField() {
+59:         return integerValidatorField;
+60:     }
+61:     public void setIntegerValidatorField(Integer integerValidatorField) {
+62:         this.integerValidatorField = integerValidatorField;
+63:     }
+64:     public String getRegexValidatorField() {
+65:         return regexValidatorField;
+66:     }
+67:     public void setRegexValidatorField(String regexValidatorField) {
+68:         this.regexValidatorField = regexValidatorField;
+69:     }
+70:     public String getRequiredStringValidatorField() {
+71:         return requiredStringValidatorField;
+72:     }
+73:     public void setRequiredStringValidatorField(String requiredStringValidatorField) {
+74:         this.requiredStringValidatorField = requiredStringValidatorField;
+75:     }
+76:     public String getRequiredValidatorField() {
+77:         return requiredValidatorField;
+78:     }
+79:     public void setRequiredValidatorField(String requiredValidatorField) {
+80:         this.requiredValidatorField = requiredValidatorField;
+81:     }
+82:     public String getStringLengthValidatorField() {
+83:         return stringLengthValidatorField;
+84:     }
+85:     public void setStringLengthValidatorField(String stringLengthValidatorField) {
+86:         this.stringLengthValidatorField = stringLengthValidatorField;
+87:     }
+88:     public String getFieldExpressionValidatorField() {
+89:         return fieldExpressionValidatorField;
+90:     }
+91:     public void setFieldExpressionValidatorField(
+92:             String fieldExpressionValidatorField) {
+93:         this.fieldExpressionValidatorField = fieldExpressionValidatorField;
+94:     }
+95: 
+96:     public String getUrlValidatorField() {
+97:         return urlValidatorField;
+98:     }
+99: 
+100:     public void setUrlValidatorField(String urlValidatorField) {
+101:         this.urlValidatorField = urlValidatorField;
+102:     }
+103: }
+104: 
+105: 
+106: // END SNIPPET: fieldValidatorsExample
+107: 
+
+
+ + +
+ + + +
+ +
+

+ View Sources +

+
+ +

+ +

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

Modify Employee

+ +
+ + + + + + + + + + + + +
Employee Id:
First Name:
Last Name:
Salary:
Married:
Position:
Main Skill:
Other Skills:
Password:
Level:
Comment:
+ + +

+ + + Back +
+ + + +
+ +
+

+ View Sources +

+
+ +

+ +

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

View Sources

+ + + +
+ +
+ +

/ajax/tabbedpanel/example3.jsp

+
+
+1: <%@ page contentType="text/html;charset=UTF-8" language="java" %>
+2: <%@ taglib prefix="s" uri="/struts-tags" %>
+3: 
+4: <html>
+5: <head>
+6:     <title>Ajax examples - tabbled panel</title>
+7: 
+8:     <jsp:include page="/ajax/commonInclude.jsp"/>
+9:     <link rel="stylesheet" type="text/css" href="<s:url value="/struts/tabs.css"/>">
+10:     <link rel="stylesheet" type="text/css" href="<s:url value="/struts/niftycorners/niftyCorners.css"/>">
+11:     <link rel="stylesheet" type="text/css" href="<s:url value="/struts/niftycorners/niftyPrint.css"/>" media="print">
+12:     <script type="text/javascript" src="<s:url value="/struts/niftycorners/nifty.js"/>"></script>
+13:     <script type="text/javascript">
+14:         dojo.event.connect(window, "onload", function() {
+15:             if (!NiftyCheck())
+16:                 return;
+17:             Rounded("li.tab_selected", "top", "white", "transparent", "border #ffffffS");
+18:             Rounded("li.tab_unselected", "top", "white", "transparent", "border #ffffffS");
+19:             //                Rounded("div#tab_header_main li","top","white","transparent","border #ffffffS");
+20:             // "white" needs to be replaced with the background color
+21:         });
+22:     </script>
+23: </head>
+24: 
+25: <s:url id="ajaxTest" value="/AjaxTest.action" />
+26: 
+27: <body>
+28: 
+29:     <table cellpadding="0" cellspacing="10" border="0" width="600">
+30:         <tr>
+31:             <td align="top">
+32:                 <!--// START SNIPPET: tabbedpanel-tag-->
+33:                 <s:tabbedPanel id="test2" theme="simple" cssStyle="width: 500px; height: 300px;" doLayout="true">
+34:                       <s:div theme="ajax"  id="left" label="left">
+35:                           This is the left pane<br/>
+36:                           <s:form >
+37:                               <s:textfield name="tt" label="Test Text" />  <br/>
+38:                               <s:textfield name="tt2" label="Test Text2" />
+39:                           </s:form>
+40:                       </s:div>
+41:                       <s:div theme="ajax"  href="%{ajaxTest}" id="ryh1" label="remote one" />
+42:                       <s:div theme="ajax"  id="middle" label="middle">
+43:                           middle tab<br/>
+44:                           <s:form >
+45:                               <s:textfield name="tt" label="Test Text44" />  <br/>
+46:                               <s:textfield name="tt2" label="Test Text442" />
+47:                           </s:form>
+48:                       </s:div>
+49:                       <s:div theme="ajax" href="%{ajaxTest}"  id="ryh21" label="remote right" />
+50:                   </s:tabbedPanel>
+51:                 <!--// END SNIPPET: tabbedpanel-tag-->
+52:              </td>
+53:         </tr>
+54:     </table>
+55: 
+56: <s:include value="../footer.jsp"/>
+57: 
+58: </body>
+59: </html>
+
+
+ +
+ +

Unknown configuration

+
+
+
+
+
+ +
+ +

Unknown or unavailable Action class

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

+ View Sources +

+
+ +

+ +

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

View Sources

+ + + +
+ +
+ +

/ajax/tabbedpanel/example2.jsp

+
+
+1: <%@ page contentType="text/html;charset=UTF-8" language="java" %>
+2: <%@ taglib prefix="s" uri="/struts-tags" %>
+3: 
+4: <html>
+5: <head>
+6:     <title>Ajax examples - tabbled panel</title>
+7: 
+8:     <jsp:include page="/ajax/commonInclude.jsp"/>
+9:     <link rel="stylesheet" type="text/css" href="<s:url value="/struts/tabs.css"/>">
+10:     
+11:     
+12: </head>
+13: 
+14: <body>
+15: 
+16: 				<s:tabbedPanel id="test2" theme="simple" cssStyle="width: 500px; height: 300px;" doLayout="true">
+17:                       <s:div id="left" label="test1" theme="ajax" >
+18:                           I'm a Tab!!!
+19:                       </s:div >
+20:                       <s:div  id="middle" label="test2"  theme="ajax" >
+21:                           I'm the other Tab!!!
+22:                       </s:div >
+23:                      
+24:                   </s:tabbedPanel>
+25: 				  
+26: 				
+27: 
+28: <s:include value="../footer.jsp"/>
+29: 
+30: </body>
+31: </html>
+
+
+ +
+ +

Unknown configuration

+
+
+
+
+
+ +
+ +

Unknown or unavailable Action class

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

+ View Sources +

+
+ +

+ +

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

View Sources

+ + + +
+ +
+ +

/validation/quiz-client-css.jsp

+
+
+1: <%@ taglib prefix="s" uri="/struts-tags" %>
+2: 
+3: <!-- START SNIPPET: clientCssValidation -->
+4: 
+5: <html>
+6: <head>
+7:     <title>Validation - Basic</title>
+8:     <s:head theme="css_xhtml"/>
+9: </head>
+10: 
+11: <body>
+12: 
+13: <s:form method="post" theme="css_xhtml" validate="true">
+14:     <s:textfield label="Name" name="name"/>
+15:     <s:textfield label="Age" name="age"/>
+16:     <s:textfield label="Favorite color" name="answer"/>
+17:     <s:submit/>
+18: </s:form>
+19: 
+20: </body>
+21: </html>
+22: 
+23: <!--  END SNIPPET: clientCssValidation -->
+24: 
+
+
+ +
+ +

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

+
+
+
+7: 	    <action name="quizBasic" class="org.apache.struts2.showcase.validation.QuizAction">
+8:             <result name="input">quiz-basic.jsp</result>
+9:             <result>quiz-success.jsp</result>
+10:         </action>
+11: 
+12:         <action name="quizClient" class="org.apache.struts2.showcase.validation.QuizAction">
+13:             <result name="input">quiz-client.jsp</result>
+14:             <result>quiz-success.jsp</result>
+15:         </action>
+16: 
+17:         <action name="quizClientCss" class="org.apache.struts2.showcase.validation.QuizAction">
+18:             <result name="input">quiz-client-css.jsp</result>
+19:             <result>quiz-success.jsp</result>
+20:         </action>
+21: 
+22:         <action name="quizAjax" class="org.apache.struts2.showcase.validation.QuizAction">
+23:             <result name="input">quiz-ajax.jsp</result>
+24:             <result>quiz-success.jsp</result>
+25:         </action>
+26: 	</package>
+27: 
+
+
+ +
+ +

/org/apache/struts2/showcase/validation/QuizAction.java

+
+
+1: /*
+2:  * $Id: QuizAction.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: import com.opensymphony.xwork2.ActionSupport;
+24: 
+25: /**
+26:  */
+27: 
+28: // START SNIPPET: quizAction
+29: 
+30: public class QuizAction extends ActionSupport {
+31: 
+32:     private static final long serialVersionUID = -7505437345373234225L;
+33: 
+34:     String name;
+35:     int age;
+36:     String answer;
+37: 
+38:     public String getName() {
+39:         return name;
+40:     }
+41: 
+42:     public void setName(String name) {
+43:         this.name = name;
+44:     }
+45: 
+46:     public int getAge() {
+47:         return age;
+48:     }
+49: 
+50:     public void setAge(int age) {
+51:         this.age = age;
+52:     }
+53: 
+54:     public String getAnswer() {
+55:         return answer;
+56:     }
+57: 
+58:     public void setAnswer(String answer) {
+59:         this.answer = answer;
+60:     }
+61: }
+62: 
+63: // END SNIPPET: quizAction
+64: 
+
+
+ + +
+ + + +
+ +
+

+ View Sources +

+
+ +

+ +

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

View Sources

+ + + +
+ +
+ +

/tags/ui/componentTagExample.jsp

+
+
+1: <%@taglib prefix="s" uri="/struts-tags" %>
+2: 
+3: <html>
+4: <head>
+5: <title>Showcase - Tags - UI Tags - Component Tag</title>
+6: </head>
+7: <body>
+8:     
+9: This example tries to demonstrates the usage of &lt;s:component ... &gt; tag.
+10: <p/>
+11: 
+12: To have a look at the source of this jsp page click 
+13: <s:url id="url" action="showComponentTagExampleCode" namespace="/tags/ui"/>
+14: <s:a href="%{#url}">here</s:a>
+15: <p/>
+16:     
+17: <b>Example 1:</b>   
+18: This example load the template from the webapp context path using 
+19: the default (ftl) as its template.
+20:     <s:component 
+21:         theme="customTheme" 
+22:         templateDir="customTemplateDir" 
+23:         template="ftlCustomTemplate">
+24:         <s:param name="paramName" value="%{'paramValue1'}" />
+25:     </s:component>
+26: <p/>
+27:     
+28: <b>Example 2:</b>
+29: This example load the template from the webapp context path using
+30: jsp as its template (notice the *.jsp extension to the template).       
+31:     <s:component 
+32:         theme="customTheme" 
+33:         templateDir="customTemplateDir" 
+34:         template="jspCustomTemplate.jsp">
+35:         <s:param name="paramName" value="%{'paramValue2'}" />
+36:     </s:component>      
+37: <p/>
+38:     
+39: <b>Example 3</b>
+40: This example load the template from the webapp context path, 
+41: using the default template directory and theme (default to 
+42: 'template' and 'xhtml' respectively)
+43:     <s:component template="mytemplate.jsp">
+44:         <s:param name="paramName" value="%{'paramValue3'}" />
+45:     </s:component>
+46: <p/>
+47:     
+48:     
+49: <b>Example 4</b>    
+50: This example load the template from the webapp classpath using 
+51: a custom themplate directory and theme.
+52:     <s:component
+53:         theme="myTheme"
+54:         templateDir="myTemplateDir"
+55:         template="myAnotherTemplate">
+56:         <s:param name="paramName" value="%{'paramValue4'}" />
+57:     </s:component>
+58: <p/>
+59: 
+60: </body>
+61: </html>
+62: 
+
+
+ +
+ +

Unknown configuration

+
+
+
+
+
+ +
+ +

Unknown or unavailable Action class

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

+ View Sources +

+
+ +

+ +

+ + + Propchange: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-749838854.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-764544853.plain URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-764544853.plain?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-764544853.plain (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-764544853.plain Thu May 31 02:55:56 2007 @@ -0,0 +1,4 @@ + +selectedOperations=org.apache.struts2.showcase.conversion.EnumTypeConverter +Element_selectedOperations=org.apache.struts2.showcase.conversion.OperationsEnum + Added: harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-78492872.html URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-78492872.html?view=auto&rev=543102 ============================================================================== --- harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-78492872.html (added) +++ harmony/enhanced/buildtest/branches/2.0/tests/struts_test/resources/showcase/file-78492872.html Thu May 31 02:55:56 2007 @@ -0,0 +1,157 @@ + + + + + + + + + + Showcase - Tags - UI Tags + + + + + + + + + + + + + + +
+
+ +
+ + + +
+

+ View Sources +

+
+ +

+ +

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