on 06-25-2007 11:12 AM
Hi everyone.
Has anyone used the CalendarMonthView UI element.
After placing it in a normal view, all I get is a NullPointer Exception in the WD code.
Does anyone know what properties are obligatory?
Thanks in advance.
George Daloukov
Hi George,
In ur value node,u check the cardinality=1..n, selection =0..1, singletone=true,
and ur attripute type=date
Regards,
vino
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi George,
First create 1 attribute with type as date then bound that attribute to an UI element....
Regards,
Suresh.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi George..
Have you bound the values for dayselect,monthselect etc....If not, bound the values and execute..
And can u tell me in which part of coding do u have error?
Urs GS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi GS,
I have bound firstVisibleDate to a cctDate value.
Also have created 2 actions for onDaySelect and onEntrySelect.
The problem comes before I can actually see the calendar itself:
java.lang.NullPointerException
at com.sap.tc.webdynpro.clientserver.uielib.calendar.uradapter.CalendarMonthViewAdapter.setViewAndNodeElement(CalendarMonthViewAdapter.java:178)
I don't think that's a problem of coding.
I have just added the calendarMonthView in the Web DynPro perspective and bound the needed properties to a context. That's it...
I cannot see the calendar in the Design Time also...
it says: CalendarMonthView: rendering problem: null.
That's why I was asking if someone knew what properties are obligatory for the correct initialisation of that specific UI element.
regards,
George.
User | Count |
---|---|
76 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.