if (stack.isDying() || (!stack.isEmpty() && context.getCurrentEntityContext().isReturning())) { return null;
/** * Call the execute() method of all children tags in order. * * @param context * the execution context. * @return the execution result. */ protected ChildrenResultList executeChildren(Context context) { int index = 0; Stack stack = context.getStack(); ChildrenResultList result = new ChildrenResultList(1); for (ITag tag : getChildren()) { if (stack.isDying()) { return null; } if (!stack.isEmpty() && context.getCurrentEntityContext().isReturning()) { break; } result.add(executeChild(tag, index++, context)); } return result; }