[ http://issues.apache.org/jira/browse/VELTOOLS-10?page=all ]

Tim Colson moved VELOCITY-217 to VELTOOLS-10:
---------------------------------------------

      Project: VelocityTools  (was: Velocity)
          Key: VELTOOLS-10  (was: VELOCITY-217)
    Component:     (was: Tools)
      Version:     (was: 1.0-Release)

> Macro in velstruts example 3 (velocity) is missing ()
> -----------------------------------------------------
>
>          Key: VELTOOLS-10
>          URL: http://issues.apache.org/jira/browse/VELTOOLS-10
>      Project: VelocityTools
>         Type: Bug
>  Environment: Operating System: All
> Platform: All
>     Reporter: Jim Roycroft
>     Priority: Minor

>
> The errorMarkup macro in index.vm in the velocity version of the logon 
> example 
> (3) is missing () on the $errors.exist
> eg:
>         #macro (errorMarkup)
>             #if ($errors.exist )
>                 <ul>
>                 #foreach ($e in $errors.all )
>                     $e
>                 #end
>                 </ul>
>             #end
>         #end                    
>         #errorMarkup()
> should be:
>         #macro (errorMarkup)
>             #if ($errors.exist() )
>                 <ul>
>                 #foreach ($e in $errors.all )
>                     $e
>                 #end
>                 </ul>
>             #end
>         #end                    
>         #errorMarkup()
> The reason this does not pop up in the example is that the global macro 
> defined in VM_global_library.vm is correct, and it overrides the local macro.
> This frustrated me for several hours... good thing it's a quickfix.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to