Thank you very much, now I manage to clean the context. After creating a new register, if
just after that, I create a new one, the edit window doesn´t display anymore the data of
the previous crerated one and the new one is created withouth overriding the info of the
former.
One more question, if I go to my list, and select one of the registers,and view its
details. Lets´call it pojo3.
Then, the pojoHome is associated to that pojo3 info, and in the pojo.xhtml detail view
that pojo 3 info is displayed. Ok, that´s correct up to that moment. If later, I go from
the seam-gened pojo.xhtml file to the pojoedit.xhtml file to create a new one, as both
pages share the same pojohome object, in the edit window is displayed the pojo 3 info in
the fields, and whenever I change one field pojo 3 data is updated right away in the
database.
If in the wire I check if that´s a new one and I use contexts.remove... the fields in the
edit window are clened, but if I change one field pojo 3 data is updated right away in the
database. I don´t see why again it is referencing to that.
Does it happen to you. any idea?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099168#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...