on 2008 Sep 24 5:39 AM
Hi all,
I want to show date and time fields in my application.But the problem here is how to show the label as given below in webdynpro
StartDate:----
(YYYY/MM/DD)
Start TIme:-------
(HH:MM)
and for date filed to get the calander i am using date Type
but wat is the field type for Time
Regards
Padma N
Hi
say for ex.
you have to show like this:::
lable1 Value1
then for your case,
take a transparent container(TC) with gridlayout and colomn count 1
add two lable element to this TC.
now
you dipla y like this...
TC value1
So that your
TC holds two lables like this
(label1)StartDate:----
(label2)(YYYY/MM/DD)
Regards,
Srinivas
Edited by: srinivas sistu on Sep 24, 2008 11:29 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Padma,
Your question is not clear. "but wat is the field type for Time".
What i think is :-
if you are representing Time field with Context Attribute, then you can bind the property Type of that Attribute as TIME type.
if you want to retrieve time then as said above you can use Datetype.getTime(), but it returns long. so you need to work on Conversion of Date types. Let me know if you need any other clarification or else close the thread if this satifies your requirements.
Regards
Raghunandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For the Time, you try using the Date type or Calender type and get the Time from them.like datetype.getTime();
Thanks,
Np
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
refer the following doc.
Implementing a Calendar in Web Dynpro Java
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
11 | |
10 | |
10 | |
9 | |
7 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.