Hi all.
I have a bean sessionscoped with a List<MyType> list = new
ArrayList<MyType>();

Into a @PostConstruct annotated method i add 4 instances and from the get i
visualize into a table jsf.

I create a new page wiyh a form that set the  properties of the instance of
current object . 
With a command button i link a method that add the curret object at
arraylist and return at page with datatable but when i return i view  only 4
initials object of ArrayList generated wirh postcinstruct method.

Into the method of controller addCurrent(){ 

list.add(current) ;
return "listpage"; 
}

// current it is a field into the same controller .
//current is instance of MyType. 





--
View this message in context: 
http://openejb.979440.n4.nabble.com/add-element-at-ArrayList-not-work-tp4667717.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to