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
dkraundkraun 

rerendering inputField components by rerendering the parent object does not work

I am working with custom pages that display a lot of inputFields like:

<apex:pageBlockSection>
      <apex:inputField value="myobj.x">
      <apex:inputField value="myobj.y">
      <apex:inputField value="myobj.z">
</apex:pageBlockSection>

What I've noticed is that when I change myobj in the controller, rerendering the pageBlockSection actually takes the values in the inputFields and overwrites my controller object with those values.  A quick fix for this is just rerendering each inputField individually, but is this really the way rerendering is intended to work?  Just a thought for future versions.
ESES
Please look at the following post for a workaround.