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

Bug 330572

Summary: Local taglib path displayed instead of taglib URI in JSP (taglib declaration tag)
Product: [WebTools] WTP Source Editing Reporter: Daniel Le Berre <leberre>
Component: jst.jspAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.2.2Flags: thatnitind: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
patch none

Description Daniel Le Berre CLA 2010-11-18 09:32:27 EST
When developping a custom taglib in a web project (source code in the src source folder and tld file in the META-INF directory), the content assist on a 

<%@ taglib="<ctrl-space>"%> 

declaration tag in the JSP editor displays the path to the tld file instead of the URI contained in that file.
Comment 1 Nick Sandonato CLA 2010-11-18 11:17:16 EST
Created attachment 183396 [details]
patch

If the descriptor has a URI, utilize that primarily. In its absence, resort to using the local resource path.
Comment 2 Daniel Le Berre CLA 2010-11-18 12:15:32 EST
Thanks for that very quick fix!

Bug 330557 should not be difficult to fix either :)
Comment 3 Nick Sandonato CLA 2010-12-14 15:27:29 EST
Code checked in. Thanks for the review, Nitin.