yes got it thanks.
--
Prathap
On Thu, Jul 3, 2008 at 6:44 PM, Jean-Vincent Drean <jv(a)xwiki.com> wrote:
On Thu, Jul 3, 2008 at 2:43 PM, Prathap Pandian
<prathapmeister(a)gmail.com> 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
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs