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

          Ted Goddard created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Fix Version/s 1.6 [ 10031 ]
          Ken Fyten made changes -
          Assignee Adnan Durrani [ adnan.durrani ]
          Ken Fyten made changes -
          Assignee Priority P1
          Adnan Durrani made changes -
          Link This issue depends on ICE-1380 [ ICE-1380 ]
          Hide
          Ken Fyten added a comment -

          Duplicate of ICE-1380.

          Show
          Ken Fyten added a comment - Duplicate of ICE-1380 .
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Ken Fyten made changes -
          Fix Version/s 1.6DR#6 [ 10090 ]
          Fix Version/s 1.6 [ 10031 ]
          Ken Fyten made changes -
          Fix Version/s 1.6 [ 10031 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P1
          Assignee Adnan Durrani [ adnan.durrani ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: