| Summary: | [DateTime] DateTime widget missing | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Markus Krüger <webmaster> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | aleksander.bandelj, elias, ivan, mamtamantri05, Michal.Tkacz, reinhold.bentele, roberto, rsternberg, stefan.hansel |
| Version: | 1.0 | Keywords: | plan |
| Target Milestone: | 1.2 M2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | plan-version=1.2 plan-theme=extend-rwt plan-status=committed | ||
| Attachments: | |||
|
Description
Markus Krüger
Currently this is not on our high-priority list. If there is time we will implement a Date widget as in SWT 3.3. As always we greatly appreciate contributions. So, if there is someone out there who would like to implement her/his first RWT widget, feel free to state this here. I've started the implementation of DateTime widget. Initial, there is one question arises - what time is used in the widget (client or server time)? Please share you opinion. How about a client time, unless initialized otherwise? This way it will always be possible to set it "manually" to the server time. I think we can ignore the timezone issue. The DateTime widget does not have API that deals with timezome information but only methods to manipulate hours, muntes, etc. This way we can be more general and leave it to the application developer who usually better knows how to handle this. If an initial value is needed when constructing a DateTime widget, we should use the server time for now. It seems to me the simpler and more reliable approach. More complex use cases will probably require to specify a timezone anyway, but that doesn't fall into the responsibility of the DateTime widget. In any case, we should mention this in the JavaDoc. Created attachment 106077 [details]
First version of the DateTime widget. Calendar is not implemented yet.
Created attachment 107127 [details]
Patch without the binary data (images). Calendar is included.
The binary data (images) are removed from the patch.
Put the images from the zip in:
org.eclipse.rap.rwt.q07\js\resource\widget\rap\datechooser
and
org.eclipse.rap.rwt.test.mockup\js\resource\widget\rap\datechooser
Created attachment 107128 [details]
Images used in DateTime widget.
Created attachment 107134 [details]
Patch without the binary data (images). Calendar is included. Bugfixes.
Put the images from the zip in:
org.eclipse.rap.rwt.q07\js\resource\widget\rap\datechooser
and
org.eclipse.rap.rwt.test.mockup\js\resource\widget\rap\datechooser
Created attachment 107194 [details]
Patch without the binary data (images). Calendar is included.
Code refactoring.
Use RWT#getLocale() instead of default locale.
Put the images from the zip in: org.eclipse.rap.rwt.q07\js\resource\widget\rap\calendar and org.eclipse.rap.rwt.test.mockup\js\resource\widget\rap\calendar Created attachment 107578 [details]
Sync the patch with CVS HEAD.
Put the images from the zip in:
org.eclipse.rap.rwt.q07\js\resource\widget\rap\calendar
and
org.eclipse.rap.rwt.test.mockup\js\resource\widget\rap\calendar
We overlloked to close this bug. Changes are already in CVS HEAD. hi all i have seen d files in datetimekit. but i really dont knw hoe to use dis kit in my application which requires a calendar can anybody help me . thanks in advance :) Hi mamta, look at SWT Snippets ( http://www.eclipse.org/swt/snippets/ ). Here is a direct link to the DateTime example: http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet250.java?view=co Created attachment 190739 [details]
calenderDialog
hi i have dis file which opens a calender dialog,so please help me to carry out this in my rap application.. see the attachments please
thanks :)
(In reply to comment #15) > hi i have dis file which opens a calender dialog,so please help me to carry out > this in my rap application.. see the attachments please > thanks :) This is a bug tracking system, not a discussion forum. Posts like these clutter the bugzilla and obstruct the work of our project. Please use the RAP forum to ask questions: http://www.eclipse.org/forums/eclipse.technology.rap ok i m new to this eclipse so i dnt knw i m new to this eclipse so i dnt knw |