cancel
Showing results for 
Search instead for 
Did you mean: 

DateNavigator format

Former Member
0 Kudos

Dear Experts,

I am creating a Java Web Dynpro page that contains a DateNavigator.

However, I don't want to display the detailed week days information such as Monday, Tuesday, ... etc. I only want to display the title like the following: < October 2007 >

if I click on <, the time goes to September 2007....

If I click on >, the date goes to November 2007....

What kind of element should I choose?

Thanks,

AnnaS.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Anna,

Create a context attribute of type date and bind this to an input field at runtime you will be able to see that matches your requirement.

Steps

1) Create a context attribute of type Date

2) Create a InputField as part of your view.

3) bind the attribute to the value property of the inputfield

4) Save and run your application.

Regards

Ayyapparaj

Former Member
0 Kudos

Thanks for your inputs.

Binding a date attribute doesn't work as a title of Calendar. I want to move the calendar one month

earlier when clicking on the arrow on the left, or one month next when clicking on the arrow on the right.

I think I can do it manually, but I need to have two arrow images. The simple way is to use the existing element

such as DateNavigator without the bottom part.

Thanks,

AnnaS

Answers (1)

Answers (1)

former_member192434
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Anup,

Thanks for your reply.

I actually just want to have the title of the Calendar similar to

< 0ctober 2007 >.

If I click on < , it goes one month earlier.

If I click on >, it goes one month next.

Thanks,

AnnaS

former_member192434
Active Contributor
0 Kudos

Hi Anna,

When you use DateNavigator it has two default Navigation buttion left and reight Navigation button, when you click on it display privous and next month.

But i'm not sure that you can override the defualt behaiour of DateNavigator.

For more you set Accessibility of a Web Dynpro Application

http://help.sap.com/saphelp_erp2005/helpdata/en/19/e64941bfb4de2be10000000a1550b0/frameset.htm

Thanks