Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha1
-
Fix Version/s: 2.0-Alpha2, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces 2.0
Description
Soon after loading the auction demo, it can be seen to squirm briefly and then settle into regular clock updates.
Analysis of the initial update shows it to be due to the DOM update propagating up to the entire form. This is due to initial URL-rewriting prior to JSESSIONID cookie establishment:
<form action="/auction/auction.jsf;jsessionid=F4A4B758C8687B8F6486A4993F8CF058" enctype="application/x-www-form-urlencoded" id="iceForm" method="post" name="iceForm">
changes to
<form action="/auction/auction.jsf" enctype="application/x-www-form-urlencoded" id="iceForm" method="post" name="iceForm">
The easiest way to resolve this is likely to establish the session on the first request. We currently redirect from index.html:
<meta http-equiv="Refresh" content="0;url=auction.jsf">
but redirection from index.jsp should be investigated.