Details
-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
Description
WTP Validator marks unknown tags with problem markers: "Unknown tag (<prefix name>:<tag name>)"
We should take all tag libraries in the project which contain the same tag name and offer quick fix "Add tag library definition" for all of them.
Tag libraries with default prefix the same as "prefix name" from problem marker should go first.
Test case:
EXECUTE:
1. Create JSF Kick Start project
2. Open hello.jsp file in Visual Page Editor
3. Add tag <x:if></x:if>
ASSERT: New tag is marked with problem annotation "Unknown tag (x:if)"
EXECUTE:
4. Point mouse to tag <x:if>
ASSERT: Should be 6 quick fixes in Text Hoover:
Attachments
Issue Links
- is related to
-
JBIDE-12390 "Add missing required attribute(s)" quick fix for "Missing required attribute" WTP problem marker
- Closed
-
JBIDE-12391 Quick Fix "Add tag library definition" should add missing required attribute(s) to the tag
- Closed