[
https://issues.apache.org/jira/browse/TEXEN-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604403#action_12604403
]
Barrie Treloar commented on TEXEN-11:
-------------------------------------
the default properties should always be available, when you provide a new
"contextProperties" you should be adding to it.
And it definitely should support the context.objects syntax.
By default it should include the velocity tools as well.
This should also be better documented.
It was only looking through the code I noticed that $now was defined for you.
Useless since you can't format it, but better than nothing until DateTools is
included.
> Allow default properties to be overridden; extend contextProperties to
> include context.object.xxxx
> --------------------------------------------------------------------------------------------------
>
> Key: TEXEN-11
> URL: https://issues.apache.org/jira/browse/TEXEN-11
> Project: Texen
> Issue Type: Improvement
> Reporter: Sebb
>
> The default Texen properties are embedded in the jar file and cannot be
> overriden.
> This should be fixed.
> The contextProperties could also be extended to support properties of the
> form context.object.xxx=classname.
> By the way, the construction of the "special" property names is different for
> the two types:
> context.object.xxx uses a prefix, whereas
> yyy.file.contents uses a suffix.
> This should perhaps be addressed.
--
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]