• Post Reply Bookmark Topic Watch Topic
  • New Topic

Two clients, same button. Only the first one wins?  RSS feed

kiril mitov
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am struggling with JSF commandButtons and backing bean methods.

I have a JSF page with a button named "Persist" that is submitting the form.

There is a method in the backing bean Persist.doPersist(). The backing bean is of type Request.

I am opening the JSF page from two clients - two different machines, and I am setting a breakpoint on the doPersist() method. Now when the first client presses "Persist" then doPersist() is called. Breakpoint is activated. If then the other client presses "Persist" on the same page then the doPersist() method IS NOT called. But the JSF page is reloaded. This is on glassfish2.

Could somebody help me with this one? Why isn`t the doPersist() method called the second time?

Thanks you.
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!