thanks for replying,
                             but in my case it is not working because
the currentDate is in the form of timestamp and the startDate is in
the form of Date-time.sorry to miss this important details in my
earlier question.
                             Thanks again,  for replying back.Please
reply back if  there is any other way out.


On Tue, Nov 9, 2010 at 2:58 PM, Bilgin Ibryam <[email protected]> wrote:
> I haven't used the groovy sysntax yet, instead I use java (actually
> beanshell) syntax.
> In your case it should be something like:
>
> use-when="${currentDate.after(startDate)}"
>
> HTH
> Bilgin
>
> &quot;N&quot;.equals(isPosted)
>
> On Tue, Nov 9, 2010 at 9:00 AM, soumya jyoti guru 
> <[email protected]>wrote:
>
>> Hi all,
>>       I have problem of comparing two dates using use-when.I am
>> working in a list form where a field is needed to do multiple task
>> according to the condition set in use-when.
>>       Now i am trying to compare the startDate with the current date
>> in another field which serves multiple purpose using use-when, but the
>> problem is that i don't know the write syntax which serves the
>> purpose.Could any body provide me the write syntax of doing so.I tried
>> a groovy kind of thing (use-when="${groovy:currentDate>startDate}")
>> which returns the value of the condition as true all the time and the
>> purpose of use-when is not fulfilled.
>>         Eagerly waiting for  the solution.
>> With Regads
>> Soumya
>>
>

Reply via email to