Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002904 [Resin] minor always 09-04-08 11:11 09-18-08 17:13
Reporter ferg View Status public  
Assigned To ferg
Priority urgent Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.8 Product Version 3.1.6
  Product Build
Summary 0002904: jsp tag file issue
Description (rep by Herve Prisciandaro)

I found a bug in the 3.1.7 and 3.2.0 version of resin. I try to invoke a fragment from a tag file but the java generated by resin doesn't compile.

I have created a tag file:

<%@ attribute name="list" required="true" type="java.util.List" %>
<%@ attribute name="name" required="true" %>
<%@ attribute name="itemDisplayName" required="true" fragment="true" %>
<%@ attribute name="itemValue" required="true" fragment="true" %>
...
<jsp:invoke fragment="itemValue" var="loopItemValue" />

I have the following error:
/WEB-INF/tags/widgets/customselect.tag:28: cannot find symbol
symbol : variable _jsp_parentContext
location: class _jsp._web_22dinf._tags._widgets._customselect__tag._CauchoFragment
         _jsp_parentContext.setAttribute("item", pageContext.getAttribute("item"));
         ^
I have attached the generated java and you can see (line 341) the variable '_jsp_parentContext' is not declared.

(see mail 2008-09-04 for attachment)

Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003466)
ferg
09-18-08 17:13

jsp/103c
 

- Issue History
Date Modified Username Field Change
09-04-08 11:11 ferg New Issue
09-04-08 13:46 ferg Priority normal => urgent
09-18-08 17:13 ferg Note Added: 0003466
09-18-08 17:13 ferg Assigned To  => ferg
09-18-08 17:13 ferg Status new => closed
09-18-08 17:13 ferg Resolution open => fixed
09-18-08 17:13 ferg Fixed in Version  => 3.1.8


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