{
throw new IllegalArgumentException("must specify name or value for page <param/> declaration");
}
name = valueExpression.substring(2, valueExpression.length()-1);
}
Param param = new Param(name);
if (valueExpression!=null)
{
param.setValueBinding(Expressions.instance().createValueBinding(valueExpression));
}
param.setConverterId(element.attributeValue("converterId"));
String converterExpression = element.attributeValue("converter");
if (converterExpression!=null)
{
param.setConverterValueBinding(Expressions.instance().createValueBinding(converterExpression));
}
return param;
}