This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I would like to change the unevaluated body content of the tag and alter it and let it evaluate.
<lib:tag2 attribute1="something" attribute2="something" etc />
I have it this way and it does not work.
Tag1 extends BodyTagSupport, if I try to get the body content in the doInitBody, it is empty. If I get it in doAfterBody, it is already evaluated.
I really would like to take the content (I mean the <lib:tag2 .../>) and add/remove few more attributes conditionally and let it evaluate.
Can you help me?
Joined: Jul 14, 2004
I think it is not possible as I read in the documentation. Nested tag's contents will be processed before handing over to the enclosing tag.
I am going to try to modify the processed content conditionally.
Please let me know if I need to understand anything.