Re: comparing two dates using use-when

2010-12-08 Thread Jacques Le Roux
the actions in a wrong place? does anyone have any suggestion to use different submit buttons and different targets based on product status? -- View this message in context: http://ofbiz.135035.n4.nabble.com/comparing-two-dates-using-use-when-tp306p3077804.html Sent from the OFBiz - User

Re: comparing two dates using use-when

2010-12-07 Thread Shereen
-dates-using-use-when-tp306p3077804.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: comparing two dates using use-when

2010-12-06 Thread Ravindra Mandre
this message in context: http://ofbiz.135035.n4.nabble.com/comparing-two-dates-using-use-when-tp306p3074040.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: comparing two dates using use-when

2010-12-05 Thread Shereen
) at org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:837) at org.ofbiz.widget.screen.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:840) -- View this message in context: http://ofbiz.135035.n4.nabble.com/comparing-two-dates-using-use-when

Re: comparing two dates using use-when

2010-12-05 Thread Adrian Crum
Remove the $ and curly brackets. -Adrian --- On Sun, 12/5/10, Shereen sheri_ash...@hotmail.com wrote: From: Shereen sheri_ash...@hotmail.com Subject: Re: comparing two dates using use-when To: user@ofbiz.apache.org Date: Sunday, December 5, 2010, 6:54 AM Hi All Please all I need help

Re: comparing two dates using use-when

2010-12-05 Thread Ravindra Mandre
sheri_ash...@hotmail.com wrote: From: Shereen sheri_ash...@hotmail.com Subject: Re: comparing two dates using use-when To: user@ofbiz.apache.org Date: Sunday, December 5, 2010, 6:54 AM Hi All Please all I need help on using the use-when attribute I've made a product status field

Re: comparing two dates using use-when

2010-12-05 Thread Shereen
Thanks a lot for your replies Unfortunately both solutions didn't work for me Any more suggestions? -- View this message in context: http://ofbiz.135035.n4.nabble.com/comparing-two-dates-using-use-when-tp306p3074040.html Sent from the OFBiz - User mailing list archive at Nabble.com.

comparing two dates using use-when

2010-11-09 Thread soumya jyoti guru
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

Re: comparing two dates using use-when

2010-11-09 Thread Bilgin Ibryam
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;Nquot;.equals(isPosted) On Tue, Nov 9, 2010 at 9:00 AM, soumya jyoti guru somu.gur...@gmail.comwrote: Hi

Re: comparing two dates using use-when

2010-11-09 Thread soumya jyoti guru
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

Re: comparing two dates using use-when

2010-11-09 Thread Bilgin Ibryam
On Tue, Nov 9, 2010 at 9:58 AM, soumya jyoti guru somu.gur...@gmail.comwrote: 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

Re: comparing two dates using use-when

2010-11-09 Thread Ravindra Mandre
Hi soumya , There are examples available in in the Example components for the same purpose , please take a look in example forms. HTH Ravindra Mandre On Tue, Nov 9, 2010 at 4:02 PM, Bilgin Ibryam bibr...@gmail.com wrote: On Tue, Nov 9, 2010 at 9:58 AM, soumya jyoti guru somu.gur...@gmail.com