I want to outject an ArryList so I have this in my ejb
| @DataModel
| private List<myEntity> ents=new ArrayList<myEntity>();
|
and this code in my jsf page
|
|
| <h:dataTable value="#{listAgents}" var="report">
| ....#{report.id}
| </h:dataTable>
|
|
and it's working..But myEntity has an ArrayList component inside it which is
mapped as OneToMany like this
| @Entity
| public class myEntity{
|
| ....
| private List<otherEntity> other;
|
|
| @OneToMany
| public List<otherEntity getOther() {
| ....
| }
|
| }
|
|
so my question is how can I outject like myObject.getOther().get(0).getName();
in my jsf pages?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982869#3982869
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982869
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user