Somewhere i read doAfterBody can return EVAL_BODY_BUFFERED if implemented BodyTag.. Even i have flow chart with me but i dont know how to copy here... but in HFSJ and few other places it is given only SKIP_BODY and EVAL_BODY_AGAIN? Which one is correct?
There are only two return type for doAfterBody method SKIP_BODY , EVAL_BODY_AGAIN. ( Actually there are three, but one EVAL_BODY_TAG is deprecated).
The sole purpose of EVAL_BODY_BUFFERED is to activate the mechanism to run the setBodyContent and doInitBody method if required. In the Life cycle these methods are above the doAfterBody method. Also these methods run only one time in the tag invocation. So I think the EVAL_BODY_BUFFERED is not appropriate return type for doAfterBody method.