Dear Wiki user, You have subscribed to a wiki page or wiki category on "Velocity Wiki" for change notification.
The following page has been changed by TimWhite: http://wiki.apache.org/jakarta-velocity/VelocityDebuggingTemplate ------------------------------------------------------------------------------ Tim White Here is the latest version, which uses the ContextTool. You must have access to the Context Tool as $context for this to work. There is a version below this that does not require that. This newer version also removes any variables that are invalid VTL. + + To use, either add this pair of macros to your template, or better yet, to your VM_Global_Library.vm file. Then from the template you want to debug, you can simply add #showDebugPopup() to the bottom of the template you want to debug, and it will pop up a window with debugging information. You'll need to remove that invocation before you go to production. :) {{{ ## --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
