Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1653 | major | always | 03-21-07 06:52 | 04-03-07 13:58 | |
|
|||||
Reporter: | webvir | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.1 | ||
|
|||||
Summary: | 0001653: Compilation error using three nested tags in another tag file with scriptlet | ||||
Description: |
When I use three nested tags defined in tag files in another tag file which one contains scriptlet I get compliation error: /WEB-INF/tags/test.tag:4: non-static method getJspBody() cannot be referenced from a static context _jsp._web_22dinf._tags._tag2__tag.doTag(pageContext, _jsp_context4, out, _jsp_fragment_1 = _CauchoFragment.create(_jsp_fragment_1, 1, pageContext, _jsp_parent_tag, getJspBody())); See code in additional info This compiles okay when i remove scriptlet from test.tag. You can different errors of such kind when you insert scriptlets in tag2.tag |
||||
Steps To Reproduce: | |||||
Additional Information: |
///test.jsp <%@ taglib prefix="tw" tagdir="/WEB-INF/tags" %> <tw:test/> ///test.tag <%@ taglib prefix="tw" tagdir="/WEB-INF/tags" %> <% //even empty scrpitlet here breaks all %> <tw:tag1> <tw:tag2> <tw:tag3> - </tw:tag3> </tw:tag2> </tw:tag1> ///tag1.tag =<jsp:doBody/>= ///tag2.tag [<jsp:doBody/>] ///tag3.tag *<jsp:doBody/>* |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|