Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325186

Summary: TaglibModelQueryExtension filters TLD CMDocuments by wrong offset
Product: [WebTools] WTP Source Editing Reporter: Nitin Dahyabhai <thatnitind>
Component: jst.jspAssignee: Nitin Dahyabhai <thatnitind>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.2.2   
Target Milestone: 3.2.3   
Hardware: All   
OS: All   
Whiteboard:

Description Nitin Dahyabhai CLA 2010-09-13 22:31:34 EDT
Since offset information is long lost by the point the model query extension is asked for information, the best thing to do is update line 49 to use the position independent retrieval method:
    List trackers = new ArrayList(manager.getTaglibTrackers());

Regrettably, we lost the ability to only propose custom tags from tag libraries already declared at the cursor offset in a document.  I was rather fond of it being that smart.
Comment 1 Nitin Dahyabhai CLA 2011-01-04 08:55:16 EST
Changed.