Thursday, June 23, 2011

Action Support On Visualforce Page



A component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover.
I am using here simple syntax for the action support.

<apex:actionSupport event="onclick" action="{!myAction}" rerender="clickedCell"> </apex:actionSupport>
myAction : This is the method of my controller class. Event : This is the event of action support on which action support invoke the controller method. reRender : This is the property tells us that what are the components are refresh by the server again.

No comments:

Post a Comment