-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
Test case:
EXECUTE:
1. Create JSF KickStart project
2. Create test.jsp page:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <f:loadBundle var="Message" basename="demo.Messages" /> <html> <head> <title>Hello!</title> </head> <body> <f:view> <h3> </h3> </f:view> </body> </html>
3. Open test.jsp in Visual Page Editor
4. Add tag: <h:outputText value="" /> inside tag <h3>
5. Do not save the file
ASSERT: problem annotation on string "<h:outputText value="" />" appears
6. Point mouse to string "<h:outputText value="" />"
ASSERT:
Quick fix "Insert '<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>" tag library definition' appears in Text Hoover
7. Select Quick Fix
ASSERT:
tag <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> inserted in first line of the test.jsp and problem annotation on string "<h:outputText value="" />" disappears
- is related to
-
JBIDE-12178 Quick-fixes are duplicated in VPE editor
- Closed
- relates to
-
JBIDE-4876 Quick fix for tags with no corresponding xmlns in header
- Closed