On Thu, 2004-07-22 at 13:43, Craig McClanahan wrote:
> On Thu, 22 Jul 2004 10:33:35 -0400, David Evans <[EMAIL PROTECTED]> wrote:
> > Thanks for the input. i can see what you mean about the conditionals and
> > looping looking cleaner. but the ease of use of sticking any kind of
> > java object in the context and calling out its properties by
> > $object.property or $object.nestedObject.property is the part of
> > velocity that i think is cleaner. tastes vary.
> > 
> 
> Note that JSP 2.0 provides essentially the same thing anywhere in
> template text, not just in tag attributes ... the only difference is
> you need curly braces around the expressions:
> 
>   <p>Hello ${customer.name},</p>
> 
>   <p>Your account balance is ${customer.account.total} and
>    was due on ${customer.account.dueDate}.  Pay up or else!</p>
> 
>   <p>Your friendly accounts receiveable team</p>
> 
> > dave
> 
> Craig

Thanks, i didn't know that. Velocitys other big sellling point to me is
that i can use it during an action's execution, for instance, to create
files on disc. theres no way to do that with jsp is there? cause having
the one template language for all my needs is nice.

dave


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

Reply via email to