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
RossCo@DiscoveryRossCo@Discovery 

inputfield actionsupport causes refresh of entire page

Hi

 

I have an actionsupport within an inputtext and the entire page is getting refreshed even if I leave out the rerender attribute. What is causing this? The net effect is that the focus is been set to the first control at the top of the page. How do I stop the entire page from ben refreshed?

 

Many thanks

Ross

 

firechimpfirechimp

Hi RossCo,

ActionSupport will cause a rerender, if you do not wish the entire page to rerender. You can do one of the following:

1. Use an action function instead

2. Wrap it in an <apex:actionRegion>

3. Rerender another item on the page, it could even be a hidden pageblock.

 

Hope this helps.