Velocimacro Template Library
Is it possible to take advantage of the velocimacro.library property of velocity.properties to create a library of commonly used macros? If not, I would love to hear how others are reusing macros across all of their Velocity templates.
For reference,see the "Velocimacro Properties" section of the following guide.
https://velocity.apache.org/engine/releases/velocity-1.7/user-guide...
I appreciate it!
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ryan Griffith on 26 Mar, 2014 03:03 PM
Hi,
Currently it is not possible to modify the Velocity properties and settings. This does sound interesting; however, and I would highly recommend posting this on our Idea Exchange for others to vote up and/or comment on. Let me know if you need access to the Idea Exchange and I will send over an invitation.
In the meantime, if you are running Cascade Server 7.6+, you can take advantage of the import directive which would allow you to include a Velocity Format that contains commonly used macros.
Please let me know if you have any questions.
Thanks!
2 Posted by mzolton on 26 Mar, 2014 03:14 PM
Thanks Ryan. That is exactly what I needed to know. I will post this on the Idea Exchange.
mzolton closed this discussion on 26 Mar, 2014 03:14 PM.