[jboss-user] [JBoss Seam] - Re: Conceptual/Best Practice Question
bsmithjj
do-not-reply at jboss.com
Tue Mar 27 10:16:37 EDT 2007
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
More information about the jboss-user
mailing list