Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: EE-1.8.2.GA_P03
-
Fix Version/s: EE-1.8.2.GA_P04
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces 1.8.x
-
Assignee Priority:P1
Description
When using a selectInputText component in a panelTabSet, the getSelectedItem() will always return null. This is different behavior then how it reacts outside of the tab set or in an ice-cc:tabView component.
The getSelectedItem() call is used in the valueChangeListener for the component. When a input is entered in the text field the getSelectedItem() is null which is expected. Once an item is selected it is still returning a null value.
The getSelectedItem() call is used in the valueChangeListener for the component. When a input is entered in the text field the getSelectedItem() is null which is expected. Once an item is selected it is still returning a null value.
The jira where we revamped selectInputText's selectedItem state saving, and first identified the caveat of the SelectItem value needing to be Serializable:
http://jira.icesoft.org/browse/ICE-1993
The jira where we added UISeries (ice:panelTabSet, ice:dataTable, etc.) row level state saving support for ice:selectInputText, which means that a selected item won't even last within the lifecycle unless it's Serializable:
http://jira.icesoft.org/browse/ICE-6137