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: ICE-Components
-
Labels:None
-
Environment:jsf2.0, ICEfaces2.0, compat and comps-compat jars
Description
Choose File->Recent->file2->para1 and see para1 as set parameter. If you do the same but choose para3, the parameter is still read as para1. This is consistent whether using FF or Safari
Issue Links
- blocks
-
ICE-4458 create component-showcase sample for compat version of ICEfaces-2
- Closed
I noticed that for some reason the JSF bridge was sending the params that were part of the previous request. So when I tried to debug it, It came across that jsf.js keeps the previous queryString to build the new request in some cases (according to my understanding).
/**
*/
req.sendRequest = function() {
.....
// Some logic to get the real request URL
if (req.generateUniqueUrl && req.method == "GET") { req.parameters["AjaxRequestUniqueId"] = new Date().getTime() + "" + req.requestIndex; }
var content = null; // For POST requests, to hold query string
for (var i in req.parameters) {
if (req.parameters.hasOwnProperty)
}