On 9/9/05, Scott Edward Skinner <[EMAIL PROTECTED]> wrote:
> Can you define local variables in Velocity--variables that do not
> reference anything from the controller?

yes.  #set( $foo = "hello world!" )

> Can you perform concatenation within a macro call. For example...
> 
> #someMacro($request.getContextPath() + "/static")

not like that.  do this:

#someMacro( "${request.contextPath}/static" )

> S     |\_._/|     .-.
> E     | o o |_   / /
> S   _.(  T  ) `./ /
> ---(((-`-(((---------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to