cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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 ??

0 Likes
View Entire Topic
susmita_panigrahi
Active Participant
0 Likes

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