struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r413017 - /struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-conversion.xml
Date Fri, 09 Jun 2006 11:22:10 GMT
Author: tmjee
Date: Fri Jun  9 04:22:09 2006
New Revision: 413017

URL: http://svn.apache.org/viewvc?rev=413017&view=rev
Log:
- commit missing xwork-conversion.xml for Showcase conversion example. 


Added:
    struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-conversion.xml
  (with props)

Added: struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-conversion.xml
URL: http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-conversion.xml?rev=413017&view=auto
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-conversion.xml
(added)
+++ struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-conversion.xml
Fri Jun  9 04:22:09 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE xwork PUBLIC 
+	"-//OpenSymphony Group//XWork 1.1.1//EN" 
+	"http://www.opensymphony.com/xwork/xwork-1.1.1.dtd">
+	
+<xwork>
+	<include file="struts-default.xml" />
+	
+	<package name="conversion" namespace="/conversion" extends="struts-default">
+		<action name="enterPersonsInfo" method="input"
+				class="org.apache.struts.action2.showcase.conversion.PersonAction">
+			<result>enterPersonInfo.jsp</result>
+		</action>
+		<action name="submitPersonInfo" method="submit"
+				class="org.apache.struts.action2.showcase.conversion.PersonAction">
+			<result>showPersonInfo.jsp</result>	
+			<result name="input">enterPersonInfo.jsp</result>
+		</action>
+		<action name="showJspCode">
+			<result type="plaintext">/conversion/enterPersonInfo.jsp</result>
+		</action>
+		<action name="showPersonActionJavaCode">
+			<result type="plaintext">/conversion/PersonAction.java.txt</result>
+		</action>
+		<action name="showPersonJavaCode">
+			<result type="plaintext">/conversion/Person.java.txt</result>
+		</action>
+	</package>
+</xwork>	

Propchange: struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-conversion.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message