Description
After refactoring our JSF composite component validator (see JBIDE-9088) we lost our Quick Fixes for CC validation problems. We have to rafactor those quick fixed and switched them to the new validator.
Steps to verify:
EXECUTE: Create JSF 2 Kick Start project.
EXECUTE: Open WebContent/pages/inputname.xhtml
EXECUTE: Add tag <ez:input test=""/> to the page. Ctrl+S.
ASSERT: Validation problem "Unknown attribute 'test' of composite component 'input'" appeared.
EXECUTE: Put the mouse over the problem marker in the page. Select the only available quick fix: "Create attribute 'test'..."
ASSERT: input.xhtml page is opened. <composite:attribute name="test"></composite:attribute> is added to the list of attributes.
EXECUTE: Ctrl+S
ASSERT: The validation problem "Unknown attribute 'test' of composite component 'input'" disappeared.
EXECUTE: Add tag <ez:input2 test=""/> to WebContent/pages/inputname.xhtml. Ctrl+S.
ASSERT: Validation problem "Unknown composite component 'input2'" appeared.
EXECUTE: Put the mouse over the problem marker in the page. Select the only available quick fix: "Create JSF 2 composite component ..."
ASSERT: The validation problem "Unknown composite component 'input2'" disappeared.
EXECUTE: Add name space xmlns:ez2="http://java.sun.com/jsf/composite/demo2" to tag <html> in WebContent/pages/inputname.xhtml
EXECUTE: Add tag <ez2:input test=""/> to WebContent/pages/inputname.xhtml. Ctrl+S.
ASSERT: Validation problem "Unknown composite component 'input'" appeared.
EXECUTE: Put the mouse over the problem marker in the page. Select the only available quick fix: "Create JSF 2 composite component ..."
ASSERT: The validation problem "Unknown composite component 'input'" disappeared.
Attachments
Issue Links
- is blocked by
-
JBIDE-9088 False JSF Composite component validation problems on seam-booking example project
- Closed