You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by tm...@apache.org on 2006/06/18 07:11:59 UTC
svn commit: r415091 - in /struts/action2/trunk/apps/showcase/src/main/webapp:
WEB-INF/decorators/main.jsp chat/index.jsp showcase.jsp
Author: tmjee
Date: Sat Jun 17 22:11:59 2006
New Revision: 415091
URL: http://svn.apache.org/viewvc?rev=415091&view=rev
Log:
WW-1351
- added link to chat (ajax) example
- added redirect to chat example when hitting url <context-path>/chat/
Added:
struts/action2/trunk/apps/showcase/src/main/webapp/chat/index.jsp (with props)
Modified:
struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp
struts/action2/trunk/apps/showcase/src/main/webapp/showcase.jsp
Modified: struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp
URL: http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp?rev=415091&r1=415090&r2=415091&view=diff
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp (original)
+++ struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp Sat Jun 17 22:11:59 2006
@@ -78,6 +78,7 @@
<li><a href="<saf:url value="/conversion/index.jsp"/>"/>Conversion</a></li>
<li><a href="<saf:url action="index" namespace="/jsf"/>">JSF</a></li>
<li><a href="<saf:url value="/freemarker/index.jsp"/>">Freemarker</a>
+ <li><a href="<saf:url value="/chat/index.jsp"/>">Chat (AJAX)</a>
<li class="last"><a href="<saf:url value="/help.jsp"/>">Help</a></li>
</ul>
</div>
Added: struts/action2/trunk/apps/showcase/src/main/webapp/chat/index.jsp
URL: http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/webapp/chat/index.jsp?rev=415091&view=auto
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/webapp/chat/index.jsp (added)
+++ struts/action2/trunk/apps/showcase/src/main/webapp/chat/index.jsp Sat Jun 17 22:11:59 2006
@@ -0,0 +1,3 @@
+
+<% response.sendRedirect("main.action"); %>
+
Propchange: struts/action2/trunk/apps/showcase/src/main/webapp/chat/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: struts/action2/trunk/apps/showcase/src/main/webapp/showcase.jsp
URL: http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/webapp/showcase.jsp?rev=415091&r1=415090&r2=415091&view=diff
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/webapp/showcase.jsp (original)
+++ struts/action2/trunk/apps/showcase/src/main/webapp/showcase.jsp Sat Jun 17 22:11:59 2006
@@ -65,6 +65,9 @@
<!-- JavaServer Faces -->
<li><saf:url id="url" value="/jsf" /><saf:a href="%{#url}">JavaServer Faces Example</saf:a></li>
+
+ <!-- Chat (AJAX) Example -->
+ <li><saf:url id="url" value="/chat" /><saf:a href="%{#url}">Chat (AJAX) Example</saf:a></li>
</ul>
</p>