Wiki source code of ERXMonthView
Last modified by David Holt on 2008/06/13 17:05
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
3.1 | 1 | To use this component put this in your .java file: |
![]() |
1.1 | 2 | |
![]() |
3.1 | 3 | {{code 0="java"}} |
![]() |
1.1 | 4 | |
5 | public ERXDateGrouper aGrouper = new ERXDateGrouper(); | ||
6 | |||
7 | {{/code}} | ||
8 | |||
9 | and bind aGrouper in your WOD: | ||
10 | |||
![]() |
3.1 | 11 | {{code 0="html"}} |
![]() |
1.1 | 12 | <webobject name = "monthView"></webobject> |
![]() |
3.1 | 13 | {{/code}} |
![]() |
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 | |||
![]() |
3.1 | 25 | [[image:attach:041.jpg]] |