Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 2.0.1, EE-1.8.2.GA_P03
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
-
ICEsoft Forum Reference:
-
Community Contribution:Yes
Description
Using tab or mouse to enter an ice:selectOneListbox fails to select the value if coming from a field with partialSubmit set to true.
<ice:inputText partialSubmit="true" immediate="true" size="6" value="#{registrationBean.CVV}"
id="RegistrationBillingCreditCardCVV" validator="#{registrationBean.validateCVV}" required="true"
requiredMessage="Invalid CVV" />
<ice:selectOneListbox id="RegistrationBillingExpirationDateMonth"
value="#{registrationBean.expMonth}" size="1" immediate="true" required="true"
requiredMessage="#{msg['error.cardExpMonth']}">
<f:selectItem itemLabel="Select..." itemValue="" />
<f:selectItems value="#{generic:getSelectMonths()}" />
</ice:selectOneListbox>
With the above code I would expect when entering the list from the input text to have the "Select..." item selected. But this doesn't happen. It selects it only for a brief moment.
<ice:inputText partialSubmit="true" immediate="true" size="6" value="#{registrationBean.CVV}"
id="RegistrationBillingCreditCardCVV" validator="#{registrationBean.validateCVV}" required="true"
requiredMessage="Invalid CVV" />
<ice:selectOneListbox id="RegistrationBillingExpirationDateMonth"
value="#{registrationBean.expMonth}" size="1" immediate="true" required="true"
requiredMessage="#{msg['error.cardExpMonth']}">
<f:selectItem itemLabel="Select..." itemValue="" />
<f:selectItems value="#{generic:getSelectMonths()}" />
</ice:selectOneListbox>
With the above code I would expect when entering the list from the input text to have the "Select..." item selected. But this doesn't happen. It selects it only for a brief moment.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24057 | Tue Mar 01 13:47:57 MST 2011 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/MenuRenderer.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24056 | Tue Mar 01 13:21:54 MST 2011 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/MenuRenderer.java
|
Ken Fyten
made changes -
Salesforce Case | [] | |
Community Contribution | [Yes] |
Mark Collette
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0.1 [ 10255 ] | |
Fix Version/s | 1.8.2-EE-GA_P03 [ 10251 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee | Mark Collette [ mark.collette ] |
Dumitru Ban
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | MenuRenderer.patch.txt [ 12271 ] |
Dumitru Ban
created issue -
Tested successfully on icefaces1.8 trunk revision# 24720 using FF3.6, IE8 & chrome10.