I'm removing an entity from a DataModel, so I do an em.remove(selectedEntity),
where selectedEntity is the value of the DataModelSelection.
There's a problem: the entity gets removed and the page gets refreshed with the
correct FacesMessage. However, the entity still shows up in the dataTable. Only
when I do another refresh of the page does it get removed.
What are possible reasons for this? I'm not using browser caching... I'm using
an SFSB:
@DataModelSelection("data")
| @Out(required=false)
| private Entity selectedEntity;
|
| @DataModel
| private List<Entity> data;
|
| @Factory("data")
| public void initData() {
| // init the data...
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014233#4014233
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014233
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user