[
http://jira.jboss.com/jira/browse/JBIDE-2016?page=all ]
Adrian Mitev updated JBIDE-2016:
--------------------------------
Description:
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
was:
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
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.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