[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-2016) There are issues with the feature "code completion now respect "var" attributes in e.g. h:dataTable"
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Mon Apr 7 06:53:21 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-2016?page=all ]
Alexey Kazakov updated JBIDE-2016:
----------------------------------
Issue Type: Feature Request (was: Bug)
Now it works only for Seam context variables.
New "var" feature extends our seam EL code assist. So it works only when you use it to get proposals for #{<seamContextVariableName>.*} in seam projects.
> 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: Feature Request
> Components: jsp/jsf/xml source editing
> Affects Versions: 2.1.0.beta1
> Environment: jboss tools nightly build 0404/2008, windows vista,
> Reporter: Adrian Mitev
> Fix For: LATER
>
> 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.jpg
--
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