Details
-
Type: New Feature
-
Status: Reopened
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8.2.GA_P02
-
Fix Version/s: None
-
Component/s: Facelet Components
-
Labels:None
-
Environment:-
Description
A user has requested an selectInputText that is compatible with the ice-cc:editableTable.
I have attempted to add the ice:selectInputText to an editableTable by copying the ice-cc:textColumn composite component source and placing it within a column of the editableTable. I removed unneeded composite component parameters and replaced the ice:inputText with an ice:selectInputText component. However, I ran into issues with toggling the row to either save, cancel or edit data. The built in features for toggling between read-only and edit mode, canceling an edit, and correctly saving row data do not work correctly. I added a value binding to the readonly attribute of the selectInputText component and although this did improve perceived functionality, there are still bugs that need to be ironed out so it´s likely best to create a new child component that can be used reliably within the editableTable.
I have attempted to add the ice:selectInputText to an editableTable by copying the ice-cc:textColumn composite component source and placing it within a column of the editableTable. I removed unneeded composite component parameters and replaced the ice:inputText with an ice:selectInputText component. However, I ran into issues with toggling the row to either save, cancel or edit data. The built in features for toggling between read-only and edit mode, canceling an edit, and correctly saving row data do not work correctly. I added a value binding to the readonly attribute of the selectInputText component and although this did improve perceived functionality, there are still bugs that need to be ironed out so it´s likely best to create a new child component that can be used reliably within the editableTable.
My bad, turned out to be a bean scope issue. Demo was using our old extended request scope which has been replaced by view scope in JSF2.0.