Details
Description
Steps to Reproduce:
1. Deploy the attached icefaces3-portlet-3.0.0-SNAPSHOT.war to the Liferay Portal 6.2 /deploy folder
2. Add a new page named ICE3
3. Add the portlet named ICEfaces3 to the ICE3 portal page
4. Re-render the ICE3 portal page
5. Click the Submit button, and all of the form fields turn red/invalid except for the Date of Birth field
6. In the ZIP Code field, type: 32801
7. Press the TAB key on the keyboard in order to blur out of the ZIP code field
8. Note that the City field contains "Orlando" and the "State" dropdown contains "FL"
9. Repeat steps 1-7 for the attachment icefaces4-portlet-4.0.0-SNAPSHOT.war (using a paged named ICE4 instead of ICE3).
If the bug is fixed, then the City field should contain "Orlando" and the "State" dropdown contains "FL"
Otherwise, if the bug still exists, then the City field will not contain a value.
Here is the source code for the [icefaces3-portlet|https://github.com/liferay/liferay-faces-bridge-impl/blob/3.x/demos/icefaces3-portlet] and [icefaces4-portlet|https://github.com/liferay/liferay-faces-bridge-impl/blob/4.x/demos/icefaces4-portlet/].
Note that the code that triggers the XHR is [line#73 of applicant.xhtml|https://github.com/liferay/liferay-faces-bridge-impl/blob/4.x/demos/icefaces4-portlet/src/main/webapp/WEB-INF/views/applicant.xhtml#L73]:
{code}
<ace:ajax execute="@this" render="postalCodeField provinceIdField cityField" />
{code}
... which simply calls a ValueChangeListener at [line#142 of ApplicantBackingBean.java|https://github.com/liferay/liferay-faces-bridge-impl/blob/4.x/demos/icefaces4-portlet/src/main/java/com/liferay/faces/demos/bean/ApplicantBackingBean.java#L142].
It appears as though the {{cityField}} is not getting re-rendered, even though it is specified in the render attribute of {{ace:ajax}}.
1. Deploy the attached icefaces3-portlet-3.0.0-SNAPSHOT.war to the Liferay Portal 6.2 /deploy folder
2. Add a new page named ICE3
3. Add the portlet named ICEfaces3 to the ICE3 portal page
4. Re-render the ICE3 portal page
5. Click the Submit button, and all of the form fields turn red/invalid except for the Date of Birth field
6. In the ZIP Code field, type: 32801
7. Press the TAB key on the keyboard in order to blur out of the ZIP code field
8. Note that the City field contains "Orlando" and the "State" dropdown contains "FL"
9. Repeat steps 1-7 for the attachment icefaces4-portlet-4.0.0-SNAPSHOT.war (using a paged named ICE4 instead of ICE3).
If the bug is fixed, then the City field should contain "Orlando" and the "State" dropdown contains "FL"
Otherwise, if the bug still exists, then the City field will not contain a value.
Here is the source code for the [icefaces3-portlet|https://github.com/liferay/liferay-faces-bridge-impl/blob/3.x/demos/icefaces3-portlet] and [icefaces4-portlet|https://github.com/liferay/liferay-faces-bridge-impl/blob/4.x/demos/icefaces4-portlet/].
Note that the code that triggers the XHR is [line#73 of applicant.xhtml|https://github.com/liferay/liferay-faces-bridge-impl/blob/4.x/demos/icefaces4-portlet/src/main/webapp/WEB-INF/views/applicant.xhtml#L73]:
{code}
<ace:ajax execute="@this" render="postalCodeField provinceIdField cityField" />
{code}
... which simply calls a ValueChangeListener at [line#142 of ApplicantBackingBean.java|https://github.com/liferay/liferay-faces-bridge-impl/blob/4.x/demos/icefaces4-portlet/src/main/java/com/liferay/faces/demos/bean/ApplicantBackingBean.java#L142].
It appears as though the {{cityField}} is not getting re-rendered, even though it is specified in the render attribute of {{ace:ajax}}.
-
Hide
- icefaces3-portlet-3.0.0-SNAPSHOT.war
- 12.44 MB
- Neil Griffin
-
- META-INF/MANIFEST.MF 0.3 kB
- META-INF/context.xml 0.1 kB
- resources/example/clipboard.png 2 kB
- resources/example/example.css 0.3 kB
- resources/example/icon-delete.png 0.9 kB
- resources/example/icon-help.png 4 kB
- resources/example/liferay-logo.png 4 kB
- resources/.../liferay-theme-override.css 0.2 kB
- resources/example/portlet.css 0.2 kB
- resources/example-cc/clipboard.xhtml 0.7 kB
- resources/example-cc/divider.xhtml 0.6 kB
- resources/example-cc/sponsorButton.xhtml 1 kB
- WEB-INF/.../ApplicantBackingBean.class 8 kB
- WEB-INF/classes/.../ApplicantModelBean.class 4 kB
- WEB-INF/classes/.../ApplicantViewBean.class 1 kB
- WEB-INF/classes/.../bean/ListModelBean.class 4 kB
- WEB-INF/.../PortletPreferencesBackingBean.class 4 kB
- WEB-INF/classes/com/.../demos/dto/City.class 1 kB
- WEB-INF/classes/com/.../dto/Province.class 0.9 kB
- WEB-INF/.../UploadedFileWrapper.class 5 kB
- WEB-INF/classes/i18n.properties 1 kB
- WEB-INF/classes/i18nFaces.properties 0.1 kB
- WEB-INF/classes/log4j.properties 2 kB
- WEB-INF/classes/META-INF/apache-2.0.txt 11 kB
- WEB-INF/classes/.../cddl-1.0-gpl-2.0-cp.txt 44 kB
- WEB-INF/classes/META-INF/cddl-1.0.txt 16 kB
- WEB-INF/classes/META-INF/NOTICE.txt 0.6 kB
- WEB-INF/classes/META-INF/THIRD-PARTY.txt 0.7 kB
- WEB-INF/faces-config.xml 1 kB
- WEB-INF/lib/commons-beanutils-1.8.0.jar 226 kB
-
Hide
- icefaces4-portlet-4.0.0-SNAPSHOT.war
- 11.25 MB
- Neil Griffin
-
- META-INF/MANIFEST.MF 0.3 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/.../ApplicantBackingBean.class 9 kB
- WEB-INF/classes/.../ApplicantModelBean.class 4 kB
- WEB-INF/classes/.../ApplicantViewBean.class 1 kB
- WEB-INF/classes/.../bean/ListModelBean.class 5 kB
- WEB-INF/.../PortletPreferencesBackingBean.class 4 kB
- WEB-INF/classes/com/.../demos/dto/City.class 1 kB
- WEB-INF/classes/com/.../dto/Province.class 0.9 kB
- WEB-INF/.../UploadedFileWrapper.class 5 kB
- WEB-INF/classes/i18n.properties 1 kB
- WEB-INF/classes/i18nFaces.properties 0.1 kB
- WEB-INF/classes/log4j.properties 2 kB
- WEB-INF/classes/META-INF/apache-2.0.txt 11 kB
- WEB-INF/classes/.../cddl-1.0-gpl-2.0-cp.txt 44 kB
- WEB-INF/classes/META-INF/cddl-1.0.txt 16 kB
- WEB-INF/classes/META-INF/NOTICE.txt 0.6 kB
- WEB-INF/classes/META-INF/THIRD-PARTY.txt 0.7 kB
- WEB-INF/faces-config.xml 1 kB
- WEB-INF/.../icefaces-4.1.1-20160205.212032-1.jar 684 kB
- WEB-INF/.../icefaces-ace-4.1.1-20160205.212904-1.jar 6.07 MB
- WEB-INF/lib/jsf-api-2.2.13.jar 680 kB
- WEB-INF/lib/jsf-impl-2.2.13.jar 2.30 MB
- WEB-INF/.../liferay-faces-alloy-2.0.0-SNAPSHOT.jar 572 kB
- WEB-INF/.../liferay-faces-bridge-api-4.0.0-SNAPSHOT.jar 94 kB
- WEB-INF/.../liferay-faces-bridge-ext-3.0.0-SNAPSHOT.jar 120 kB
- WEB-INF/.../liferay-faces-bridge-impl-4.0.0-SNAPSHOT.jar 452 kB
- WEB-INF/.../liferay-faces-util-3.0.0-SNAPSHOT.jar 278 kB
- WEB-INF/liferay-display.xml 0.2 kB
- WEB-INF/liferay-plugin-package.properties 0.4 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion