cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Morrison <john.morri...@experian.com>
Subject Re: Update/sample for calendar...
Date Wed, 06 Sep 2000 08:29:48 GMT
The sample zip file should have been attached along with the update...

I'll attach it again to this though.


Think the expanded version (below) is a good idea.  But what do you
mean by shortest time unit (e.g. date)?  How would you display one
month?  Could you specify a start month and an end month or duration (ie
5 months)?

I was also thinking about attempting to parse/retrieve the calendar data
from Outlook (M$ I know but work must...) or another PIM?

>>> Donald Ball <balld@webslingerZ.com> 5/September/2000 07:34pm
>>>
On Tue, 5 Sep 2000, John Morrison wrote:

> Hi,
> 
> Fixed a bug where there could be 5 weeks in a month if the first day
> was a Sunday and added week_of_year and day_of_year.  Also,
since I
> think that all things really should have a sample (esp something this
easy)
> I've knocked together a page which will display a years calendar from
> the current month.
> 
> I quite like tinkering so I'll try and add more functionality (moon phases
> anybody?) when I can!

word. patches have been applied. would you mind passing along your
sample
page as well (wasn't in the zip)? thanks.

btw, i think there's a definite need for a generic calendar xsp logicsheet
- which the current calendar is not, being strongly tied to a month
view. what i'd thought about was some function which took the
following
inputs:

start date (e.g. 1/1/2000)
stop date (e.g. 1/31/2000)
shortest time unit (e.g. date)
list of time units to display (date, week_of_month, month, year)

which would iterate from the start date to the stop date incrementing by
the shortest time unit creating an XML structure as it went. i had real
trouble doing it in a strictly java library using DOM objects, but now
that i really understand how XSP logicsheets work (see esql logicsheet),
it might prove easier to write it. got any thoughts along these lines?

- donald




begin 644 sample.zip
M4$L#!!0``@`(`"AY)2FAJ,G=KP$``'\#```,````8V%L96YD87(N>&UL=5([
M;]LP$)YEP/^!X%#82$7&W6Q+]I`@:`>W!9(A*R.=)184*9",'RCZWWO4VREZ
MBX['[T61R?Y2*7("ZZ31*5VQ>[K?S6?S6;+/3&:,CFMK,G".^&L-*;VXN@$D
M@1<[?U7@2@!/2@O'E&9"@<Z%9:6O%+LX13N>AXOG8=V2_Z.M_.`>Y)4I9#:5
MM^#,N\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