Results 1 to 2 of 2

Thread: Configuring Event Handlers For Velocity

  1. #1
    Join Date
    Aug 2004
    Location
    New York, NY
    Posts
    46

    Default Configuring Event Handlers For Velocity

    I have some templates, that during the course of their rendering, can cause various exceptions. After looking at the Velocity Docs, it appears I can add a handler for these Exception Events via the EventCartridge and passing that EventCartidge a VelocityContext object.

    I'm currently using VelocityViewResolver and I was wondering if I'm going to have to subclass it to add my EventHandler or if there was some callback from Spring, or a property I could set to achieve this?

    Thanks in advance,
    Patrick

  2. #2
    Join Date
    Sep 2004
    Location
    Oslo, Norway
    Posts
    17

    Default Any solution for this?

    Hi,

    I have the same issue. Anyone figured it out?

    --
    Best regards,
    Kristian

Similar Threads

  1. Event Pubilshing
    By belaran in forum Container
    Replies: 1
    Last Post: May 7th, 2006, 12:26 PM
  2. Generalizing context event support?
    By jbetancourt in forum Container
    Replies: 0
    Last Post: Sep 4th, 2005, 09:49 AM
  3. Event parameter usage
    By akw in forum Web Flow
    Replies: 1
    Last Post: Aug 28th, 2005, 02:50 AM
  4. Loosing my SecureContext
    By sklakken in forum Security
    Replies: 3
    Last Post: Jul 21st, 2005, 01:44 PM
  5. Event on access to a bean
    By belaran in forum Container
    Replies: 5
    Last Post: Jul 5th, 2005, 04:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •