On 5/31/12 11:17 AM, Kito Mann wrote:
>
> <http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-723>
>
>
> Minor API comment: I would prefer that we go with an enum-based
> value rather than a boolean - ie. I would prefer something like:
>
> - submit = partial/full
>
>
> Why?
This is due to the many cases where I initially though that I could
represent an attribute/property value as a boolean only to realize later
that there is actually a third state that I want/need to support. Going
with an enum-based value provides this flexibility without any
significant downside.
Andy