[ 
https://issues.apache.org/jira/browse/VELOCITY-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628292#action_12628292
 ] 

Claude Brisson commented on VELOCITY-437:
-----------------------------------------

You at least have the Renderable interface, now.
I needed it to allow #defined references to still use a writer when rendered 
(while also having a normal toString() method).

The funny thing is I re-read all this thread afterwards :-)



> Intercept output of objects
> ---------------------------
>
>                 Key: VELOCITY-437
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-437
>             Project: Velocity
>          Issue Type: New Feature
>          Components: Engine
>    Affects Versions: 1.4
>            Reporter: Ståle Undheim
>            Priority: Minor
>         Attachments: valuewriter.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to