| Anonymous | Login | Signup for a new account | 12-18-2025 06:53 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001403 | [Resin] | major | always | 10-11-06 10:51 | 10-24-06 13:55 | ||||
| Reporter | Plat | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.1.0 | Product Version | 3.0.22 | ||||
| Product Build | |||||||||
| Summary | 0001403: JSP tag file attributes map to private variables with underscores | ||||||||
| Description |
This might be related to bug 0001389, but I'm not sure. Basically, I've got tag files such as: --- test.tag --- <%@tag %> <%@attribute name="message" type="java.lang.String" required="true" description="Message to show" %> <%= message %> ---- When Resin 3.0.14 creates _test__tag.java based on this .tag file, it declares: private java.lang.String message; ...and the above code works. However, 3.0.21, 3.0-snap (9/20/2006), and possibly other versions instead declare: private java.lang.String _message; (Note the underscore), which causes my scriptlet code above to break, since that "message" symbol cannot be found in the new class. |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | I'm not sure whether I've just been misusing the feature (i.e. that I should never expect "message" to exist at all, and instead use pageContext to retrieve all my values) or what. Thanks for your help! | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0001553) ferg 10-24-06 13:55 |
jsp/184v The underscore has been removed. Technically, though, this is not a bug. |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |