Wiki source code of ERXMonthView

Last modified by David Holt on 2008/06/13 17:05

Hide last authors
David Holt 3.1 1 To use this component put this in your .java file:
David Holt 1.1 2
David Holt 3.1 3 {{code 0="java"}}
David Holt 1.1 4
5 public ERXDateGrouper aGrouper = new ERXDateGrouper();
6
7 {{/code}}
8
9 and bind aGrouper in your WOD:
10
David Holt 3.1 11 {{code 0="html"}}
David Holt 1.1 12 <webobject name = "monthView"></webobject>
David Holt 3.1 13 {{/code}}
David Holt 1.1 14
15 {{code}}
16
17 monthView : ERXMonthView {
18 grouper = aGrouper;
19 }
20
21 {{/code}}
22
23 The result is a nice little calendar component that you can further customize (a year display was added to this one).
24
David Holt 3.1 25 [[image:attach:041.jpg]]