Details
-
Feature Request
-
Resolution: Done
-
Major
-
None
-
A new quick fix has been implemented for the WTP issue marker: Missing required attribute. The new quick fix allows for the missing attributes to be automatically added into the code being written.
-
Documented as Feature Request
Description
Now WTP creates such problem markers only for jsp files and only after file saving
Test case:
EXECUTE:
1. Create JSF Kickstart project
2. Create file test.jsp:
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %> <html> <head> <title>Input User Name Page</title> </head> <body> <x:if></x:if> </body> </html>
3. Save file test.jsp and close editor
4. Point mouse to tag <x:if>
ASSERT:
Text hover with quick fix "Add 'select' attribute to 'x:if' tag" appears
EXECUTE: Select quick fix
ASSERT: attribute 'select' appears in tag 'x:if'
Attachments
Issue Links
- is related to
-
JBIDE-12890 "Add missing required attribute(s)" quick fix does not work without editor
-
- Closed
-
-
JBIDE-12891 Test for quick fix "Add missing attribute to the tag"
-
- Closed
-
-
JBIDE-12391 Quick Fix "Add tag library definition" should add missing required attribute(s) to the tag
-
- Closed
-
- relates to
-
JBIDE-12304 Make Quick Fix "Add tag library definition" work with KB Model instead of using plain tag library list
-
- Closed
-