Author: husted
Date: Sat Mar 11 11:25:32 2006
New Revision: 385145
URL: http://svn.apache.org/viewcvs?rev=385145&view=rev
Log:
Action2 Apps
* Add links to new plain-text result.
Modified:
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Hello.xml
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Select.xml
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Simple.xml
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Hello/index.jsp
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Select/index.jsp
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Simple/index.jsp
Modified:
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Hello.xml
URL:
http://svn.apache.org/viewcvs/struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Hello.xml?rev=385145&r1=385144&r2=385145&view=diff
==============================================================================
---
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Hello.xml
(original)
+++
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Hello.xml
Sat Mar 11 11:25:32 2006
@@ -12,5 +12,13 @@
<result>/pages/Hello/index.jsp</result>
</action>
+ <action name="View-Result">
+ <result type="plaintext">/pages/Hello/Result.jsp</result>
+ </action>
+
+ <action name="View-Config">
+ <result type="plaintext">/WEB-INF/classes/xwork-Hello.xml</result>
+ </action>
+
</package>
</xwork>
Modified:
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Select.xml
URL:
http://svn.apache.org/viewcvs/struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Select.xml?rev=385145&r1=385144&r2=385145&view=diff
==============================================================================
---
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Select.xml
(original)
+++
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Select.xml
Sat Mar 11 11:25:32 2006
@@ -13,5 +13,21 @@
<result>/pages/Select/index.jsp</result>
</action>
+ <action name="View-Input">
+ <result type="plaintext">/pages/Select/Input.jsp</result>
+ </action>
+
+ <action name="View-Result">
+ <result type="plaintext">/pages/Select/Result.jsp</result>
+ </action>
+
+ <action name="View-Action">
+ <result
type="plaintext">/WEB-INF/src/java/cookbook2/Select.java</result>
+ </action>
+
+ <action name="View-Config">
+ <result type="plaintext">/WEB-INF/classes/xwork-Select.xml</result>
+ </action>
+
</package>
</xwork>
Modified:
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Simple.xml
URL:
http://svn.apache.org/viewcvs/struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Simple.xml?rev=385145&r1=385144&r2=385145&view=diff
==============================================================================
---
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Simple.xml
(original)
+++
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/WEB-INF/classes/xwork-Simple.xml
Sat Mar 11 11:25:32 2006
@@ -13,5 +13,25 @@
<result>/pages/Simple/index.jsp</result>
</action>
+ <action name="View-Input">
+ <result type="plaintext">/pages/Simple/Input.jsp</result>
+ </action>
+
+ <action name="View-Result">
+ <result type="plaintext">/pages/Simple/Result.jsp</result>
+ </action>
+
+ <action name="View-Action">
+ <result
type="plaintext">/WEB-INF/src/java/cookbook2/Simple.java</result>
+ </action>
+
+ <action name="View-Config">
+ <result type="plaintext">/WEB-INF/classes/xwork-Simple.xml</result>
+ </action>
+
+ <action name="View-Validation">
+ <result
type="plaintext">/WEB-INF/src/java/cookbook2/validation-Simple.xml</result>
+ </action>
+
</package>
</xwork>
Modified:
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Hello/index.jsp
URL:
http://svn.apache.org/viewcvs/struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Hello/index.jsp?rev=385145&r1=385144&r2=385145&view=diff
==============================================================================
--- struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Hello/index.jsp
(original)
+++ struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Hello/index.jsp
Sat Mar 11 11:25:32 2006
@@ -13,15 +13,17 @@
<hr noshade="noshade"/>
<h2>Server Pages</h2>
-<ww:url id="result" value="/View.jsp?src=/pages/Hello/Result.jsp"/>
-<p><a href="<ww:property value="#result"/>">Result.jsp</a></p>
+<ul><li>
+ <a href="<ww:url action="View-Result"/>">Result.jsp</a>
+</li></ul>
<h2>Actions</h2>
<p>None</p>
<h2>Configuration files</h2>
-<ww:url id="config" value="/View.jsp?src=/WEB-INF/classes/xwork-Hello.xml"/>
-<p><a href="<ww:property value="#config"/>">xwork-Hello.xml</a></p>
+<ul><li>
+ <a href="<ww:url action="View-Config"/>">xwork-Hello.xml</a>
+</li></ul>
<h2>Other source files</h2>
<p>None</p>
Modified:
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Select/index.jsp
URL:
http://svn.apache.org/viewcvs/struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Select/index.jsp?rev=385145&r1=385144&r2=385145&view=diff
==============================================================================
---
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Select/index.jsp
(original)
+++
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Select/index.jsp
Sat Mar 11 11:25:32 2006
@@ -14,18 +14,21 @@
<hr noshade="noshade"/>
<h2>Server Pages</h2>
-<ww:url id="input" value="/View.jsp?src=/pages/Select/Select.jsp"/>
-<ww:url id="result" value="/View.jsp?src=/pages/Select/Result.jsp"/>
-<p><a href="<ww:property value="#input"/>">Select.jsp</a></p>
-<p><a href="<ww:property value="#result"/>">Result.jsp</a></p>
+<ul><li>
+ <a href="<ww:url action="View-Input"/>">Input.jsp</a>
+</li><li>
+ <a href="<ww:url action="View-Result"/>">Result.jsp</a>
+</li></ul>
<h2>Actions</h2>
-<ww:url id="action"
value="/View.jsp?src=/WEB-INF/src/java/cookbook/Select.java"/>
-<p><a href="<ww:property value="#action"/>">Select.java</a></p>
+<ul><li>
+ <a href="<ww:url action="View-Action"/>">Select.java</a>
+</li></ul>
<h2>Configuration files</h2>
-<ww:url id="config" value="/View.jsp?src=/WEB-INF/classes/xwork-Select.xml"/>
-<p><a href="<ww:property value="#config"/>">xwork-Select.xml</a></p>
+<ul><li>
+ <a href="<ww:url action="View-Config"/>">xwork-Select.xml</a>
+</li></ul>
<h2>Other source files</h2>
<p>None</p>
Modified:
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Simple/index.jsp
URL:
http://svn.apache.org/viewcvs/struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Simple/index.jsp?rev=385145&r1=385144&r2=385145&view=diff
==============================================================================
---
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Simple/index.jsp
(original)
+++
struts/sandbox/trunk/action2/apps/cookbook/src/webapp/pages/Simple/index.jsp
Sat Mar 11 11:25:32 2006
@@ -14,18 +14,23 @@
<hr noshade="noshade"/>
<h2>Server Pages</h2>
-<ww:url id="input" value="/View.jsp?src=/pages/Simple/Input.jsp"/>
-<ww:url id="result" value="/View.jsp?src=/pages/Simple/Result.jsp"/>
-<p><a href="<ww:property value="#input"/>">Select.jsp</a></p>
-<p><a href="<ww:property value="#result"/>">Result.jsp</a></p>
+<ul><li>
+ <a href="<ww:url action="View-Input"/>">Input.jsp</a>
+</li><li>
+ <a href="<ww:url action="View-Result"/>">Result.jsp</a>
+</li></ul>
<h2>Actions</h2>
-<ww:url id="action"
value="/View.jsp?src=/WEB-INF/src/java/cookbook/Simple.java"/>
-<p><a href="<ww:property value="#action"/>">Simple.java</a></p>
+<ul><li>
+ <a href="<ww:url action="View-Action"/>">Simple.java</a>
+</li></ul>
<h2>Configuration files</h2>
-<ww:url id="config" value="/View.jsp?src=/WEB-INF/classes/xwork-Simple.xml"/>
-<p><a href="<ww:property value="#config"/>">xwork-Simple.xml</a></p>
+<ul><li>
+ <a href="<ww:url action="View-Config"/>">xwork-Simple.xml</a>
+</li><li>
+ <a href="<ww:url action="View-Validation"/>">validation-Simple.xml</a>
+</li></ul>
<h2>Other source files</h2>
<p>None</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]