Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357826 - DateTimeLib.currentDate cannot be resolved when DojoCalendar dropped in RUIHandler
Summary: DateTimeLib.currentDate cannot be resolved when DojoCalendar dropped in RUIHa...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Huang Ji Yong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 11:16 EDT by broy2 CLA
Modified: 2017-02-23 14:16 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.