Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001477 [Resin] minor always 11-28-06 19:02 11-29-06 09:40
Reporter stevejf7 View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.21
Summary 0001477: .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" %>

I've attached a .war with the test webapp files
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
(0001609)
ferg
11-29-06 09:40

0001479
 

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


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