Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 1.5.3
-
Component/s: Framework
-
Labels:None
-
Environment:unknown
-
ICEsoft Forum Reference:
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.
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
- depends on
-
ICE-1380 required="true" does not have any effect
- Closed
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 -
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 ] |
Duplicate of
ICE-1380.