+ Start a Discussion
pcmca_2007@yahoo.co.inpcmca_2007@yahoo.co.in 

Render And Rererender

Hi All,

           Can anybody explain in detail about render and rerender in visualforce.Also in what scenario both can be used.

            Just help me in clearing the concept of both as i am newer to salesforce.

 

     With Regards

      prabhash Mishra

bob_buzzardbob_buzzard

Render is an attribute that determines whether or not a component is displayed on the screen - so, for example, you could only display a field for editing if an earlier field was correctly populated.

 

Rerender specifies the components that should be redrawn after an apex request completes.  So, for example, once the user has chosen an option from a picklist, you could redraw a later section to display only the fields that are appropriate to that picklist option.