You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by hu...@apache.org on 2004/01/02 12:55:06 UTC
cvs commit: jakarta-struts/web/validator index.jsp type.jsp
husted 2004/01/02 03:55:06
Modified: web/example/WEB-INF struts-config.xml
web/validator index.jsp type.jsp
Log:
Add "useLocalEncoding" attribute to link to demonstrate use.
Revision Changes Path
1.35 +6 -5 jakarta-struts/web/example/WEB-INF/struts-config.xml
Index: struts-config.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/web/example/WEB-INF/struts-config.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- struts-config.xml 21 Dec 2003 22:43:52 -0000 1.34
+++ struts-config.xml 2 Jan 2004 11:55:06 -0000 1.35
@@ -46,7 +46,8 @@
<!-- Display welcome page -->
<action path="/welcome"
- forward="/welcome.jsp"/>
+ type="org.apache.struts.actions.ForwardAction"
+ parameter="/welcome.jsp"/>
<!-- Display registration page -->
<action path="/registration"
@@ -107,11 +108,11 @@
<!-- ========== Controller Configuration ================================ -->
- <controller>
- <!-- The "input" parameter on "action" elements is the name of a
+ <controller pagePattern="$M$P" inputForward="true" />
+ <!-- pagePattern: use this pattern when creating URIs to resources.
+ $M=module, $P=path -->
+ <!-- inputForward: The "input" parameter on "action" elements is the name of a
local or global "forward" rather than a module-relative path -->
- <set-property property="inputForward" value="true"/>
- </controller>
<!-- ========== Message Resources Definitions =========================== -->
1.6 +1 -1 jakarta-struts/web/validator/index.jsp
Index: index.jsp
===================================================================
RCS file: /home/cvs/jakarta-struts/web/validator/index.jsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- index.jsp 21 Dec 2003 22:49:11 -0000 1.5
+++ index.jsp 2 Jan 2004 11:55:06 -0000 1.6
@@ -66,7 +66,7 @@
<bean:message key="localeForm.frCA"/>
</li>
<li>
- <html:link action="/locale.?language=ja">Japanese | Japonais</html:link> -
+ <html:link action="/locale.?language=ja" useLocalEncoding="true">Japanese | Japonais</html:link> -
<bean:message key="localeForm.ja"/>
</li>
</ul>
1.6 +0 -1 jakarta-struts/web/validator/type.jsp
Index: type.jsp
===================================================================
RCS file: /home/cvs/jakarta-struts/web/validator/type.jsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- type.jsp 24 Sep 2003 03:43:17 -0000 1.5
+++ type.jsp 2 Jan 2004 11:55:06 -0000 1.6
@@ -145,7 +145,6 @@
</nested:messages>
</ul>
</nested:messagesPresent>
-
<nested:text property="value" size="15" maxlength="15"/>
</td>
</tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org