On Aug 2, 2009, at 6:21 AM, Klaus Berkling wrote:


On Jul 21, 2009, at 5:23 PM, Amedeo Mantica wrote:

Now I need to create an html page for displaying the events in a beautiful calendar like look.

Do you (and all readers) know if there is already a Wonder Element that do this??

If not, I'll start today creating my one, and I'll share it with community


I don't remember where I got this from but maybe this can help get you started. It's old and I haven't looked at it in a long time.

http://www.eskimo.com/~kiberkli/download/SimpleCalendar.tgz

Thanks

kib

There's also the ERXMonthView ( http://wiki.objectstyle.org/confluence/display/WO/ERXMonthView ). That is basically your typical list component page, but it is built on top of the ERXDateGrouper, a WODisplayGroup designed to group your EOs by date. You can look at the source for ERXMonthView and figure out the ERXDateGrouper well enough to create a more 'beautiful' calendar pretty easily.

I liked the ERXDateGrouper a lot, so I extended it with R2DDateRangeGrouper. That subclass uses date ranges instead of simple dates... R2DDateRange is like an NSRange, but uses Date/long values instead of ints. This is useful if, for instance, you have calendar events that span multiple days/weeks.

http://r2d2w.svn.sourceforge.net/viewvc/r2d2w/trunk/ERR2d2w/Sources/er/r2d2w/foundation/R2DDateRangeGrouper.java?revision=23

It basically works the same, but instead of setting a date key, you give it a start date key, and an end date/duration key. If you only give it a date key, then it should work like the super class... Anyway, the date ranges and date range grouper are standalone if I recall correctly. As long as you have ERExtensions present, you should be able to steal them for your own purposes.

Ramsey

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to