[jbosstools-issues] [JBoss JIRA] (JBIDE-12614) Code completion on item with h:dataTable fails if value point on datamodel object

Piotr Bezpalko (JIRA) jira-events at lists.jboss.org
Fri Sep 14 03:37:32 EDT 2012


Piotr Bezpalko created JBIDE-12614:
--------------------------------------

             Summary: Code completion on item with h:dataTable fails if value point on datamodel object 
                 Key: JBIDE-12614
                 URL: https://issues.jboss.org/browse/JBIDE-12614
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: jsp/jsf/xml source editing
    Affects Versions: 3.1.1
         Environment: Windows 7, Eclipse Juno
            Reporter: Piotr Bezpalko
            Assignee: Alexey Kazakov
            Priority: Minor


When using data model object (eg. javax.faces.model.ListDataModel<MyClass> -  bean.listDM) and h:dataTable (or rich:dataTable) Eclipse warns me on item presentation #{item.name) '"name" cannot be resolved'.


<h:dataTable var="item" value="#{bean.listDM}">
 <h:column>
    <h:outputText
	value="#{item.name}" />
 </h:column>
</h:dataTable>

If I change bean.listDM on bean.list (java.util.List<MyClass>), then no warning is displayed.

After deployment both of version works fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list