You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@apache.org> on 2006/10/29 21:43:17 UTC

[jira] Commented: (VELOCITY-468) Allowing putting objects into control context from VTL

    [ http://issues.apache.org/jira/browse/VELOCITY-468?page=comments#action_12445456 ] 
            
Henning Schmiedehausen commented on VELOCITY-468:
-------------------------------------------------

That patch is actually just a band-aid to texen. The whole thing should either be rewritten or go (IMHO). There are newer solutions (i.e. the one in maven-2) that are much more versatile than the aged texen thing. 



> Allowing putting objects into control context from VTL
> ------------------------------------------------------
>
>                 Key: VELOCITY-468
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-468
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Texen
>    Affects Versions: 1.4
>            Reporter: Mojmir Hanes
>            Priority: Minor
>             Fix For: 1.6
>
>         Attachments: Generator.java.diff
>
>
> I think it would be nice to allow putting objects into control context in VTL. 
> The motivation is straightforward - in some cases you need to put more than one object into context before parsing particular template, so method org.apache.velocity.texen.parse(String inputTemplate, String outputFile, String objectID,Object object) doesn't match your need. 
> What do you think ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org