on 07-26-2009 12:11 PM
Hi Experts,
I have created one WD program which uses DateNavigator. The code is working fine.
IMarkingElement m = wdContext.nodeMarking().createMarkingElement();
m.setCategory(WDDateMarkingCategory.ONE);
m.setDate(start);
For the above code, we can have only four values of WDDateMarkingCategory. The values are WDDateMarkingCategory.ONE, WDDateMarkingCategory.TWO, WDDateMarkingCategory.THREE and WDDateMarkingCategory.FOUR.
For my project we want to have 5 Categories. So, WDDateMarkingCategory.FIVE is also needed.
How we can have 5 categories?
Regards,
Gary
You have:
IMarkingElement m = wdContext.nodeMarking().createMarkingElement();
m.setCategory(WDDateMarkingCategory.ONE);
m.setDate(start);
you need:
IMarkingElement m = wdContext.nodeMarking().createMarkingElement();
m.setDaySemantics(WDTableCellDesign.ONE);
m.setDate(start);
best regards,
Christian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could not get any answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. Do you mean that I have to use Class WDTableCellDesign and I can have many colors. I am looking into following link:
if we use the wd tablecelldesin for a datenavigator might be issue wil be solved
/people/sap.user72/blog/2006/04/25/colourful-table-in-web-dynpro
let me know am i correct or not
ravindra
Edited by: VENKATA R BOLLAPALL on Aug 7, 2009 12:54 PM
Edited by: VENKATA R BOLLAPALL on Aug 7, 2009 12:55 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer these links,
http://help.sap.com/saphelp_nw04/helpdata/en/4a/05ad3e1d1edc61e10000000a114084/frameset.htm
/people/ramamurthy.rajan2/blog/2007/03/14/custom-datenavigator-in-bsp-using-mvc-architecture
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
I am unable to sort out the issue. I am writing my issue again:
I want to use Calendar for my WD program. There are following statuses:
1) Business trip from date1 to date2
2) Conferecnce from date1 to date2
3) Board Meeting from date1 to date2
4) Training from date1 to date2
5) Deputationfrom date1 to date2
6) Secondment from date1 to date2
We want to create calendar and show different statuses by using different colors.
How to do it?
Regards,
Gary
hi gary,
check this thread,
and look this api given by the sap
as u told that we have four categories, fifth one we can add as the default one
so total we have 5
u can try in that way
let me know u need any further information
bvr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi BVR,
I tried and can not find any thing called WDDateMarkingCategory.DEFAULT in NWDS coding.
The following link provided by you is not getting open due to proxy setting of my customer. Can you please paste the message here only.
Regards,
Gary
hi gary,
the
IWDDateNavigatorMarking.getCategory()
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Use the property daySemantics instead to mark a certain day. The Legend UIElement is used to describe the semantic meaning of daySematics color code.
u can refer this link for more information
i wll put some more related information for u
le me know u need any further information
bvr
Hi BVR,
Thanks. Do you mean that I have to use Class WDTableCellDesign and I can have many colors. I am looking into following link:
Regards,
Gary
hi gary,
as the per the document given by sap we have to use the
https://cw.sdn.sap.com/docs/DOC-16792;jsessionid=17412428C92D815B7D4D02B4F3B5CEC6
https://wiki.sdn.sap.com/wiki/display/Snippets/CreatingaColorLegendinaTableinWeb+Dynpro
http://santy.wdfiles.com/local--files/web-dynpro/table_capabilities.pdf
if this above link suits u verywell or
let me know if we still getting the same error ??
bvr
Edited by: bvr on Jul 27, 2009 9:21 AM
Edited by: bvr on Jul 27, 2009 9:55 AM
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.