allow the adding of a user object to the Appointment
Opened this issue · 1 comments
GoogleCodeExporter commented
Description of the new feature:
The product would benefit from the ability to associate a user object with an
appointment. Similar to the feature provided by GWT and Swing trees, the user
would be able to add their own user object to the gwt-cal Appointment object.
Assumptions:
1. The user has an object that is associated with an appointment.
Exceptions:
1.
2.
3.
Code / psuedo-code:
calendar.suspendLayout();
for (DTOProjectTast dtoProjectTask : listOfDTOProjectTask) {
Appointment appointment = new Appointment();
appointment.setUserObject(dtoProjectTask);
...
}
calendar.resumeLayout();
Original issue reported on code.google.com by roderick...@gmail.com
on 29 Jul 2013 at 11:02
GoogleCodeExporter commented
Hi Roderick,
The idea behind GWT-Cal is to provide an UI. Some years ago (ouch, long time)
we added the Appointment.id field as a workaround.
The idea is that the GWT-Cal shouldn't contain any business logic. To solve
this kind of issues you can use the ID field to map your appointment with any
other kind of objects that you need.
Would that be good enough for you?
Regards,
Original comment by ctasada
on 9 Oct 2013 at 8:32