Package javax.faces.model

Examples of javax.faces.model.ScalarDataModel


        {
            return new ResultDataModel((Result) value);
        }
        else
        {
            return new ScalarDataModel(value);
        }
    }
View Full Code Here


        {
            return new CollectionDataModel((Collection) value);
        }
        else
        {
            return new ScalarDataModel(value);
        }
    }
View Full Code Here

        {
            return new CollectionDataModel((Collection) value);
        }
        else
        {
            return new ScalarDataModel(value);
        }
    }
View Full Code Here

        } else if (current instanceof ResultSet) {
            setDataModel(new ResultSetDataModel((ResultSet) current));
        } else if (current instanceof Result) {
            setDataModel(new ResultDataModel((Result) current));
        } else {
            setDataModel(new ScalarDataModel(current));
        }
        return (model);

    }
View Full Code Here

        {
            return new ResultDataModel((Result) value);
        }
        else
        {
            return new ScalarDataModel(value);
        }
    }
View Full Code Here

      return new ListDataModel(Collections.emptyList());
    }
    else if (value instanceof List)
      return new ListDataModel((List) value);

    return new ScalarDataModel(value);
  }
View Full Code Here

        {
            return new ResultSetDataModel((ResultSet) value);
        }
        else
        {
            return new ScalarDataModel(value);
        }
    }
View Full Code Here

        {
            return new ResultDataModel((Result) value);
        }
        else
        {
            return new ScalarDataModel(value);
        }
    }
View Full Code Here

    } else if (value instanceof ResultSet) {
      return new ResultSetDataModel((ResultSet) value);
    } else if (value instanceof Result) {
      return new ResultDataModel((Result) value);
    } else {
      return new ScalarDataModel(value);
    }
  }
View Full Code Here

        {
            return new ResultDataModel((Result) value);
        }
        else
        {
            return new ScalarDataModel(value);
        }
    }
View Full Code Here

TOP

Related Classes of javax.faces.model.ScalarDataModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.