tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35351] - Unable to reference nested/inner classes in <jsp:useBean> tags
Date Mon, 05 Sep 2005 14:34:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35351>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35351


jens@voss-ahrensburg.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From jens@voss-ahrensburg.de  2005-09-05 16:34 -------
The same problem occurs when passing an instance of an inner class
to a tag file as an <%@attribute>.

E.g. you have nested tag files:

File list.tag:

<%@ taglib prefix="list" tagdir="/WEB-INF/tags/list" %>
<%@ attribute name="list" type="java.util.Map" %>
<table border="1">
  <c:forEach items="${list}" var="entry" >
    <list:row entry="${entry}"/>
  </c:forEach>
</table>

File row.tag:

<%@ attribute name="entry" type="java.util.Map$Entry"
              required="true" %>
<tr>
  <td>${entry.key}</td>
  <td>${entry.value}</td>
</tr>

You get the same error as described above; replacing the
"$" in row.tag by "." has no effect either.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message