*/
public void mergeParameters(String oldParameter, String newParameter) {
// Get actual IState
IState state = this.getStatesStack().peek();
IParameter storedParameter = state.getParameter(oldParameter);
if (storedParameter.getValues().size() > 0) {
IParameter parameter = this.composeParameter(newParameter, storedParameter.getValuePosition(0), false, "",
false, Constants.ENCODING_UTF_8);
String currentValue = null;
// We check the parameters since the second position because the first
// value has been used to create the parameter
for (int i = 1; i < storedParameter.getValues().size(); i++) {
currentValue = storedParameter.getValuePosition(i);
parameter.addValue(currentValue);
}
}
}