Author: scabanovich
Date: 2010-10-28 10:59:27 -0400 (Thu, 28 Oct 2010)
New Revision: 26105
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/WebContent/resources/sample/tag2.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CAForCompositeComponentTest.java
Log:
JBIDE-7439
https://jira.jboss.org/browse/JBIDE-7439
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/WebContent/resources/sample/tag2.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/WebContent/resources/sample/tag2.xhtml 2010-10-28
14:28:03 UTC (rev 26104)
+++
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/WebContent/resources/sample/tag2.xhtml 2010-10-28
14:59:27 UTC (rev 26105)
@@ -4,7 +4,8 @@
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:composite="http://java.sun.com/jsf/composite">
<composite:interface>
<composite:attribute name="a2"/>
- <composite:attribute name="b3"/>
+ <composite:attribute name="b3" type="java.lang.String" />
</composite:interface>
#{cc.attrs.}
+ #{cc.attrs.b3.}
</html>
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CAForCompositeComponentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CAForCompositeComponentTest.java 2010-10-28
14:28:03 UTC (rev 26104)
+++
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CAForCompositeComponentTest.java 2010-10-28
14:59:27 UTC (rev 26105)
@@ -45,4 +45,11 @@
checkProposals(TAG_NAME, "#{cc.attrs.}", 11, proposals, false);
}
+
+ public void testCAForTypedAttr() {
+ String[] proposals = {
+ "cc.attrs.b3.toString()"
+ };
+ checkProposals(TAG_NAME, "#{cc.attrs.b3.}", 14, proposals, false);
+ }
}