Hey Alex -
On 6/10/11 6:49 PM, Alexander Smirnov wrote:
> This case solved pretty easy with "immediate" reset button,
Specifying immediate="true" is definitely an important part of the
solution, since without this the validation errors will be triggered
again and the reset button's action listener won't be called. However,
this is not sufficient, since input components will have their
submittedValues set, masking the underlying (reset) values in the bean.
As such, the application must both reset values in the bean *and* clear
out local values stored in the inpupt components. Cagatay was hoping
that we could find some standard way to simplify the second
(non-obvious) part of this.
Andy
> that
> clears bean values before validation phase.
> I don't think that we should have more ways to get the same goal.
>
>