jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] JSF_SPEC-1 Multi-field validation proposal

From: Edward Burns <edward.burns_at_oracle.com>
Date: Tue, 22 Sep 2015 09:20:12 -0700

Hello Volunteers,

One of the issues I wanted to resolve for our JavaOne EDR is the ancient
JAVASERVERFACES_SPEC_PUBLIC-1 Multi-field validation. I started working
on this in earnest on Friday and took inspiration from the excellent
work done by Bauke and Arjan on OmniFaces <o:validateBean />. Thanks to
Manfred for pointing that out to me.

I've done the work in the misnamed JAVASERVERFACES-1 branch in Mojarra.
Thanks to Manfred's work we've moved to java.net git instead of SVN. I
haven't merged it to master yet, but I have kept the branch up to date
with master so the merge should be easy.

I've published the proposed API in our snapshot repo at [1].

The complete specification of the feature spans two locations.

1. The vdldoc for the new tag <f:validateWholeBean> [2]

2. The javadoc for the existing BeanValidator.validate [3]

Please review this proposal and let me have feedback by 13:00 UTC Friday
25 September 2015.

Feel free to check out the JAVASERVERFACES-1 branch if you like. Git
details are in a message Manfred sent to dev_at_javaserverfaces. [4].

Thanks,

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| 32 Business days til JavaOne 2015
| 47 Business days til DOAG 2015
[1] https://maven.java.net/service/local/repositories/snapshots/archive/org/glassfish/javax.faces/2.3.0-m04-SNAPSHOT/javax.faces-2.3.0-m04-20150922.155142-160-documentation.jar/!/javadocs/index.html
[2] https://maven.java.net/service/local/repositories/snapshots/archive/org/glassfish/javax.faces/2.3.0-m04-SNAPSHOT/javax.faces-2.3.0-m04-20150922.155142-160-documentation.jar/!/vdldoc/f/validateWholeBean.html
[3] https://maven.java.net/service/local/repositories/snapshots/archive/org/glassfish/javax.faces/2.3.0-m04-SNAPSHOT/javax.faces-2.3.0-m04-20150922.155142-160-documentation.jar/!/javadocs/javax/faces/validator/BeanValidator.html#validate-javax.faces.context.FacesContext-javax.faces.component.UIComponent-java.lang.Object-
[4] https://java.net/projects/javaserverfaces/lists/dev/archive/2015-09/message/12