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 am actually trying to make a taglib which is responsible to display few lines which are constants (depends on no attributes or content). Actually the last line is a simple html line ("<script>...</script>"), the rest is a call to another tag (this call is always the same call ("<mytag>...</mytag>").
How to make it work ? Here is a part of what I have done:
B'coz the doAfterBody() method returns skip-body by default, therefore,it has not processed the body. implement the doAfterbody and return eval-body-again/buffered. Try it & don't forget to post the result whatever u got.
Joined: Jun 07, 2004
First I would like to thank you a lot for spending a little time to help me.
Actually I have tried to in fact return EVAL_BODY_BUFFERED it displays in my HMTL generated page: <mytag>...</mytag> <script>...</script>
This is better but the tag <mytag> is not translated... Do you have an idea how to make it translated ?
Thanks again for your precious help, Adri
Joined: Jul 14, 2004
Explain ur problems clearly...its hard to understnd..make it more clear