}
List<UIParameter> validParams = HtmlRendererUtils.getValidUIParameterChildren(
context, childrenList, false, false);
for (int j = 0, size = validParams.size(); j < size; j++)
{
UIParameter param = validParams.get(j);
String name = param.getName();
//Not necessary, since we are using oamSetHiddenInput to create hidden fields
if (MyfacesConfig.getCurrentInstance(context.getExternalContext()).isRenderHiddenFieldsForLinkParams())
{
addHiddenCommandParameter(context, nestingForm, name);
}
Object value = param.getValue();
//UIParameter is no ValueHolder, so no conversion possible - calling .toString on value....
// MYFACES-1832 bad charset encoding for f:param
// if HTMLEncoder.encode is called, then
// when is called on writer.writeAttribute, encode method