javaee / mojarra

PLEASE NOTE: This project has moved to Eclipse Foundation and will be archived under the JavaEE GitHub Organization. After Feb. 1, 2021, the new location will be github.com/javaee/mojarra. Mojarra - Oracle's implementation of the JavaServer Faces specification
https://github.com/eclipse-ee4j/mojarra
Other
165 stars 58 forks source link

f:validateWholeBean requires f:validateBean in each input #4087

Open javaserverfaces opened 8 years ago

javaserverfaces commented 8 years ago

f:validateWholeBean requires f:validateBean in each input - f:validateBean should be indicated for each input even if there is no validation contrains, otherwise I get an "HV000028: Unexpected exception during isValid call." exception. I don't think this is pretty intuitive.

Environment

Payara 4.1

Affected Versions

[2.3.0-m04]

javaserverfaces commented 8 years ago

Reported by anghelleonard

javaserverfaces commented 8 years ago

ren.zhijun.oracle said: Can you give me an example or sample application?

javaserverfaces commented 8 years ago

anghelleonard said: Yes, of course. Please check here: https://github.com/AnghelLeonard/JSF-2.3/tree/master/JSF23ValidateWholeBeanExample This example works fine because I have avoided the reported issues. But, you can simply remove the f:validateBean for an input and observe the issue. Thanks!

javaserverfaces commented 8 years ago

Was assigned to ZhangXinyuan

javaserverfaces commented 7 years ago

This issue was imported from java.net JIRA JAVASERVERFACES-4083

edburns commented 7 years ago

Please see this important message regarding community contributions to Mojarra.

https://javaee.groups.io/g/jsf-spec/message/30

Also, please consider joining that group, as that group has taken the place of the old dev@javaserverfaces.java.net mailing list.

Thanks,

Ed Burns