Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Double submit problem

scott.stark@jboss.org

2007-07-20


Hi all! I have the following situation:

Page for updating information (adding new associations to a list) and update button the action method is


|  @In @Out
|  private Project project;
|
|  public void updateProject() {
|      project = em.merge(project);
|  }
|

The problem is that if the user submits the form more than once before the new page is displayed, the state of the entity is propagated to the db more than one time. Is there a way to solve this?

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066238
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.