*/
public void setRange(String range) throws PageException {
String errMessage="attribute range has an invalid value ["+range+"], must be string list with numbers";
String errDetail="Example: [number_from,number_to], [number_from], [number_from,], [,number_to]";
Array arr=ListUtil.listToArray(range,',');
if(arr.size()==1) {
double from=Caster.toDoubleValue(arr.get(1,null),Double.NaN);
if(!Decision.isValid(from))throw new ApplicationException(errMessage,errDetail);
input.setRangeMin(from);
input.setRangeMax(Double.NaN);
if(from<100)params.setEL("minimum",Caster.toString(from));
}
else if(arr.size()==2) {
String strFrom=arr.get(1,"").toString().trim();
double from=Caster.toDoubleValue(strFrom,Double.NaN);
if(!Decision.isValid(from) && strFrom.length()>0) {
throw new ApplicationException(errMessage,errDetail);
}
input.setRangeMin(from);
String strTo=arr.get(2,"").toString().trim();
double to=Caster.toDoubleValue(strTo,Double.NaN);
if(!Decision.isValid(to) && strTo.length()>0) {
throw new ApplicationException(errMessage,errDetail);
}
input.setRangeMax(to);