Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 1.8.2.GA_P01
-
Fix Version/s: 1.8.2.GA_P02
-
Component/s: Facelet Components
-
Labels:None
-
Environment:-
Description
-
Hide
- SC9179.war
- 3.25 MB
- Tyler Johnson
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/classes/Address.java 0.2 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/FastInfoset.jar 285 kB
- WEB-INF/classes/Person.class 1 kB
- ICEfacesPage1.xhtml 1 kB
- WEB-INF/classes/Person.java 0.9 kB
- WEB-INF/lib/jxl.jar 708 kB
- WEB-INF/.../EditableTableExampleBean$EditableTableEventListener.class 2 kB
- WEB-INF/.../EditableTableExampleBean.class 2 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/.../EditableTableExampleBean.java 2 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/faces-config.xml 0.6 kB
- WEB-INF/classes/.DS_Store 6 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/jsf-impl.jar 816 kB
- index.jsp 0.1 kB
- WEB-INF/classes/Address.class 0.5 kB
- WEB-INF/lib/jsf-api.jar 350 kB
- WEB-INF/web.xml 4 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- .DS_Store 6 kB
- WEB-INF/.DS_Store 6 kB
-
- 9179_screen.jpg
- 22 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The SelectItem api has a number of constructors. If you pass in one argument, that becomes both the value and label, you can also pass in a value followed by a label (which is usually done when the bean value is something other than a String and you want a String label in the GUI). In the attached jpg, the SelectItem value is what you have labeled as "key" and the SelectItem label is what has been labeled "Value". The construction of the SelectItems bound to the ice-cc:selectOneMenuColumn is up to the developer to decide what should be a value and label.
When the component renders out the value of the ice:outputText in a cell, it is using the ice:selectOneMenuColumn "property" attribute. If the "property" in the backing bean List bound to the ice-cc:editableTable component is not a String then you will not see a String in the GUI.
Test case intended for deployment on tomcat 6. In order to upload, I've removed the icefaces, icefaces-comps, icefaces-facelets, and composite-component jars.