cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with DateNavigatorMarking

Former Member
0 Kudos

Good Day Everyone.

I have the following issue:

I'm using a DateNavigator with its corresponding Marking and Legend.

According to what I have read on the forums, I've setup context nodes that

are to contain the data to populate the marking and the legend. I've bound

the corresponding context node attributes to the category, date and

dataSource properties of my DateNavigatorMarking. I've populated this context

nodes on the doInit() method of my view.

However, when I try to deploy my application i get the following error:


Processing HTTP request to servlet [dispatcher] finished with error.

The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:
Property 'date' of DateNavigatorMarking with id 'Marking' in view 'Encabezado' must 
be bound to the context

Any ideas?

I also would like to know why i'm getting a message saying that the type

WDDateMarkingCategory.ONE (TWO,THREE,FOUR) is deprecated. According

to the forums thats the correct way to set the values for category when using the

DateNavigatorMarking.

Thanks a lot for your time and your help.

Francisco.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Francisco,

these are changes that come with NW2004s:

DateMarkingCategory is deprecated, you should use daySemantics; see here:

http://help.sap.com/saphelp_nw2004s/helpdata/en/85/e8773f2fcfa075e10000000a114084/frameset.htm

Instead of IWDDateNavigatorLegend you should use the Legend UI element, it's explained here:

http://help.sap.com/saphelp_nw2004s/helpdata/en/3b/38fd2d7a964645a5417d2a69462ae5/frameset.htm

You can use deprecated properties or UI elements, but you have to keep in mind that they will not be available in future releases. So, if you build a new application, avoid using them.

Kind Regards

Stefanie

Former Member
0 Kudos

All right. The fisrt part of my posting has been resolved. I had an inconsistency betwwen some of my view layout definitions and the context bindings.

However the second parts still bothers me. Why am I getting this warnings about the WDDateMarkingCategory types being deprecated. I'm also getting a warning about the IWDDateNavigatorLegend type also being deprecated.

Could it be a problem wih my version or something like that?.

Thanks a lot for your help.

Francisco.