public static boolean toBooleanValue(String str) throws PageException {
  Boolean b=toBoolean(str,null);
  if (b != null)   return b.booleanValue();
  throw new CasterException("Can't cast String [" + str + "] to a boolean");
}

public static boolean toBooleanValue ( String str ) throws PageException { Boolean b = toBoolean ( str , null ) ; if ( b != null ) return b . booleanValue ( ) ; throw new CasterException ( "Can't cast String [" + str + "] to a boolean" ) ; }
cast a object to a boolean value ( primitive value type )
