[Seaside] cannot understand #canSort error using WATableReport

Avi Bryant avi at beta4.com
Sat Aug 21 19:12:43 CEST 2004

On Aug 21, 2004, at 6:07 PM, radoslav hodnicak wrote:

> On Sat, 21 Aug 2004, LK wrote:
>> I've created a PMLogsReport as a subclass of WATableReport and
>> initialized it with:
>> initialize
>>     " logs returns a collection of PMLogItem objects from a GOODS 
>> database.
>>       The #columns are a list of the PMLogItem variables."
>>     super initialize.
>>     rows _ (self session logs).
>>     columns _ #(type entryDate startTime entryText endTime).
>> ------------
>> When I attempt to use it, I get a MessageNotUnderstood error: on
>> canSort.  How should I fix that.
> For example you could actually try to understand how WATableReport is
> implemented if you want to subclass it - hint, columns is supposed to 
> be a
> collection of WAReportColums

Yes, although chances are you don't actually need to subclass it - look 
for references to WATableReport in the system (like in WAMemoryUse) to 
see how it's supposed to be used.


More information about the Seaside mailing list