For example: Let's say I have a component has an
apex:inputText
with value="{!accountName}"
that rerenders the parent apex:outputPanel
during an onchange event. After rerendering, a few odd things happen:- The
apex:inputText
reverts to blank control. - If I display
{!accountName}
as text, the new value appears fine. - Any other components that have
rendered="{!NOT(ISNULL(accountName))}"
are still not rendered.
An experience is worth a million words, so I've put up a demo in my sandbox. The source code for the demo is also available.
- In the Lead (standalone) section, enter something into the Name field.
- Click somewhere else on the page. An Ajax refresh will occur, and the Text Insertions and Output Component Renders section should correctly update to reflect the new Name value.
- Now, in any Lead (from List) section, enter something into the Name field.
- Click somewhere else on the page. An Ajax refresh will occur.
- Observe two problems: The Name field is blanked out, and the Output Component Renders section did not change.
Hopefully, Salesforce Premier Support will tell me that the problem will be fixed immediately within the next 5 business days. Hopefully...