yes got it thanks. -- Prathap
On Thu, Jul 3, 2008 at 6:44 PM, Jean-Vincent Drean <[EMAIL PROTECTED]> wrote: > On Thu, Jul 3, 2008 at 2:43 PM, Prathap Pandian > <[EMAIL PROTECTED]> wrote: > > #set($username=$context.user) > > #if($username.equals(todoObj.Assignee)) > > #end > > There's a missing $ before todoObj. > > Thanks to velocity you can also do : > > #if ($context.user == $todoObj.Assignee) > #end > > -- > Jean-Vincent Drean > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

