Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.RC1
-
Fix Version/s: 3.0.1, EE-3.0.0.GA
-
Component/s: Framework
-
Labels:None
-
Environment:Tomcat 7.0.12
ICEfaces 3RC1a
Description
The valueChangeListener in an h:selectOneMenu is being used to cross validate with another field in one of my applications. If another field is a certain value, the h:selectOneMenu value should be set to '0', even if '0' was the initial value before the change.
When an attempt is made to set back to '0' the following response comes back in the console:
<?xml version='1.0' encoding='UTF-8'?>
<partial-response><changes><update id="javax.faces.ViewState"><![CDATA[574103076592712092:7902382816915448980]]></update><eval><![CDATA[alert('Invalid Cycle');]]></eval><extension aceCallbackParam="validationFailed">{"validationFailed":false}</extension></changes></partial-response>
When the value is not set to '0', the component updates as expected.
Attached is a war file and source code for a test case.
When an attempt is made to set back to '0' the following response comes back in the console:
<?xml version='1.0' encoding='UTF-8'?>
<partial-response><changes><update id="javax.faces.ViewState"><![CDATA[574103076592712092:7902382816915448980]]></update><eval><![CDATA[alert('Invalid Cycle');]]></eval><extension aceCallbackParam="validationFailed">{"validationFailed":false}</extension></changes></partial-response>
When the value is not set to '0', the component updates as expected.
Attached is a war file and source code for a test case.
-
Hide
- Test_war_exploded.war
- 7.55 MB
- Brad Kroeger
-
- WEB-INF/classes/BackingBean.class 2 kB
- WEB-INF/lib/icefaces-ace.jar 1.39 MB
- WEB-INF/lib/icefaces-compat.jar 2.34 MB
- WEB-INF/lib/icefaces.jar 267 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/jstl.jar 20 kB
- WEB-INF/lib/jxl.jar 708 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/javax.faces.jar 2.46 MB
- WEB-INF/faces-config.xml 0.3 kB
- WEB-INF/web.xml 3 kB
- index.jsp 0.0 kB
- test.xhtml 3 kB
- META-INF/MANIFEST.MF 0.0 kB
-
- Test.zip
- 4 kB
- Brad Kroeger
-
Hide
- Test2.zip
- 5 kB
- Ted Goddard
-
- Test/src/BackingBean.java 1 kB
- Test/Test.iml 1.0 kB
- Test/web/index.jsp 0.0 kB
- Test/web/META-INF/MANIFEST.MF 0.0 kB
- Test/web/test.xhtml 3 kB
- Test/web/WEB-INF/faces-config.xml 0.3 kB
- Test/web/WEB-INF/web.xml 3 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
This tab is subject to removal in future versions.