Manually calling a BodyTagSupport tag from inside another custom tag.
posted 7 years ago
I'm using a Spring ErrorsTag to display stuff, and calling it from a BodyTagSupport tag I wrote (ErrorsTagWrapper extends BodyTagSupport).
That wrapper is only doing String substitution.
Now, the question I have and can't find documentation for. My ErrorsTagWrapper is called from another piece of Java. Should I be calling doAfterBody()? How do you programatically call a BodyTagSupport tag from Java, instead of JSP?