[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9138) JSF composite component Quick Fixes for new JSF composite component validator.
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Mon Jul 18 13:21:23 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614875#comment-12614875 ]
Daniel Azarov commented on JBIDE-9138:
--------------------------------------
Quick Fixes are fixed.
But if you delete composite component file or folder which contains composite component files, validator does not revalidate pages which use that composite component
> 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: Daniel Azarov
> 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