brOOper / gwt-cal

Automatically exported from code.google.com/p/gwt-cal
0 stars 0 forks source link

using setStyle from Appointment #91

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.create a new appointment
2.use AppointmentStyle.valueOf("BLUE")
3.then apply the style obtained by the last stament the newky created 
appointment

What is the expected output? What do you see instead?
is hsould use external info to determine what style to apply to the appointment

What version of the product are you using? On what operating system?
svn revision 349

Please provide any additional information below.

here is a snippet of my code
public final Appointment generateAppointment(){
 Appointment app= new Appointment();
 app.setId(this.getId());
 app.setStart(this.getStartDate());
 app.setEnd(this.getEndDate());
 app.setTitle(this.getWorkEffortName());
 AppointmentStyle style = AppointmentStyle.valueOf(this.getStyle());
 app.setStyle(style);

Original issue reported on code.google.com by youssef0...@gmail.com on 5 Oct 2010 at 3:29

GoogleCodeExporter commented 8 years ago
Hi,

From the code snippet you provided, it cannot be seen if you are trying to 
visualize the appointment in the Month View or the Day View. The appointments 
will become solid (with a colored background, as per the style) only if they 
are marked as 'all day' (allDay boolean property set to true) or the start and 
end dates of the appointment span multiple days, effectively making the 
appointment a multi-day appointment.

Please let us know if you solved your problem.

Thanks,

Carlos

Original comment by carlos.m...@gmail.com on 17 May 2011 at 1:50

GoogleCodeExporter commented 8 years ago
Second strike, verifying if the original poster has provided any feedback 
tomorrow.

Original comment by carlos.m...@gmail.com on 19 May 2011 at 2:33

GoogleCodeExporter commented 8 years ago
Applying 3-strikes rule. Closing this issue.

Original comment by carlos.m...@gmail.com on 23 May 2011 at 3:09