Examples of createValueBinding()


Examples of com.ibm.xsp.application.ApplicationEx.createValueBinding()

   */
  protected ValueBinding getValueBinding(final String variable) {
    ValueBinding ret = valueBindings.get(variable);
    if (ret == null) {
      ApplicationEx app = (ApplicationEx) context.getApplication();
      ret = app.createValueBinding("#{" + variable + "}");
      if ((ret instanceof ValueBindingEx)) {
        ValueBindingEx valueEx = (ValueBindingEx) ret;
        valueEx.setComponent(component);
        valueEx.setSourceReferenceId(null); // TODO RPr: What to set here
        valueEx.setExpectedType(Object.class);
View Full Code Here

Examples of com.sun.faces.application.ApplicationImpl.createValueBinding()

                .getApplication();
        String ref = null;
        ValueBinding vb = null;

        ref = "#{NewCustomerFormHandler.minimumAge}";
        vb = app.createValueBinding(ref);
        assertEquals(ref, vb.getExpressionString());

        ref = "minimum age is #{NewCustomerFormHandler.minimumAge}";
        vb = app.createValueBinding(ref);
        assertEquals(ref, vb.getExpressionString());
View Full Code Here

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

        {
            if (UIComponentTag.isValueReference(this.client))
            {
                final FacesContext context = FacesContext.getCurrentInstance();
                final Application application = context.getApplication();
                final ValueBinding binding = application.createValueBinding(attributeValue);
                component.setValueBinding(
                    attributeName,
                    binding);
            }
            else
View Full Code Here

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

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

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

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

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

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

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

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

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

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

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

            }
        }

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

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

        if (rendered != null)
        {
            if (isValueReference(rendered))
            {
                schedule.setValueBinding("rendered", app
                        .createValueBinding(rendered));
            }
            else
            {
                schedule.setRendered(Boolean.valueOf(rendered).booleanValue());
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.