• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

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

Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic