In your code that alters data raise an event:
| Events.instance().raiseEvent("YOUR_EVENT_NAME");
|
In code that can refresh the data model:
| @Observer("YOUR_EVENT_NAME")
| public void refreshTheDataModel() {
|
| // your code to refresh the data model goes here
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032044#4032044
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032044
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user