Skip to content

Support for <p:pickList> in ValidateMultipleFields #488

Closed
@matinh

Description

@matinh

OmniFaces provides validators that validate multiple fields at a time, like <o:validateAll>, <o:validateMultiple>, etc. These validators won't work with PrimeFaces' pickList components, due to the lack of support for the DualListModel used by this component.

The problem for validateAll is in the method isEmpty() from the Utils class. Other component do validation different.

Adding another instanceof statement in this method would solve the problem for the validateAll component, but introduce a dependency to PrimeFaces, which is probably unwanted. Maybe there is a more elegant solution for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions