[
https://issues.jboss.org/browse/RF-13785?page=com.atlassian.jira.plugin.s...
]
Michal Petrov edited comment on RF-13785 at 8/20/14 4:11 AM:
-------------------------------------------------------------
[~clerum], I see. That's because of the workaround for MyFaces (RF-13740). Looks like
we need a more sophisticated check.
EDIT: Is this on a specific component? I see how it can fail but I've tried both
metamer and showcase on Tomcat 7.0.52 and I don't see the NPE.
was (Author: michpetrov):
[~clerum], I see. That's because of the workaround for MyFaces (RF-13740). Looks like
we need a more sophisticated check.
Validation inside popupPanel is ignored when form is submitted
--------------------------------------------------------------
Key: RF-13785
URL:
https://issues.jboss.org/browse/RF-13785
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-validators
Affects Versions: 4.5.0.Alpha3, 4.5.0.Beta1
Reporter: Juraj Húska
Assignee: Michal Petrov
Priority: Blocker
Fix For: 4.5.0.Beta1
Consider please a form with multiple inputs inside {{popupPanel}}, which is configured to
hide when there are no validation issues.
*The issue is:* If the form is submitted e.g. with {{a4j:commandButton}}, then it hides
even when there are some validation issues.
{{PopupPanel}} has set {{oncomplete}} attribute to:
{code:JavaScript}
oncomplete="if (!#{facesContext.validationFailed}) {
#{rich:component('popup')}.hide(); } "
{code}
{{facesContext.validationFailed}} is wrongly evaluated always to {{false}}.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)