Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-437

Intercept output of objects

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.6
    • Engine
    • None

    Description

      Currently, all reference objects in a Velocity template file are put out using the objects toString method, with no means to control this mechanism. I propose to change this by having interceptors that can pick up variables before they are run .toString on, and write them using their own means instead.

      If I figure out how to attach files to this after posting, I will add a patch with all the code necessary to implement this.

      Attachments

        1. valuewriter.patch
          48 kB
          Ståle Undheim

        Activity

          People

            Unassigned Unassigned
            staaleu@coretrek.com Ståle Undheim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: