[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]