[jboss-user] [JBoss Seam] - Ajax and concurrency
y_zl
do-not-reply at jboss.com
Fri Apr 13 18:07:49 EDT 2007
Hi!
I have a SFSB with like following:
|
| ......
| Doc doc;
|
| @Begin
| public void getDoc()
| {
| doc=.....
| }
| ....
| public void preView()
| {
|
| ....
|
| }
|
| @End
| public String save()
| {
| if (doc!=null)
| update();
| else
| new();
|
| }
|
|
In my page there are a Preview Button and a Save button,
Sometimes after clicking the Preview button, if I click the save button too quick. I'll get the message: Conversation is end .... or is busy..... This is not a problem, the real problem is I got a new duplicated reocord of doc in the DB when I tried to edit the doc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037256#4037256
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037256
More information about the jboss-user
mailing list