You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/06/12 13:36:12 UTC
struts-examples git commit: Uses var instead of id
Repository: struts-examples
Updated Branches:
refs/heads/master 77945afaf -> 410e1dd80
Uses var instead of id
Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/410e1dd8
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/410e1dd8
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/410e1dd8
Branch: refs/heads/master
Commit: 410e1dd809e3d6c7ada8965e0788248bf9e502a4
Parents: 77945af
Author: Lukasz Lenart <lu...@gmail.com>
Authored: Sun Jun 12 15:35:58 2016 +0200
Committer: Lukasz Lenart <lu...@gmail.com>
Committed: Sun Jun 12 15:35:58 2016 +0200
----------------------------------------------------------------------
blank/src/main/webapp/WEB-INF/jsp/example/HelloWorld.jsp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts-examples/blob/410e1dd8/blank/src/main/webapp/WEB-INF/jsp/example/HelloWorld.jsp
----------------------------------------------------------------------
diff --git a/blank/src/main/webapp/WEB-INF/jsp/example/HelloWorld.jsp b/blank/src/main/webapp/WEB-INF/jsp/example/HelloWorld.jsp
index 17b0963..a845c1e 100644
--- a/blank/src/main/webapp/WEB-INF/jsp/example/HelloWorld.jsp
+++ b/blank/src/main/webapp/WEB-INF/jsp/example/HelloWorld.jsp
@@ -11,13 +11,13 @@
<h3>Languages</h3>
<ul>
<li>
- <s:url id="url" action="HelloWorld">
+ <s:url var="url" action="HelloWorld">
<s:param name="request_locale">en</s:param>
</s:url>
<s:a class="test" href="%{url}">English</s:a>
</li>
<li>
- <s:url id="url" action="HelloWorld">
+ <s:url var="url" action="HelloWorld">
<s:param name="request_locale">es</s:param>
</s:url>
<s:a href="%{url}">Espanol</s:a>