[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-2317) Problems with code complete in JSF editor

Andy Gibson (JIRA) jira-events at lists.jboss.org
Mon Jun 9 14:27:48 EDT 2008


Problems with code complete in JSF editor
-----------------------------------------

                 Key: JBIDE-2317
                 URL: http://jira.jboss.com/jira/browse/JBIDE-2317
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: core, JSF, Visual Page Editor
    Affects Versions: 2.1.0.CR1
         Environment: JBoss Tools 2.1.1 GA - Windows XP, latest eclipse (Europa-Winter)
            Reporter: Andy Gibson


Create a new Seam project, and open up home.xhtml. Depending on how much of the tag has been typed, there are different values depending on whether the end quote is present or not.  If there is no end quote such as : 

<h:outputText value="#{pa />

Then there are very few items listed in the code completion window. (NOTE this should be mostly fixed when the editor automagically puts the value="" attribute into the tag as it should do and fixed in issue JBDS-350)

If you do type something, you get very unexpected results. typing 

<h:outputText value="#{pa /> (press ctrl space) brings up "param" and "paramValues"
press back space twice, and you get the all values in the code complete list (which should still be up)
type "ap" and you get "param" and "paramValues" again
press backspace twice (the code complete window disappears) , type pa, press ctrl+space and the code complete window pops up with applicationScope in the list. 

Note that this only appears when there is NO trailing quote on the value attribute and the EL expression is essentially unended.



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

        



More information about the jbosstools-issues mailing list