/** * Executes the body of the tag and returns the result as a String. * * @return the text evaluation of the body */ protected String getBodyText() throws JellyTagException { return getBodyText(escapeText); }
/** * Executes the body of the tag and returns the result as a String. * * @return the text evaluation of the body */ protected String getBodyText() throws JellyTagException { return getBodyText(escapeText); }
/** * Executes the body of the tag and returns the result as a String. * * @return the text evaluation of the body */ protected String getBodyText() throws JellyTagException { return getBodyText(escapeText); }
/** * Executes the body of the tag and returns the result as a String. * * @return the text evaluation of the body */ protected String getBodyText() throws JellyTagException { return getBodyText(escapeText); }
/** * Evaluates this tag after all the tags properties have been initialized. * */ public void doTag(XMLOutput output) throws JellyTagException { MessageTag parent = null; Tag t = findAncestorWithClass(this, MessageTag.class); if (t != null) { parent = (MessageTag) t; } else { // must be nested inside a <fmt:message> action. throw new JellyTagException("must be nested inside a <fmt:message> action."); } Object valueInput = null; if (this.value != null) { valueInput = this.value.evaluate(context); } else { // get value from body valueInput = getBodyText(); } parent.addParam(valueInput); }
keyInput = getBodyText();