Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357826

Summary: DateTimeLib.currentDate cannot be resolved when DojoCalendar dropped in RUIHandler
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Huang Ji Yong <hjiyong>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, mheitz, pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-09-15 11:16:14 EDT
Build Identifier: 20110915

Drop a DojoCalendar widget in a RUIHandler.
There's an error in the code.

myCalendar DojoCalendar{ layoutData = new GridLayoutData{ row = 1, column = 2 }, value = DateTimeLib.currentDate() };

IWN.VAL.6619.e 19/106 mywebproject - DateTimeLib.currentDate cannot be resolved.


Reproducible: Always
Comment 1 Huang Ji Yong CLA 2011-09-21 04:43:27 EDT
Hi Paul,
Is there or do we plan to add any equivalent method of currentDate to DateTimeLib?
Comment 2 Matt Heitz CLA 2011-09-21 08:02:52 EDT
Ji Yong, we're not going to have that function anymore.  The replacement is simply "new date".
Comment 3 Huang Ji Yong CLA 2011-09-27 04:05:52 EDT
Change the template of DojoCalendar, DojoDateTextBox, DojoTimeTextBox
Comment 4 broy2 CLA 2011-09-27 12:34:30 EDT
Verified in 20110927 build.