Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-5105

Disable default bean validation in seam-gen generated application to use Seam validation by default

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.3.0.Final
    • Fix Version/s: 2.3.1.CR1
    • Component/s: Tools
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      add the following snippet into web.xml:

         <context-param>
            <param-name>javax.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR</param-name>
            <param-value>true</param-value>
         </context-param>
      
      Show
      add the following snippet into web.xml: <context-param> <param-name>javax.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR</param-name> <param-value>true</param-value> </context-param>

      Description

      Seam-gen generated form validation doesn't work if there is EAR application and Bean is annotated by Bean Validation annotation on its interface.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                manaRH Marek Novotny
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: