-
1. Re: calendar datamodel issue
ilya_shaikovsky Sep 24, 2008 5:14 AM (in response to rainer_spn)Not enough info.. check please in the debbuger if your dataModel actually fetched on first time rendering.
-
2. Re: calendar datamodel issue
rainer_spn Sep 24, 2008 5:22 AM (in response to rainer_spn)I set a breakpoint to check if my method is being called the first time datamodel is used and it is beeing invoked before rendering...
-
3. Re: calendar datamodel issue
ilya_shaikovsky Sep 24, 2008 5:23 AM (in response to rainer_spn)and if this ,ethods returns right data?
-
4. Re: calendar datamodel issue
rainer_spn Sep 24, 2008 5:35 AM (in response to rainer_spn)as I said earlier after selecting an other than the current month and going back to the current month all expected data is displayed correctly. Same behaviour when I submit the form before activating the date picker.
-
5. Re: calendar datamodel issue
ilya_shaikovsky Sep 24, 2008 5:50 AM (in response to rainer_spn)ok.. but please answer.. have you checked that on first time methods execution - data returned is ok?
could you provide sample? -
6. Re: calendar datamodel issue
rainer_spn Sep 24, 2008 6:19 AM (in response to rainer_spn)Hi Ilya,
you are absolutely right!! My Method actually provides wrong data the first time calender is being used...
Thank you very much for your hint. I didn´t check this before... -
7. Re: calendar datamodel issue
v.bannur Feb 15, 2011 4:24 AM (in response to rainer_spn)Hi,
I have created rich:calender of 'calendarDataModel' with organiztion creation . In the 'CalendarDataModelImpl.java' class i have method
' public CalendarDataModelItem[] getData(Date[] dateArray)' I am bothering how the 'Date[] dateArray' is created. who is calling this method.
I wanted to reconstruct the 'Date[] dateArray' of specified month. Can i get any kind of help to construct the arry date?
-
8. Re: calendar datamodel issue
nbelaevski Feb 15, 2011 3:37 PM (in response to v.bannur)Hi,
Calendar component is creating this array according to its settings.
-
9. Re: calendar datamodel issue
v.bannur Feb 16, 2011 11:05 AM (in response to nbelaevski)Thanks Nick