users@javaserverfaces-spec-public.java.net

[jsr372-experts mirror] [jsr372-experts] Re: Last call for discussion on Multi-field validation (was: Re: JSF_SPEC-1 Multi-field validation proposal)

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Sat, 12 Dec 2015 00:19:00 +0100

On Fri, Dec 11, 2015 at 10:40 PM, Edward Burns <edward.burns_at_oracle.com>
wrote:

> >>>>> On Mon, 9 Nov 2015 22:51:45 +0100, arjan tijms <
> arjan.tijms_at_gmail.com> said:
> AT> Set the class level validation method, which can be either
> 'validateCopy'
> AT> or 'validateActual'.
>
> [...]
> I propose we add a new attribute to <f:validateWholeBean>:
>
> boolean eagerPopulateValue
>
> If and only if this attribute is specified with a value of true, the
> bean referenced by the value attribute is populated with the candidate
> values directly and the class level validation is performed directly
> on the bean rather than the copy-then-validate process described
> above.
>
> Is this ok?
>

true/false vs validateActual/validateCopy sounds okay to me.

Thanks!

Kind regards,
Arjan Tijms