Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.2, EE-3.2.0.GA
-
Fix Version/s: 3.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Chrome, Firefox, IE, Tomcat 7
-
Assignee Priority:P1
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:Hidefull redirect via faces-redirect=true will solve the issue with page refreshes.
For Example:
<h:commandButton value="Go to other page" action="/destinationPage.xhtml?faces-redirect=true"/>Showfull redirect via faces-redirect=true will solve the issue with page refreshes. For Example: <h:commandButton value="Go to other page" action="/destinationPage.xhtml?faces-redirect=true"/>
Description
If you use icecore:refresh tag in one page and navigate to another page which does not have that tag via POST redirect, destination page will continue to refresh itself. You will also notice change in Interval time for those refreshes.
To reproduce:
1. run sample application
2. go to start.xhtml page and click "Go to start 2" command button
NOTE: This issue is similar to previously resolvedICE-8840
To reproduce:
1. run sample application
2. go to start.xhtml page and click "Go to start 2" command button
NOTE: This issue is similar to previously resolved
-
Hide
- Case11783.zip
- 60 kB
- Evgheni Sadovoi
-
- Case11783/build.xml 3 kB
- Case11783/nbproject/ant-deploy.xml 3 kB
- Case11783/nbproject/build-impl.xml 58 kB
- Case11783/nbproject/genfiles.properties 0.5 kB
- Case11783/nbproject/.../private.properties 0.4 kB
- Case11783/nbproject/private/private.xml 0.2 kB
- Case11783/nbproject/project.properties 3 kB
- Case11783/nbproject/project.xml 1 kB
- Case11783/src/conf/MANIFEST.MF 0.0 kB
- Case11783/src/.../JobApplicantService.java 0.3 kB
- Case11783/.../JobApplicantServiceImpl.java 0.6 kB
- Case11783/src/.../ApplicantController.java 4 kB
- Case11783/.../WordCapitalizationConverter.java 2 kB
- Case11783/src/.../LoggingPhaseListener.java 0.7 kB
- Case11783/src/.../PagePhaseListener.java 2 kB
- Case11783/src/java/.../model/Applicants.java 0.9 kB
- Case11783/src/java/.../model/CityList.java 0.4 kB
- Case11783/src/.../model/CountryList.java 0.4 kB
- Case11783/src/.../model/FontSizeList.java 0.4 kB
- Case11783/src/.../model/JobApplicant.java 2 kB
- Case11783/src/.../model/RequestTest.java 0.4 kB
- Case11783/src/.../model/ViewProperties.java 2 kB
- Case11783/src/.../JSF-override_en.properties 0.0 kB
- Case11783/src/.../Msgs_en.properties 0.2 kB
- Case11783/src/.../Msgs_es.properties 0.2 kB
- Case11783/src/.../Msgs_fr.properties 0.2 kB
- Case11783/src/java/.../util/FacesUtils.java 8 kB
- Case11783/src/.../EmailValidator.java 1 kB
- Case11783/web/applicants.xhtml 1 kB
- Case11783/web/index.jsp 0.0 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Modified ice.setupRefresh function to register timer shutdown callback with document "unload" event and also with ice.onElementUpdate. So now when browser's URL changes, there is an update that changes the refresh interval or the refresh is disabled the timer will be shutdown.
Show
Mircea Toma
added a comment - Modified ice.setupRefresh function to register timer shutdown callback with document "unload" event and also with ice.onElementUpdate. So now when browser's URL changes, there is an update that changes the refresh interval or the refresh is disabled the timer will be shutdown.
Please test the following workaround: add an icecore:refresh tag to the second page that disables the refresh.
From the point of view of the ajax page, the "navigation" is simply a page update, so there is no particular reason to cancel the refresh.