Upon submit, if all validation went successful, each component store
it's current internal in the backing bean property represented by the
value expression.

If validation was unsuccessful, the form is rendered using the
component's internal values

In all other cases, form will render it's values depending on the
current backing bean values.

So unless you have validaiton error, your components always loads the
most current value from your backing bean. (Up to you to have up to date
values in the backing beans. Pretty easy if they are request scope)

The datatable does not store value. Each time it needs to iterate over
it's content, it does evaluate the backing bean collection.


Aneesha Govil a écrit :
> Hi,
>
> How is it determined which components need to be reloaded when a
> component is submitted or an action is executed?
>
> I cannot get my JSF page to reload a datatable that uses component
> binding on page submit. Does using sub-views affect any behaviour,
> i.e., only the subview is refreshed, the other components retain old
> values?
>
> Please help!
> Thanks,
> Aneesha

Reply via email to