posted 15 years ago
Hello,
I have a Spring project where I'm trying to get the password <input> to match the Velocity macro that was defined, but I'm new to velocity.
The Macro looks like this:
#macro(passwordInput, $path, $attributes)
#springBind($path)
<input type = "password" id="${status.expression}" name="${status.expression}" value="${attributes}" />
#end
So, given this macro definition, how would you write a password input field in the '.vm' file?
Assume the password class has two fields: p1, and p1 for the two passwords that the user would need to enter to change his password.
Thanks very much in advance.
M