[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[ews.eclipse.technology.rap] Re: SWT DateTime

Hi Ivan,
 Thanks for confirming what I thought I saw.

Some dates need to have a null value until they are set or when they are removed. For instance, if I have a form that I want to be used from X till Y but I don't know when Y is, then they Y date needs to be null. There are plenty of other scenarios like this.

I could put a check beside that datetime widget that enables/disables it. I am currentlly weighing the pro's (i can easily switch from RAP to RCP) and the con's (users will complain and binding will not be straight forward)

Mark


Ivan Furnadjiev wrote:
Hi Mark,

unfortunately the SWT DateTime widget does not allow null values to all fields (day, month, year, hours, minutes, seconds). That's why the RAP implementation will follow the same behavior. I'm just curious... why you need to "null" the date/time?

Best.
Ivan

Mark wrote:
I was thinking about using DateTime now that it looks like it will be supported by RAP. But it there doesn't seem to be a way to 'null' out the date like one can with the Nebula DateChooserCombo. Any ideas? I have some but they are ugly.