volosied commented on code in PR #484:
URL: https://github.com/apache/myfaces/pull/484#discussion_r1081638859


##########
impl/src/main/java/org/apache/myfaces/component/validate/ValidateWholeBeanComponent.java:
##########
@@ -55,6 +62,79 @@ public void addValidator(Validator validator)
         // No-op. It does not make sense to allow additional validators to be 
installed.
     }
 
+
+    @Override
+    public void encodeBegin(FacesContext context) throws IOException
+    {
+        UIComponent parent = this.getParent();
+    
+        // find a parent form
+        while (parent != null & !(parent instanceof 
jakarta.faces.component.UIForm))

Review Comment:
   I don't see any such method in 4.0. I could create one? I don't know which 
utility class it would be best be under though. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to