function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rocky.4QRocky.4Q 

Visualforce Page (why so many post backs?)

Can someone explain why a single commandButton click executes its action method so many times? I have 4 fields (1 inputText, 3 selectLists, and one commandButton) The commandButton is the only one with an action associated with it. When ever I click the button the action is called many times. (up to 5 times). Could someone help explain this? 

 

Controller: http://pastebin.com/pMCJ98yN

Page: http://pastebin.com/4kpj0sRS

IspitaIspita

Are you using page redirection anywhere in your code?

bob_buzzardbob_buzzard

Your code looks fine to me - do you see this for all browsers?

Rocky.4QRocky.4Q

It's the same in Chrome, IE, and FF. 

Rocky.4QRocky.4Q

No redirection