This is related to Bug #24133 and concerns the macro in index.vm of the
logon example (number 3) in the velstruts example war file from Velocity
Tools version 1.0

When I rename the global macro library (VM_global_library.vm) or by some
means prevent it from loading, and then run through the example, the
username/password error that normally appears when you do not enter anything
and simply click 'submit' does not show up. The macro that does this is
available in two places, the global library, and index.vm. The only
difference between them is the change I made below:

By changing the macro in index.vm to use '#if ($errors.exist() )' as opposed
to the current '#if ($errors.exist )', the example works. I am not an
experienced Velocity user so I may be missing something obvious here, but
isn't that strange? I cannot reproduce the error using a more simple test
case.

Suggestions/Ideas, or is more info needed?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to