Package com.sun.facelets.tag

Examples of com.sun.facelets.tag.TagAttributeException


            {
                method.invoke(instance, this.value);
            }
            catch (InvocationTargetException e)
            {
                throw new TagAttributeException(this.attribute, e.getCause());
            }
            catch (Exception e)
            {
                throw new TagAttributeException(this.attribute, e);
            }
        }
View Full Code Here


                {
                    c.setDestType(org.apache.myfaces.commons.util.ClassUtils.classForName(this.destType.getValue()));
                }
                catch (ClassNotFoundException e)
                {
                    throw new TagAttributeException(this.destType,"Cannot find class assigned: "+this.destType.getValue(),e);
                }
            }
            else
            {
                c.setDestType((Class) this.destType.getObject(ctx, Class.class));
View Full Code Here

                {
                    c.setTargetClass(org.apache.myfaces.commons.util.ClassUtils.classForName(this.targetClass.getValue()));
                }
                catch (ClassNotFoundException e)
                {
                    throw new TagAttributeException(this.targetClass,"Cannot find class assigned: "+this.targetClass.getValue(),e);
                }
            }
            else
            {
                c.setTargetClass((Class) this.targetClass.getObject(ctx, Class.class));
View Full Code Here

                CategoryAxisLabelPosition.class, attribute.getValue(), CategoryAxisLabelPosition.STANDARD, "position");
        try {
            method.invoke(instance, new Object[]{position});
        }
        catch (InvocationTargetException e) {
            throw new TagAttributeException(attribute, e.getCause());
        }
        catch (Exception e) {
            throw new TagAttributeException(attribute, e);
        }
    }
View Full Code Here

                ChartDomain.class, attribute.getValue(), ChartDomain.BOTH, "domain");
        try {
            method.invoke(instance, d);
        }
        catch (InvocationTargetException e) {
            throw new TagAttributeException(attribute, e.getCause());
        }
        catch (Exception e) {
            throw new TagAttributeException(attribute, e);
        }
    }
View Full Code Here

      {
        _method.invoke(instance, _params);
      }
      catch (InvocationTargetException e)
      {
        throw new TagAttributeException(_attribute, e.getCause());
      }
      catch (Exception e)
      {
        throw new TagAttributeException(_attribute, e);
      }
    }
View Full Code Here

        _method.invoke(instance,
                       new Object[]{new LegacyMethodBinding(expr)});
      }
      catch (InvocationTargetException e)
      {
        throw new TagAttributeException(_attribute, e.getCause());
      }
      catch (Exception e)
      {
        throw new TagAttributeException(_attribute, e);
      }
    }
View Full Code Here

        _method.invoke(instance,
                       new Object[]{expr});
      }
      catch (InvocationTargetException e)
      {
        throw new TagAttributeException(_attribute, e.getCause());
      }
      catch (Exception e)
      {
        throw new TagAttributeException(_attribute, e);
      }
    }
View Full Code Here

      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);
      PropertyKey accessKeyKey = bean.getType().findKey("accessKey");
      if (accessKeyKey == null)
        throw new TagAttributeException(_attribute,
                                        "No support for 'accessKey' attribute on " + instance);
      VirtualAttributeUtils.setAccessKeyAttribute(bean, expr, mainKey, accessKeyKey);
    }
View Full Code Here

          _accessKeyMethod.invoke(instance, _accessKey);
        _mainMethod.invoke(instance, _text);
      }
      catch (InvocationTargetException e)
      {
        throw new TagAttributeException(_attribute, e.getCause());
      }
      catch (Exception e)
      {
        throw new TagAttributeException(_attribute, e);
      }
    }
View Full Code Here

TOP

Related Classes of com.sun.facelets.tag.TagAttributeException

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.