Wiki source code of ERXMonthView
Version 2.1 by David Holt on 2008/06/13 17:05
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | To use this component put this in your .java file: | ||
2 | |||
3 | {{code value="java"}} | ||
4 | |||
5 | public ERXDateGrouper aGrouper = new ERXDateGrouper(); | ||
6 | |||
7 | {{/code}} | ||
8 | |||
9 | |||
10 | and bind aGrouper in your WOD: | ||
11 | |||
12 | {{code value="html"}} | ||
13 | |||
14 | <webobject name = "monthView"></webobject> | ||
15 | |||
16 | {{/code}} | ||
17 | |||
18 | |||
19 | |||
20 | {{code}} | ||
21 | |||
22 | monthView : ERXMonthView { | ||
23 | grouper = aGrouper; | ||
24 | } | ||
25 | |||
26 | {{/code}} | ||
27 | |||
28 | |||
29 | |||
30 | The result is a nice little calendar component that you can further customize (a year display was added to this one). | ||
31 | |||
32 | [[image:041.jpg||]] |