ICEfaces
  1. ICEfaces
  2. ICE-1364

Seam: Validators not fired when no value is set

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.6DR#6, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      unknown

      Description

      Having some diffs getting validation working on a select item list.

      Code:

      <s:validateAll>
                <tr>
                  <td class="cntForm"><h:outputText value="#{msgs.newCustomerRegion} "/></td>
                  <td class="cntForm">
                    <h:selectOneListbox id="region" required="true" size="3" value="#{customer.region}" converter="GeographicalRegionConverter">
                      <f:selectItems value="#{selectItems.regions}" />
                    </h:selectOneListbox> *
                  </td>
                  <td><h:message for="region" styleClass="cntError" /></td>
                </tr>
      </s:validateAll>



      backing bean:

      Code:

          @OneToOne
          @NotNull(message="Please select a region")
          public GeographicalRegion getRegion() {return region;}
          public void setRegion(GeographicalRegion region) {this.region = region;}



      but when I click through without setting a value... it just doesn't fire the validation.

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          Duplicate of ICE-1380.

          Show
          Ken Fyten added a comment - Duplicate of ICE-1380 .

            People

            • Assignee:
              Unassigned
              Reporter:
              Ted Goddard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: