[jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity

bfo81 do-not-reply at jboss.com
Mon Jul 24 09:58:27 EDT 2006


First: Forget what I just said about @Conversational. When clicking the back button the browser loads the page from its cache. 

Ok, now back to your prob. Maybe your list isn't up to date. Try it like this:

EditBean:
public String save() {
  |     ...
  |     Events.instance().raiseEvent("whateverListChanged");
  |     return "saved";
  | );

ListBean:
@Observer("whateverListChanged")
  | public void theMethodThatLoadsTheListFromTheDb(..) {...}

If this isn't the source of the problem just post your code and I'll have a look over it ;).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960384#3960384

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960384



More information about the jboss-user mailing list