[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-5144) Code assist for Composite components (JSF2) don't work.

Aliaksey Nis (JIRA) jira-events at lists.jboss.org
Thu Nov 5 09:45:05 EST 2009


Code assist for Composite components (JSF2) don't work.
-------------------------------------------------------

                 Key: JBIDE-5144
                 URL: https://jira.jboss.org/jira/browse/JBIDE-5144
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: jsp/jsf/xml source editing
    Affects Versions: 3.1.0.CR1
         Environment: WindowsXP SP2
JBoss Tools
Version: 3.1.0.M4
eclipse-SDK-3.5RC3-win32.zip
Build id: JBossTools-Update-3.1.0.M4
JRE 1.6 or JRE 1.5_08
            Reporter: Aliaksey Nis


Testcase from RFC - JBIDE-4970 with small modifications.

1. Create JSF 1.2 with Facelets project. 
2. Open it in Web Projects view 
3. In Web Content create folder 'resources' 
4. In this folder create folder 'sample' 
5. In 'sample' invoke New->File->Composition Component 
6. Input name 'tag' and finish. 
7. Under 'sample' appeared tag.xhtml which has child Interface. File is opened in VPE.
8.  Add to tag file:
<composite:interface>
 <composite:attribute name = "atr1" />
 <composite:attribute name = "atr2" />
 </composite:interface> 
9. Open pages/greeting.xhtml 
10. Insert xmlns:sample="http://java.sun.com/jsf/composite/sample" into <html ...> header 
11. Invoke code assist and find <sample:tag> proposal

FAILURE: <sample:tag> didn't appear in code assist proposal.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list