Debug tag does not render id attribute correctly

o backport from WW 2.2.3

Issue Number: WW-1438

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442934 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rainer Hermanns
2006-09-13 10:46:43 +00:00
parent 1c3543e79c
commit 96e362a05c
2 changed files with 21 additions and 0 deletions
@@ -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>
@@ -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>