/** * Tag interface * @param output destination for xml output * @throws MissingAttributeException when the test attribute is missing * @throws Exception for anything else */ public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (test != null) { try { while (test.evaluateAsBoolean(getContext())) { if (log.isDebugEnabled()) { log.debug("evaluated to true! gonna keep on chuggin!"); } invokeBody(output); } } catch (BreakException e) { if (log.isDebugEnabled()) { log.debug("loop terminated by break: " + e, e); } } } else { throw new MissingAttributeException("test"); } }
/** * Tag interface * @param output destination for xml output * @throws MissingAttributeException when the test attribute is missing * @throws Exception for anything else */ public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (test != null) { try { while (test.evaluateAsBoolean(getContext())) { if (log.isDebugEnabled()) { log.debug("evaluated to true! gonna keep on chuggin!"); } invokeBody(output); } } catch (BreakException e) { if (log.isDebugEnabled()) { log.debug("loop terminated by break: " + e, e); } } } else { throw new MissingAttributeException("test"); } }
/** * Tag interface * @param output destination for xml output * @throws MissingAttributeException when the test attribute is missing * @throws Exception for anything else */ public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (test != null) { try { while (test.evaluateAsBoolean(getContext())) { if (log.isDebugEnabled()) { log.debug("evaluated to true! gonna keep on chuggin!"); } invokeBody(output); } } catch (BreakException e) { if (log.isDebugEnabled()) { log.debug("loop terminated by break: " + e, e); } } } else { throw new MissingAttributeException("test"); } }
/** * Tag interface * @param output destination for xml output * @throws MissingAttributeException when the test attribute is missing * @throws Exception for anything else */ public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (test != null) { try { while (test.evaluateAsBoolean(getContext())) { if (log.isDebugEnabled()) { log.debug("evaluated to true! gonna keep on chuggin!"); } invokeBody(output); } } catch (BreakException e) { if (log.isDebugEnabled()) { log.debug("loop terminated by break: " + e, e); } } } else { throw new MissingAttributeException("test"); } }