I have successfully implemented a calendar component, but I would like to customize how the items are displayed.
All items are basically 'allday' events. I have created a transient attribute in my VO that has its default value set to 'ALLDAY' and that is set to the Time Type in the "Calendar Activities" binding settings. I have the Start Time and End Time for the Calendar Activities set to the same VO attribute which is a DATE data type. All of the activities show up at 12:00am for their appropriate date and pile up on top of each other.
What I would like to do is display the activities as 1-2 line 'blocks' during the day. There isn't a particular time associated with the activities, so they would just need to stack on top of each other like building blocks.
I would also like to remove the "12:00" that is displayed on the text for each of the activities.
Here is a screenshot of what I did in PHP that I would like to duplicate in ADF: [http://tinyurl.com/8puu5f8]
Is it possible to do this much customization to the ADF calendar component? Any ideas about where I would need to start to do this level of customization?
Thanks in advance...
I'm looking into going the 'long way' to create the Calendar Component via custom CalendarModel and CalendarActivity beans. Will this go 'deep' enough for me to be able to customize how the activities are displayed, or is it further into the component itself where the display is generated?
I got the 'stacking' feature that I wanted. It is default for 'allday' activities. The problem was that, in my VO I had created a transient attribute called 'calTimeType' which had a default value of 'ALLDAY'. Unfortunately, the calendar's bindings didn't recognize 'calTimeType' until I changed the attribute name to 'TimeType'. Once I made that change, it displayed the activities as all-day events correctly, which provides the stacking feature I wanted.
Just posting in case anyone else searches for the same issue later.
Edited by: cjones on Sep 14, 2012 11:55 AM
How to remove the time which is being displayed for a particular day in the Calendar Component.
Ex: Now in the calendar for a particular day it is being displayed with Time and Title "8:00 AM Training Session".
I need to display the title value without time as "Training Session". How Can i do this.. Any suggestions please post here.