Hello All,
I want to use java.util.Date in View Context and in Custom Control Context of Web dynpro java. When i mapped of a Input Field to the java.util.Date then message shows that its not supported. Plz suggest me how to handle Date with different formats ??
Request clarification before answering.
Hi
Create a simple data type "DateFormat" in Local Dictionary section of Webdynpro explorer and map the Type property of context attribute to this simple data type.Open the Simple Data type and in the Representation tab of Simple data type you can mention any format(dd.MM.yyyy) and in the Definition tab select the "built in type" as date.
So when you use the context attribute in the code , it will ask you to import the Date package.Select import java.util.Date.
Thanks
Susmita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.