[jboss-user] [JBoss Seam] - Double submit problem
amitev
do-not-reply at jboss.com
Fri Jul 20 10:58:31 EDT 2007
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
More information about the jboss-user
mailing list