[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503381
 ] 

Zdenek Sochor commented on TOMAHAWK-1012:
-----------------------------------------

And little side note:

taken from specification's api (UIComponent class):

processValidators

public void processValidators(javax.faces.context.FacesContext context)

    Description copied from class: UIComponent

    Perform the component tree processing required by the Process Validations 
phase of the request processing lifecycle for all facets of this component, all 
children of this component, and this component itself, as follows.

        * If the rendered property of this UIComponent is false, skip further 
processing.
        * Call the processValidators() method of all facets and children of 
this UIComponent, in the order determined by a call to getFacetsAndChildren().

    Specified by:
        processValidators in class UIComponent

    Parameters:
        context - FacesContext for the request we are processing 
    Throws:
        java.lang.NullPointerException - if context is null

This means that your patch would violate spec's behaviour (validating 
unrendered components).

With regards,
Zdenek


> TabbedPane does not validate non-selected tabs in server side tab switching 
> mode
> --------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1012
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1012
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Tabbed Pane
>    Affects Versions: 1.1.5, 1.1.6-SNAPSHOT
>            Reporter: David Delbecq
>         Attachments: tabbedPaneValidator.diff
>
>
> When your form spreads accross a tabbed pane, the validators of components 
> residing inside not selected tab are not validated. This is a problem because 
> all form need to be validated before writting values to backing beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to