Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001653 [Resin] major always 03-21-07 06:52 04-03-07 13:58
Reporter webvir View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.0
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
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/>*
Attached Files

- Relationships

- Notes
(0001804)
ferg
04-03-07 13:58

jsp/102b
 

- Issue History
Date Modified Username Field Change
03-21-07 06:52 webvir New Issue
03-21-07 06:55 webvir Issue Monitored: webvir
04-03-07 13:58 ferg Note Added: 0001804
04-03-07 13:58 ferg Assigned To  => ferg
04-03-07 13:58 ferg Status new => closed
04-03-07 13:58 ferg Resolution open => fixed
04-03-07 13:58 ferg Fixed in Version  => 3.1.1


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