@Override public boolean getCreated() { return target.getCreated(); }
@Override public boolean getCreated() { // NOPMD return classicDelegate.getCreated(); }
public boolean getCreated() { return classicDelegate.getCreated(); }
@Override public boolean getCreated() { // NOPMD return classicDelegate.getCreated(); }
@Override public boolean getCreated() { // NOPMD return classicDelegate.getCreated(); }
@Override public boolean getCreated() { // NOPMD return classicDelegate.getCreated(); }
@Override public boolean getCreated() { // NOPMD return classicDelegate.getCreated(); }
public boolean getCreated() { return classicDelegate.getCreated(); }
public boolean getCreated() { return classicDelegate.getCreated(); }
@Override public int doStartTag() throws JspException { UIComponentClassicTagBase componentTag = UIComponentELTag.getParentUIComponentClassicTagBase(pageContext); if (componentTag == null) { throw new JspException("no parent UIComponentTag found"); } if (!componentTag.getCreated()) { return Tag.SKIP_BODY; } Validator validator = createValidator(); UIComponent component = componentTag.getComponentInstance(); if (component == null) { throw new JspException("parent UIComponentTag has no UIComponent"); } if (!(component instanceof EditableValueHolder)) { throw new JspException("UIComponent is no EditableValueHolder"); } ((EditableValueHolder)component).addValidator(validator); return Tag.SKIP_BODY; }
@Override public int doStartTag() throws JspException { UIComponentClassicTagBase componentTag = UIComponentELTag.getParentUIComponentClassicTagBase(pageContext); if (componentTag == null) { throw new JspException("no parent UIComponentTag found"); } if (!componentTag.getCreated()) { return Tag.SKIP_BODY; } UIComponent component = componentTag.getComponentInstance(); if (component == null) { throw new JspException("parent UIComponentTag has no UIComponent"); } if (!(component instanceof ValueHolder)) { throw new JspException("UIComponent is no ValueHolder"); } Converter converter = createConverter(); ((ValueHolder)component).setConverter(converter); return Tag.SKIP_BODY; }
@Override public int doStartTag() throws JspException { UIComponentClassicTagBase componentTag = UIComponentClassicTagBase.getParentUIComponentClassicTagBase(pageContext); if (componentTag == null) { throw new JspException("no parent UIComponentTag found"); } if (!componentTag.getCreated()) { return Tag.SKIP_BODY; } Converter converter = createConverter(); UIComponent component = componentTag.getComponentInstance(); if (component == null) { throw new JspException("parent UIComponentTag has no UIComponent"); } if (!(component instanceof ValueHolder)) { throw new JspException("UIComponent is no ValueHolder"); } ((ValueHolder)component).setConverter(converter); return Tag.SKIP_BODY; }
public int doStartTag() throws JspException { UIComponentClassicTagBase componentTag = UIComponentELTag.getParentUIComponentClassicTagBase(pageContext); if (componentTag == null) { throw new JspException("no parent UIComponentTag found"); } if (!componentTag.getCreated()) { return Tag.SKIP_BODY; } UIComponent component = componentTag.getComponentInstance(); if (component == null) { throw new JspException("parent UIComponentTag has no UIComponent"); } if (!(component instanceof ValueHolder)) { throw new JspException("UIComponent is no ValueHolder"); } Converter converter = createConverter(); ((ValueHolder)component).setConverter(converter); return Tag.SKIP_BODY; }
public int doStartTag() throws JspException { UIComponentClassicTagBase componentTag = UIComponentClassicTagBase.getParentUIComponentClassicTagBase(pageContext); if (componentTag == null) { throw new JspException("no parent UIComponentTag found"); } if (!componentTag.getCreated()) { return Tag.SKIP_BODY; } Converter converter = createConverter(); UIComponent component = componentTag.getComponentInstance(); if (component == null) { throw new JspException("parent UIComponentTag has no UIComponent"); } if (!(component instanceof ValueHolder)) { throw new JspException("UIComponent is no ValueHolder"); } ((ValueHolder)component).setConverter(converter); return Tag.SKIP_BODY; }
public int doStartTag() throws javax.servlet.jsp.JspException { UIComponentClassicTagBase componentTag = UIComponentELTag.getParentUIComponentClassicTagBase(pageContext); if (componentTag == null) { throw new JspException("no parent UIComponentTag found"); } if (!componentTag.getCreated()) { return Tag.SKIP_BODY; } Validator validator = createValidator(); UIComponent component = componentTag.getComponentInstance(); if (component == null) { throw new JspException("parent UIComponentTag has no UIComponent"); } if (!(component instanceof EditableValueHolder)) { throw new JspException("UIComponent is no EditableValueHolder"); } ((EditableValueHolder)component).addValidator(validator); return Tag.SKIP_BODY; }
@Override public int doStartTag() throws JspException { if (log.isLoggable(Level.FINE)) log.fine("JSF 1.2 Spec : Create a new instance of the ActionListener"); ActionListener actionListener = new SetPropertyActionListener(target, value); UIComponentClassicTagBase tag = UIComponentClassicTagBase.getParentUIComponentClassicTagBase(pageContext); if (tag == null) throw new JspException("Could not find a " + "parent UIComponentClassicTagBase ... is this " + "tag in a child of a UIComponentClassicTagBase?"); if (tag.getCreated()) { UIComponent component = tag.getComponentInstance(); if (component == null) throw new JspException(" Could not locate a UIComponent " + "for a UIComponentClassicTagBase w/ a " + "JSP id of " + tag.getJspId()); if (!(component instanceof ActionSource)) throw new JspException("Component w/ id of " + component.getId() + " is associated w/ a tag w/ JSP id of " + tag.getJspId() + ". This component is of type " + component.getClass() + ", which is not an " + ActionSource.class); if (log.isLoggable(Level.FINE)) log.fine(" ... register it with the UIComponent " + "instance associated with our most immediately " + "surrounding UIComponentTagBase"); ((ActionSource)component).addActionListener(actionListener); } return SKIP_BODY; }
@Override public int doStartTag() throws JspException { if (log.isLoggable(Level.FINE)) log.fine("JSF 1.2 Spec : Create a new instance of the ActionListener"); ActionListener actionListener = new SetPropertyActionListener(target, value); UIComponentClassicTagBase tag = UIComponentClassicTagBase.getParentUIComponentClassicTagBase(pageContext); if (tag == null) throw new JspException("Could not find a " + "parent UIComponentClassicTagBase ... is this " + "tag in a child of a UIComponentClassicTagBase?"); if (tag.getCreated()) { UIComponent component = tag.getComponentInstance(); if (component == null) throw new JspException(" Could not locate a UIComponent " + "for a UIComponentClassicTagBase w/ a " + "JSP id of " + tag.getJspId()); if (!(component instanceof ActionSource)) throw new JspException("Component w/ id of " + component.getId() + " is associated w/ a tag w/ JSP id of " + tag.getJspId() + ". This component is of type " + component.getClass() + ", which is not an " + ActionSource.class); if (log.isLoggable(Level.FINE)) log.fine(" ... register it with the UIComponent " + "instance associated with our most immediately " + "surrounding UIComponentTagBase"); ((ActionSource)component).addActionListener(actionListener); } return SKIP_BODY; }
"tag in a child of a UIComponentClassicTagBase?"); if(tag.getCreated())
if (!tag.getCreated()) { return (SKIP_BODY);