Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330572 - Local taglib path displayed instead of taglib URI in JSP (taglib declaration tag)
Summary: Local taglib path displayed instead of taglib URI in JSP (taglib declaration ...
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-18 09:32 EST by Daniel Le Berre CLA
Modified: 2010-12-14 15:27 EST (History)
1 user (show)

See Also:
thatnitind: review+


Attachments
patch (1.93 KB, patch)
2010-11-18 11:17 EST, Nick Sandonato CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.