Details
Description
Regarding the attached portlet, when doing an onblur (partialsubmit) from the "First Name" field, ICEfaces determines that the java.faces.ViewState hidden field needs to be updated, even though it is updating it with the same exact value that was there. While that introduces only a slight inefficiency, the problem is that, according to FireBug and Chrome, the value of the javax.faces.encodedURL gets wiped out and so all subsequent jsf.js Ajax requests fail.
-
Hide
- icefaces-2.0-compat-portlet.zip
- 47 kB
- Neil Griffin
-
- icefaces-2.0-compat-portlet/.classpath 0.9 kB
- icefaces-2.0-compat-portlet/.project 1 kB
- icefaces-2.0-compat-portlet/.../org.eclipse.jdt.core.prefs 0.3 kB
- icefaces-2.0-compat-portlet/.../org.eclipse.wst.common.component 0.9 kB
- icefaces-2.0-compat-portlet/.../org.eclipse.wst.common.project.facet.core.xml 0.2 kB
- icefaces-2.0-compat-portlet/.../org.eclipse.wst.jsdt.ui.superType.container 0.0 kB
- icefaces-2.0-compat-portlet/.../org.eclipse.wst.jsdt.ui.superType.name 0.0 kB
- icefaces-2.0-compat-portlet/.../org.maven.ide.eclipse.prefs 0.2 kB
- icefaces-2.0-compat-portlet/build.xml 0.9 kB
- icefaces-2.0-compat-portlet/pom.xml 3 kB
- icefaces-2.0-compat-portlet/README.txt 0.2 kB
- icefaces-2.0-compat-portlet/.../ApplicantBackingBean.java 5 kB
- icefaces-2.0-compat-portlet/.../ApplicantModelBean.java 4 kB
- icefaces-2.0-compat-portlet/.../ListModelBean.java 5 kB
- icefaces-2.0-compat-portlet/.../City.java 2 kB
- icefaces-2.0-compat-portlet/.../Province.java 1 kB
- icefaces-2.0-compat-portlet/.../DebugPhaseListener.java 2 kB
- icefaces-2.0-compat-portlet/.../FacesMessageUtil.java 3 kB
- icefaces-2.0-compat-portlet/.../i18n.properties 0.8 kB
- icefaces-2.0-compat-portlet/.../i18nFaces.properties 0.1 kB
- icefaces-2.0-compat-portlet/.../log4j.dtd 5 kB
- icefaces-2.0-compat-portlet/.../log4j.xml 2 kB
- icefaces-2.0-compat-portlet/.../liferay-theme-override.css 0.2 kB
- icefaces-2.0-compat-portlet/.../icon-help.png 4 kB
- icefaces-2.0-compat-portlet/.../._icon-help.png 47 kB
- icefaces-2.0-compat-portlet/.../context.xml 0.1 kB
- icefaces-2.0-compat-portlet/.../LICENSE-2.0.txt 11 kB
- icefaces-2.0-compat-portlet/.../message.xhtml 1 kB
- icefaces-2.0-compat-portlet/.../messages.xhtml 1 kB
- icefaces-2.0-compat-portlet/.../faces-config.xml 1 kB
-
Hide
- icefaces-2.0-compat-portlet-1.0.0-SNAPSHOT.war
- 6.11 MB
- Neil Griffin
-
- META-INF/MANIFEST.MF 0.1 kB
- css/liferay-theme-override.css 0.2 kB
- images/icon-help.png 4 kB
- META-INF/context.xml 0.1 kB
- META-INF/LICENSE-2.0.txt 11 kB
- resources/pcc/message.xhtml 1 kB
- resources/pcc/messages.xhtml 1 kB
- WEB-INF/classes/i18n.properties 0.8 kB
- WEB-INF/classes/i18nFaces.properties 0.1 kB
- WEB-INF/classes/log4j.dtd 5 kB
- WEB-INF/classes/log4j.xml 2 kB
- WEB-INF/.../ApplicantBackingBean.class 6 kB
- WEB-INF/classes/.../ApplicantModelBean.class 4 kB
- WEB-INF/classes/.../bean/ListModelBean.class 4 kB
- WEB-INF/classes/org/.../dto/City.class 1 kB
- WEB-INF/classes/org/.../dto/Province.class 0.9 kB
- WEB-INF/classes/.../DebugPhaseListener.class 1 kB
- WEB-INF/classes/.../FacesMessageUtil.class 3 kB
- WEB-INF/faces-config.xml 1 kB
- WEB-INF/lib/commons-beanutils-1.8.0.jar 226 kB
- WEB-INF/lib/commons-collections-3.2.jar 558 kB
- WEB-INF/lib/commons-digester-1.8.jar 140 kB
- WEB-INF/lib/commons-fileupload-1.2.1.jar 56 kB
- WEB-INF/lib/commons-logging-1.1.jar 52 kB
- WEB-INF/lib/icefaces-2.0-A3.jar 165 kB
- WEB-INF/lib/icefaces-compat-2.0-A3.jar 559 kB
- WEB-INF/.../icefaces-comps-compat-2.0-A3.jar 1.92 MB
- WEB-INF/lib/jboss-el-2.0.0.GA.jar 131 kB
- WEB-INF/lib/jsf-api-2.0.jar 575 kB
- WEB-INF/lib/jsf-impl-2.0.3-SNAPSHOT.jar 1.77 MB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
This can also be reproduced using these steps:
Clicking on the ice:selectInputDate popup indeed pops up the calendar, but can't click on anything after that. After the DOM replacement of <div class="iceSelInpDatePopup">...</div>, the javax.faces.encodedURL is empty according to FireBug.
Show
Neil Griffin
added a comment - - edited This can also be reproduced using these steps:
Clicking on the ice:selectInputDate popup indeed pops up the calendar, but can't click on anything after that. After the DOM replacement of <div class="iceSelInpDatePopup">...</div>, the javax.faces.encodedURL is empty according to FireBug.
It's possible that after some of the current work Ted has done with ICEfaces 2 and the new Portlet Bridge that some or all of the older portlet related issues are no longer relevant. Assigning to Ted to verify which can be closed and which may still need more work.
Show
Deryk Sinotte
added a comment - It's possible that after some of the current work Ted has done with ICEfaces 2 and the new Portlet Bridge that some or all of the older portlet related issues are no longer relevant. Assigning to Ted to verify which can be closed and which may still need more work.
ICE-5796 provides a fix for resetHiddenFields() which was causing the portlet field to be erased (a special case has been added for now).
Show
Ted Goddard
added a comment - ICE-5796 provides a fix for resetHiddenFields() which was causing the portlet field to be erased (a special case has been added for now).
Here's an example of the DOM update that FireBug says is being applied after the onblur:
<?xml version="1.0" encoding="utf-8"?>
<partial-response><changes><update id="javax.faces.ViewState"><![CDATA[-1320574561355035683:5537851636518983223]]></update></changes></partial-response>