[
https://issues.jboss.org/browse/JBIDE-12304?page=com.atlassian.jira.plugi...
]
Vlado Pakan closed JBIDE-12304.
-------------------------------
Verified with JBT 4.0.0.Alpha1-v20120907-2341-B7.
Make Quick Fix "Add tag library definition" work with KB
Model instead of using plain tag library list
------------------------------------------------------------------------------------------------------
Key: JBIDE-12304
URL:
https://issues.jboss.org/browse/JBIDE-12304
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: jsp/jsf/xml source editing
Reporter: Daniel Azarov
Assignee: Daniel Azarov
Fix For: 4.0.0.Alpha1
Attachments: AddTaglibDefinition.png, AddTaglibDefinition.png,
AddTaglibDefinition.png
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:
!AddTaglibDefinition.png!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira