Is there a way that I can pretty much use a tag within a tag.
Specifically, I would like to get the value from a bean:message tag and put it into my own custom tag. It would look something like this:
however, when I do try doing this it does not evaluate the inner tag before it's passed in. Can I even get it to do that?
posted 13 years ago
alright, ell sort of solved my own problem on this one. Perhaps it can help someone else. Rather than figuring it out in this way I pretty much borrowed the source code from the bean utils tag lib and put it into my custom tag.
this line specifically:
obtained by looking up the source on the Apache site my setting are general enough that I can use the Globals to fill in the variable spaces here. I catch for a resource missing exception tag as they're does and if I get something back I use it as I intended.