Mantis - Squeak Packages
Viewing Issue Advanced Details
6914 Seaside minor always 02-12-08 18:28 02-29-08 20:40
renggli  
renggli  
normal  
resolved  
fixed  
none    
none  
0006914: WAMiniCalendar has a big problem that makes it ANSI-incompatible.
WAMiniCalendar has a big problem that makes it ANSI-incompatible.
#month is expected to return a Month, but in ANSI it returns the month
index. Would it be too big for 2.9 to fix WAMiniCalendar to not use the
nonportable Month and Week (via #weeksDo:) classes anymore?

Notes
(0011841)
renggli   
02-19-08 17:12   
I found some issues with WAMiniCalendar (initialize)!
 
Date today month -> ... returns the month index in GemStone
Date today month -> ... returns an instances of Month in Squeak
Not sure about other implementations!
 
So I think Seaside should use:
 
"Date today asMonth" in that case.
(0011842)
obi068   
02-19-08 18:05   
2 more fixes for asMonth instead of month
WAMiniCalendar:
renderCellForDate: aDate on: html
    html tableData: [
        aDate asMonth = self month ifTrue: [

date: aDate
    date contents: aDate.
    month contents: aDate asMonth
(0011878)
bonzini   
02-27-08 14:11   
I posted a rewritten WAMiniCalendar that does not use Squeak-specific Date classes on the seaside-dev list.
(0011888)
pmm   
02-29-08 20:40   
fixed in Seaside-Core-dkh.65