Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15826

Incorrect Constraint Problem for JSF composite component

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 4.1.1.Beta1
    • 4.1.0.Final
    • common, jsf
    • Hide

      1. Create a JSF composite component in a JSF project:
      2. Add the following attribute

       
      <cc:attribute name="label" type="java.lang.String" required="#!cc.attrs.noLabel}"/>
      

      3. There is an incorrect validation error: "Value should be one of true, false"

      Show
      1. Create a JSF composite component in a JSF project: 2. Add the following attribute <cc:attribute name= "label" type= "java.lang. String " required= "#!cc.attrs.noLabel}" /> 3. There is an incorrect validation error: "Value should be one of true, false"

    Description

      First at all we must have a preference page where we can disable this validation.
      There should not be any validation which is imposible to disable.
      Every validation problem should have a default quick fix which opens the corresponding preference page and disable this validation rule.
      We have such preferences/quick fixes for our validation that extends common validation framework.
      But this one is a part of XModel validation (https://github.com/jbosstools/jbosstools-base/blob/master/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/markers/ConstraintChecker.java).

      Attachments

        Issue Links

          Activity

            People

              scabanovich Viacheslav Kabanovich (Inactive)
              alexeykazakov Alexey Kazakov
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: