_params.put(ScopedServletUtils.SCOPE_ID_PARAM, targetScope);
// If there's one on the URL, we're replacing it with a hidden param.
if (uri != null) {
assert uri instanceof FreezableMutableURI : uri.getClass().getName();
((FreezableMutableURI) uri).setFrozen(false);
uri.removeParameter(ScopedServletUtils.SCOPE_ID_PARAM);
}
}
// Check if the rewritten form action contains request parameters that need
// to be turned into hidden fields -- shouldn't include them in the action