• Post Reply Bookmark Topic Watch Topic
  • New Topic

Execute code on tag closure?  RSS feed

 
Gili Tzabari
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using JSP tag files (.tagx more specifically) and I want to execute close when my tag is closed. That is, given:

<MyTag>
someBody
</MyTag>

I can already execute code on <MyTag>, but how do I execute some other piece of code for </MyTag>?

Thanks,
Gili
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66149
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure it's after the tag file's <jsp:doBody/> action.
 
Gili Tzabari
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This will likely work, thank you! Unless I reply again, you can assume I got it working.

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