4

How can I add an apex:commandButton to a page doing the following:

  • Executing an apex:actionFunction
  • ReRendering some parts of the page (with reRender="")
  • NOT redirect to another page / refresh actual page.

Thanks!

1 Answer 1

3
<apex:commandButton value="Do something" onclick="actionFunction(); return false;" />
<apex:actionFunction name="actionFunction" action="{!action}" rerender="someArea" />
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .