Examples of UIXComponent


Examples of org.apache.myfaces.trinidad.component.UIXComponent

  @Override
  protected final void setProperties(UIComponent component)
  {
    super.setProperties(component);

    UIXComponent uixComponent = (UIXComponent) component;

    if (_attributeChangeListener != null)
    {
      MethodBinding mb =
        createMethodBinding(_attributeChangeListener,
                            new Class[]{AttributeChangeEvent.class});
      uixComponent.setAttributeChangeListener(mb);
    }


    setProperties(uixComponent.getFacesBean());
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXComponent

         "encountered without an <f:view> being processed.");
    }

    super.setProperties(component);

    UIXComponent uixComponent = (UIXComponent) component;

    if (_attributeChangeListener != null)
    {
      uixComponent.setAttributeChangeListener(_attributeChangeListener);
    }

    setProperties(uixComponent.getFacesBean());
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXComponent

    @Override
    @SuppressWarnings("deprecation")
    public void applyMetadata(FaceletContext ctx, Object instance)
    {
      ValueExpression expr = _attribute.getValueExpression(ctx, String.class);
      UIXComponent uixcomp = (UIXComponent) instance;
      FacesBean bean = uixcomp.getFacesBean();
      PropertyKey mainKey = bean.getType().findKey(_mainMethodName);
      if (mainKey == null)
        throw new TagAttributeException(_attribute,
                                        "No support for '" + _mainMethodName +
                                        "' attribute on " + instance);
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXComponent

         "encountered without an <f:view> being processed.");
    }

    super.setProperties(component);

    UIXComponent uixComponent = (UIXComponent) component;

    if (_attributeChangeListener != null)
    {
      uixComponent.setAttributeChangeListener(_attributeChangeListener);
    }

    setProperties(uixComponent.getFacesBean());
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXComponent

        "VIEW_TAG_NOT_PRESENT", this));
    }

    super.setProperties(component);
   
    UIXComponent uixComponent = (UIXComponent) component;

    if (_attributeChangeListener != null)
    {
      MethodBinding mb =
        createMethodBinding(_attributeChangeListener,
                            new Class[]{AttributeChangeEvent.class});
      uixComponent.setAttributeChangeListener(mb);
    }


    setProperties(uixComponent.getFacesBean());
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXComponent

         "encountered without an <f:view> being processed.");
    }

    super.setProperties(component);

    UIXComponent uixComponent = (UIXComponent) component;

    if (_attributeChangeListener != null)
    {
      uixComponent.setAttributeChangeListener(_attributeChangeListener);
    }

    setProperties(uixComponent.getFacesBean());
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXComponent

         "encountered without an <f:view> being processed.");
    }

    super.setProperties(component);

    UIXComponent uixComponent = (UIXComponent) component;

    if (_attributeChangeListener != null)
    {
      uixComponent.setAttributeChangeListener(_attributeChangeListener);
    }

    setProperties(uixComponent.getFacesBean());
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXComponent

        "VIEW_TAG_NOT_PRESENT", this));
    }

    super.setProperties(component);
   
    UIXComponent uixComponent = (UIXComponent) component;

    if (_attributeChangeListener != null)
    {
      MethodExpression me = getFacesContext().getApplication().
         getExpressionFactory().createMethodExpression(
             getFacesContext().getELContext(),
             _attributeChangeListener,
             null,
             new Class[]{AttributeChangeEvent.class});

      uixComponent.setAttributeChangeListener(me);
    }


    setProperties(uixComponent.getFacesBean());
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXComponent

         "encountered without an <f:view> being processed.");
    }

    super.setProperties(component);

    UIXComponent uixComponent = (UIXComponent) component;

    if (_attributeChangeListener != null)
    {
      uixComponent.setAttributeChangeListener(_attributeChangeListener);
    }

    setProperties(uixComponent.getFacesBean());
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXComponent

    @Override
    @SuppressWarnings("deprecation")
    public void applyMetadata(FaceletContext ctx, Object instance)
    {
      ValueExpression expr = _attribute.getValueExpression(ctx, String.class);
      UIXComponent uixcomp = (UIXComponent) instance;
      FacesBean bean = uixcomp.getFacesBean();
      PropertyKey mainKey = bean.getType().findKey(_mainMethodName);
      if (mainKey == null)
        throw new TagAttributeException(_attribute,
                                        "No support for '" + _mainMethodName +
                                        "' attribute on " + instance);
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.