/** * Processes the <CODE>param</CODE> tag. * @return <CODE>SKIP_BODY</CODE> */ public int doStartTag() throws JspException { BaseURLTag urlTag = (BaseURLTag) findAncestorWithClass(this, BaseURLTag.class); if (urlTag == null) { throw new JspException( "the 'property' Tag must have a actionURL, renderURL " + "or resourceURL tag as a parent"); } urlTag.addProperty(getName(), getValue()); return SKIP_BODY; }
/** * Processes the <CODE>param</CODE> tag. * @return <CODE>SKIP_BODY</CODE> */ public int doStartTag() throws JspException { BaseURLTag urlTag = (BaseURLTag) findAncestorWithClass(this, BaseURLTag.class); if (urlTag == null) { throw new JspException( "the 'property' Tag must have a actionURL, renderURL " + "or resourceURL tag as a parent"); } urlTag.addProperty(getName(), getValue()); return SKIP_BODY; }