Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:Set deltaSubmit=false (Default)
Description
The test scenario is that an ace:comboBox is using an enum object for the list/value binding. There is also a button on the page that will open an ace:dialog. With the deltaSubmit context parameter set to true, opening the dialog via the button is causing a converter error:
javax.faces.convert.ConverterException: Report: : '' must be convertible to an enum.
at javax.faces.convert.EnumConverter.getAsString(EnumConverter.java:216)
at org.icefaces.ace.component.combobox.ComboBoxRenderer.getConvertedValueForClient(ComboBoxRenderer.java:478)
at org.icefaces.ace.component.combobox.ComboBoxRenderer.encodeScript(ComboBoxRenderer.java:259)
at org.icefaces.ace.component.combobox.ComboBoxRenderer.encodeBegin(ComboBoxRenderer.java:175)
javax.faces.convert.ConverterException: Report: : '' must be convertible to an enum.
at javax.faces.convert.EnumConverter.getAsString(EnumConverter.java:216)
at org.icefaces.ace.component.combobox.ComboBoxRenderer.getConvertedValueForClient(ComboBoxRenderer.java:478)
at org.icefaces.ace.component.combobox.ComboBoxRenderer.encodeScript(ComboBoxRenderer.java:259)
at org.icefaces.ace.component.combobox.ComboBoxRenderer.encodeBegin(ComboBoxRenderer.java:175)
-
Hide
- Case12371Example2.war
- 3.50 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../example/Item.class 0.3 kB
- WEB-INF/classes/.../TestBean$Type.class 1 kB
- WEB-INF/classes/.../example/TestBean.class 2 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/javax.faces-2.1.26.jar 2.53 MB
- WEB-INF/web.xml 2 kB
- index.xhtml 0.5 kB
- welcomeICEfaces.xhtml 2 kB
-
Hide
- Case12371Example2.zip
- 21 kB
- Arran Mccullough
-
- Case12371Example2/build.xml 3 kB
- Case12371Example2/.../ant-deploy.xml 3 kB
- Case12371Example2/.../build-impl.xml 77 kB
- Case12371Example2/.../genfiles.properties 0.5 kB
- Case12371Example2/.../private.properties 0.6 kB
- Case12371Example2/nbproject/.../private.xml 0.2 kB
- Case12371Example2/.../project.properties 3 kB
- Case12371Example2/nbproject/project.xml 0.9 kB
- Case12371Example2/src/conf/MANIFEST.MF 0.0 kB
- Case12371Example2/src/.../example/Item.java 0.1 kB
- Case12371Example2/src/.../TestBean.java 1 kB
- Case12371Example2/web/index.xhtml 0.5 kB
- Case12371Example2/web/.../context.xml 0.1 kB
- Case12371Example2/web/WEB-INF/web.xml 2 kB
- Case12371Example2/.../welcomeICEfaces.xhtml 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Modified ComboBoxRenderer to write out the selected value into the hidden input element (into the value attribute, more precisely) so that delta submit can correctly calculate the previous parameters off the old document. Previously
Show
Mircea Toma
added a comment - Modified ComboBoxRenderer to write out the selected value into the hidden input element (into the value attribute, more precisely) so that delta submit can correctly calculate the previous parameters off the old document. Previously
Attached test case that reproduces the issue. Note: icefaces.jar, icefaces-ace.jar and icefaces-compat.jar files need to be added back into the war to deploy correctly.
Steps:
- Load welcomeICEfaces.jsf
- The comboBox value changed without any issues.
- Upon click of the 'show dialog' button the error is thrown.
Show
Arran Mccullough
added a comment - Attached test case that reproduces the issue. Note: icefaces.jar, icefaces-ace.jar and icefaces-compat.jar files need to be added back into the war to deploy correctly.
Steps:
Load welcomeICEfaces.jsf
The comboBox value changed without any issues.
Upon click of the 'show dialog' button the error is thrown.
Verified ICEfaces EE-3.3.0.GA_P03 tag r44641. Tomcat 7, IE 11, FF 34, Chrome 42.