Anonymous | Login | Signup for a new account | 12-17-2024 10:57 PST |
Main | My View | View Issues | Change Log | Docs |
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-29-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 | |||||||||
|
Notes | |
(0001607) ferg 11-29-06 09:39 |
jsp/1068 thanks for all the details. this was a great bug report. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |