Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1403 | major | always | 10-11-06 10:51 | 10-24-06 13:55 | |
|
|||||
Reporter: | Plat | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.22 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.0 | ||
|
|||||
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! | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|