[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2016) There are issues with the feature "code completion now respect "var" attributes in e.g. h:dataTable"

Adrian Mitev (JIRA) jira-events at lists.jboss.org
Sun Apr 6 05:03:31 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2016?page=comments#action_12407238 ] 
            
Adrian Mitev commented on JBIDE-2016:
-------------------------------------

If the project is a JBoss Tools JSF Project, there is no CA for the var attribute at all - see pic2.jpg

> There are issues with the feature "code completion now respect "var" attributes in e.g. h:dataTable"
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-2016
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2016
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>         Environment: jboss tools nightly build 0404/2008, windows vista, 
>            Reporter: Adrian Mitev
>         Attachments: pic1.jpg, pic2.jpg
>
>
> Having the following code:
> <h:dataTable value="#{myBean.users}" var="user">
> 	<h:column>
> 		<h:outputText value="#{user" />
> 	</h:column>
> </h:dataTable>
> public class MyBean {
>     
>     private List<User> users;
>     //getters and setters for users
> }
> public class User {
>     
>     private String userName;
>     //getter and setter for userName
> }
> --------------------------
> When the project is seam project and the class MyBean is annotated with @Name("myBean"), the CA in the dataTable works as expected.
> When the project is seam project and the class MyBean is NOT annotated with @Name, but it's defined as managed bean in faces-config.xml there is CA only for the var of the datatable, but not for the properties of the var - see pic1.jps

-- 
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