ADF RC CALENDAR ACTIVITY STYLE
619302Jul 1 2010 — edited Aug 28 2012Hi I am using Studio Edition Version 11.1.1.3.0 and have a problem with the Activity Styles property of the af:calendar.
My problem is that I want to set the colors of the activities in the calendar.
I have extended oracle.adf.view.rich.model.CalendarActivity with my own CalendarActivity class and overwritten the getTags method with my own method. The code is seen below here
public Set<String> getTags() {
return tags;
}
I have a constructor for my CalendarActivity class where I create a map and a set to test the Activity Styles property. The constructor looks like this
public PubCalendarActivity() {
super();
id = "";
location = "";
startDate = new Date();
endDate = new Date();
title = "";
provider = new PubCalendarProvider();
Map<Set, InstanceStyles> activityColorMap = new HashMap<Set, InstanceStyles>();
Set set1 = new HashSet<String>();
activityColorMap.put(set1, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.ORANGE));
tags= set1;
}
but the style is still default,So how i can customize my activity style("MAINLY FONT COLOR AND BACKGROUND COLOR")
thanks all,
i found what i need (to set the key for color base attribute in my custome activity bean)
Edited by: Wa'el Abu Rahmeh on Jul 5, 2010 12:50 AM