This discussion is archived
2 Replies Latest reply: Jun 26, 2012 10:10 PM by Rajan.Panchal RSS


Rajan.Panchal Newbie
Currently Being Moderated
How to use this event handler -OnApplyTemplatesHandler ?
What all can be done in this even handler? Can anyone list that can be done by implementing this handler?

  • 1. Re: OnApplyTemplatesHandler
    Ian Clough Explorer
    Currently Being Moderated
    One very useful way to use this is to retrieve some data from the OPA session and add it to the velocity context for display on the screen, this is much easier than trying to navigate the API directly from velocity.

    You could also put helper classes into the velocity context that the templates may find useful in generating the screens.
  • 2. Re: OnApplyTemplatesHandler
    Rajan.Panchal Newbie
    Currently Being Moderated
    Thanks for the information. Can you please provide a working example on each of the above points so that I can experiment with it.
    Please send me the working example to
    I am not aware how to code a helper class and modifying the session data into onapplytemplateshandler.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points