Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001479 [Resin] minor always 11-28-06 19:03 11-01-06 09:39
Reporter stevejf7 View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.21
Summary 0001479: .tag files don't handle inner classes
Description I have a .tag file like the following:

<%@ tag body-content="empty" %>
<%@ tag import="adf.Test, adf.Test.InnerClass" %>
<%@ attribute name="input" type="adf.Test.InnerClass" %>
<%@ attribute name="var" rtexprvalue="false" required="true" %>
<%@ variable name-from-attribute="var" alias="component" variable-class="adf.Test.InnerClass" scope="AT_END" %>
<%
    Test test = new Test();
    Test.InnerClass innerClass = test.getInnerClass();
    jspContext.setAttribute("component", innerClass);
%>


this line doesn't seem to work in 3.0.21 or 3.0.19:
<%@ attribute name="input" type="adf.Test.InnerClass" %>

this line, however, works in 3.0.19 but not 3.0.21:
<%@ variable name-from-attribute="var" alias="component" variable-class="adf.Test.InnerClass" scope="AT_END" %>

Any thoughts on why this might be?
Additional Information package adf;

public class Test {
    public InnerClass getInnerClass() {
        return new InnerClass();
    }


    public static class InnerClass {
        public String toString() {
            return "Hello WORLD";
        }
    }
}
Attached Files

- Relationships

- Notes
(0001607)
ferg
11-01-06 09:39

jsp/1068

thanks for all the details. this was a great bug report.
 

- Issue History
Date Modified Username Field Change
11-28-06 19:03 stevejf7 New Issue
11-01-06 09:39 ferg Note Added: 0001607
11-01-06 09:39 ferg Assigned To  => ferg
11-01-06 09:39 ferg Status new => closed
11-01-06 09:39 ferg Resolution open => fixed
11-01-06 09:39 ferg Fixed in Version  => 3.0.23


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker