Package javax.faces.application

Examples of javax.faces.application.Application.createValueBinding()


        if (visibleStartHour != null)
        {
            if (isValueReference(visibleStartHour))
            {
                schedule.setValueBinding("visibleStartHour", app
                        .createValueBinding(visibleStartHour));
            }
            else
            {
                schedule.setVisibleStartHour(Integer.valueOf(visibleStartHour)
View Full Code Here


        if (visibleEndHour != null)
        {
            if (isValueReference(visibleEndHour))
            {
                schedule.setValueBinding("visibleEndHour", app
                        .createValueBinding(visibleEndHour));
            }
            else
            {
                schedule.setVisibleEndHour(Integer.valueOf(visibleEndHour)
View Full Code Here

        if (workingStartHour != null)
        {
            if (isValueReference(workingStartHour))
            {
                schedule.setValueBinding("workingStartHour", app
                        .createValueBinding(workingStartHour));
            }
            else
            {
                schedule.setWorkingStartHour(Integer.valueOf(workingStartHour)
View Full Code Here

        if (workingEndHour != null)
        {
            if (isValueReference(workingEndHour))
            {
                schedule.setValueBinding("workingEndHour", app
                        .createValueBinding(workingEndHour));
            }
            else
            {
                schedule.setWorkingEndHour(Integer.valueOf(workingEndHour)
View Full Code Here

        if (immediate != null)
        {
            if (isValueReference(immediate))
            {
                schedule.setValueBinding("immediate", app
                        .createValueBinding(immediate));
            }
            else
            {
                schedule
View Full Code Here

        if (readonly != null)
        {
            if (isValueReference(readonly))
            {
                schedule.setValueBinding("readonly", app
                        .createValueBinding(readonly));
            }
            else
            {
                schedule.setReadonly(Boolean.valueOf(readonly).booleanValue());
View Full Code Here

        if (submitOnClick != null)
        {
            if (isValueReference(submitOnClick))
            {
                schedule.setValueBinding("submitOnClick", app
                        .createValueBinding(submitOnClick));
            }
            else
            {
                schedule.setSubmitOnClick(Boolean.valueOf(submitOnClick)
View Full Code Here

            }
        }

        if ((value != null) && isValueReference(value))
        {
            schedule.setValueBinding("value", app.createValueBinding(value));
        }
        else
        {
            throw new IllegalArgumentException(
                    "The value property must be a value binding expression that points to a SimpleScheduleModel object.");
View Full Code Here

                    "The value property must be a value binding expression that points to a SimpleScheduleModel object.");
        }
       
        if (entryRenderer != null && isValueReference(entryRenderer))
        {
            schedule.setValueBinding("entryRenderer", app.createValueBinding(entryRenderer));
        }
        else if (entryRenderer != null)
        {
            throw new IllegalArgumentException("The entryRenderer property must be a value binding expression that point to a ScheduleEntryRenderer instance");
        }
View Full Code Here

            throw new FacesException(Messages.getMessage(
                Messages.SKIN_CYCLIC_REFERENCE, propertyName));
          }
        }
        if (ELUtils.isValueReference(property)) {
          skinParams.put(propertyName, app
              .createValueBinding(property));
        } else {
          skinParams.put(propertyName, property);
        }
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.