husted 2002/12/29 09:01:25
Modified: web/exercise-taglib html-link.jsp
Log:
Add action attribute to html:link tests.
Revision Changes Path
1.4 +51 -1 jakarta-struts/web/exercise-taglib/html-link.jsp
Index: html-link.jsp
===================================================================
RCS file: /home/cvs/jakarta-struts/web/exercise-taglib/html-link.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- html-link.jsp 21 Jul 2002 19:57:17 -0000 1.3
+++ html-link.jsp 29 Dec 2002 17:01:24 -0000 1.4
@@ -81,7 +81,7 @@
<tr>
<th colspan="4" align="center">
- Hyperlinks To Be Tested
+ Hyperlinks To Be Tested via page attribute
</th>
</tr>
@@ -129,6 +129,56 @@
</td>
</tr>
+ <tr>
+ <th colspan="4" align="center">
+ Hyperlinks To Be Tested via action attribute
+ </th>
+ </tr>
+
+ <tr>
+ <td colspan="4" align="center">
+ <html:link action="/html-link">
+ No modifications at all
+ </html:link>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="4" align="center">
+ <html:link action="/html-link?doubleProperty=321.321&longProperty=321321">
+ Double and long via hard coded changes
+ </html:link>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="4" align="center">
+ <html:link action="/html-link"
+ paramId="stringProperty" paramName="newValue">
+ String via paramId and paramName
+ </html:link>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="4" align="center">
+ <html:link action="/html-link"
+ paramId="booleanProperty"
+ paramName="testbean" paramProperty="nested.booleanProperty">
+ Boolean via paramId, paramName, and paramValue
+ </html:link>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="4" align="center">
+ <html:link action="/html-link"
+ name="newValues">
+ Float, int, and stringArray via name (Map)
+ </html:link>
+ </td>
+ </tr>
+
<tr>
<th colspan="4" align="center">Reset and Cancel Buttons</th>
</tr>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>