Mantis - Resin
Viewing Issue Advanced Details
375 minor always 09-02-05 00:00 11-30-05 14:42
sam  
 
high  
closed 3.0.14  
3.0.14 fixed  
none    
none 3.0.15  
0000375: tagfile containing <% %>
RSN-419
(rep by D Rice)

Tag files that use dynamic attributes don't seem to have the dynamic
attributes available if you put a
code block (<% %>) in the tag file.
 
This code successfully prints out all of the properties
 

        <%@tag body-content="scriptless" dynamic-attributes="properties" %>
 
        <%@taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' [^] %>
 
        
        PROPERTIES:
        <c:forEach var="property" items="${0roperties}">
                ${0roperty.key}=${0roperty.value}
        </c:forEach>
        

 
 

This code does not print any properties

        <%@tag body-content="scriptless" dynamic-attributes="properties" %>

        <%@taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' [^] %>

        
        PROPERTIES:
        <c:forEach var="property" items="${0roperties}">
                ${0roperty.key}=${0roperty.value}
        </c:forEach>
        
<% %>

Notes
(0000433)
ferg   
09-02-05 00:00   
jsp/10a2