Two clients, same button. Only the first one wins?
posted 8 years ago
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?