Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Manually calling a BodyTagSupport tag from inside another custom tag.  RSS feed

Dean Jackson
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!