[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9138) JSF composite component Quick Fixes for new JSF composite component validator.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Jun 20 19:32:23 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-9138:
----------------------------------

    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.

  was: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.



> JSF composite component Quick Fixes for new JSF composite component validator.
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-9138
>                 URL: https://issues.jboss.org/browse/JBIDE-9138
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 3.3.0.M2
>            Reporter: Alexey Kazakov
>            Assignee: Alexey Kazakov
>             Fix For: 3.3.0.M3
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list