You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by he...@apache.org on 2006/09/13 12:46:43 UTC

svn commit: r442934 - in /struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui: debug.jsp index.jsp

Author: hermanns
Date: Wed Sep 13 03:46:43 2006
New Revision: 442934

URL: http://svn.apache.org/viewvc?view=rev&rev=442934
Log:
Debug tag does not render id attribute correctly
o backport from WW 2.2.3

Issue Number: WW-1438

Added:
    struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/debug.jsp   (with props)
Modified:
    struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/index.jsp

Added: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/debug.jsp
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/debug.jsp?view=auto&rev=442934
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/debug.jsp (added)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/debug.jsp Wed Sep 13 03:46:43 2006
@@ -0,0 +1,20 @@
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<html>
+<head>
+    <title>Non-UI Tags Example: Debug</title>
+    <s:head/>
+</head>
+
+<body>
+<h1>Debug Tag Usage</h1>
+
+	<p/>
+	This page shows a simple example of using the debug tag.  <br/>
+	Just add <tt style="font-size: 12px; font-weight:bold;color: blue;">&lt;s:debug /&gt;</tt> to your JSP page
+    and you will see the debug link.
+    <p/>
+    Just click on the Debug label to see the Struts ValueStack Debug information.
+    <p/>
+    <s:debug />
+</body>
+</html>
\ No newline at end of file

Propchange: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/debug.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/index.jsp
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/index.jsp?view=diff&rev=442934&r1=442933&r2=442934
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/index.jsp (original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/tags/non-ui/index.jsp Wed Sep 13 03:46:43 2006
@@ -10,6 +10,7 @@
 <ul>
     <li><s:url id="url" action="showActionTagDemo" namespace="/tags/non-ui/actionTag"/><s:a href="%{url}">Action Tag</s:a></li>
     <li><s:url id="url" value="date.jsp" /><s:a href="%{url}">Date Tag</s:a></li>
+    <li><s:url id="url" value="debug.jsp" /><s:a href="%{url}">Debug Tag</s:a></li>
     <li><s:url id="url" action="showGeneratorTagDemo" namespace="/tags/non-ui/iteratorGeneratorTag" /><s:a href="%{url}">Iterator Generator Tag</s:a></li>
     <li><s:url id="url" action="showAppendTagDemo" namespace="/tags/non-ui/appendIteratorTag" /><s:a href="%{#url}">Append Iterator Tag</s:a>
     <li><s:url id="url" action="showMergeTagDemo" namespace="/tags/non-ui/mergeIteratorTag" /><s:a href="%{#url}">Merge Iterator Demo</s:a>