2 Replies Latest reply on Jun 27, 2012 5:10 AM by Rajan.Panchal


      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-Oracle
          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.
          1 person found this helpful
          • 2. Re: OnApplyTemplatesHandler
            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 rajan.panchal24@gmail.com?
            I am not aware how to code a helper class and modifying the session data into onapplytemplateshandler.