This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot resolve implicit variables in a JSP file | ||
---|---|---|---|
Product: | javaee | Reporter: | Satyaranjan D <satyaranjan> |
Component: | JSP | Assignee: | Tomasz Slota <tslota> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 145813 | ||
Attachments: | TagLibApp.zip |
Description
Satyaranjan D
2008-07-23 09:38:56 UTC
Created attachment 65332 [details]
TagLibApp.zip
reproducible. Likely JSP parser doesn't provide such information or virtual java source just doesn't reflect it. Reassigning to Tomasz for evaluation. Are we going to fix it for NB 6.5 ? It's a usability issue. Many users post messages about this issue. It has been there since NB 6.1 . So changing the priority to P2. I filed issue 145813 about the missing data from JspParser. Here is a draft of the solution that will be implemented in the SimplifiedJSPServlet class: JspSyntaxSupport syntaxSupport = JspSyntaxSupport.get(doc); Collection<String> prefixes = JspUtils.getJSPColoringData(doc, fobj).getPrefixMapper().keySet(); for (String prefix : prefixes) { List<TagInfo> tags = syntaxSupport.getAllTags(prefix); for (TagInfo tag : tags) { for (TagVariableInfo var : tag.getTagVariableInfos()) { // Create Variable Definitions } } } *** Issue 146342 has been marked as a duplicate of this issue. *** Integrated into 'main-golden', will be available in build *200809100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f8131e3a920b User: Tomasz Slota <tslota@netbeans.org> Log: #141287: Cannot resolve implicit variables in a JSP file Verified. |