XML, INCOMPLETE
WOx TODO:
LSWSchedulerDateTitle
<#ChartMatrix>
<#ChartTitle ><#WeekdayTitle/>#ChartTitle>
<#ChartRowTitle>#ChartRowTitle>
<#EmptyCell> #EmptyCell>
<#ChartCell>
<#AptDrag>
#AptDrag>
#ChartCell>
#ChartMatrix>
/* vert-matrix */
ChartMatrix: WEVSpanTableMatrix {
list = cacheDataSource.fetchObjects;
item = appointment;
columns = ( 0, 1, 2, 3, 4, 5, 6 );
rows = hoursToShow;
column = day;
row = hour;
itemActive = isAppointmentInCell;
isRowActive = isAppointmentInRow;
//noSpanInEmptyCells = YES;
rowHeight = 8;
WIDTH = "100%";
BORDER = 0;
CELLPADDING = 5;
CELLSPACING = 2;
}
ChartTitle: WETableMatrixLabel {
elementName = "td";
position = "top";
BGCOLOR = config.colors_headerLabelCell;
ALIGN = "center";
}
ChartRowTitle: WETableMatrixLabel {
elementName = "td";
position = "left";
span = 2;
BGCOLOR = config.colors_leftLabelCell;
WIDTH = 2;
}
ChartCell: WETableMatrixContent {
elementName = "td";
BGCOLOR = config.colors_contentCell;
VALIGN = "top";
}
EmptyCell: WETableMatrixNoContent {
elementName = "td";
BGCOLOR = config.colors_emptyCell;
}
WeekdayTitle: LSWSchedulerDateTitle {
title = labels.$weekday;
newLabel = labels.new;
highlight = weekday.isToday;
date = weekday;
disableNew = isResCategorySelected;
directActionName = dayDirectActionName;
}
// matrix content
/* appointments */
AptDrag: WEDragContainer {
tag = "appointment";
object = appointment;
isDraggable = isAppointmentDraggable;
}