[Seaside] Help understanding WATableReport
Avi Bryant
avi at beta4.com
Fri Aug 27 15:28:21 CEST 2004
On Aug 27, 2004, at 2:29 PM, LK wrote:
> Kamil Kukura wrote:
>
>>
>>>> Date today yyyymmdd
>>>>
>>>> (you should really learn how to find such answers yourself. Is it
>>>> that
>>>> hard to open browser on class Date and look what methods are there?)
>>>
>>>
>>> No, it's not. And that is precisely what I spent several hours
>>> doing. The only method that I could get to work through seaside was
>>> #asString. So, I thought that there must be some magic that only the
>>> experts know about. Clicking on the Sort link above my date or time
>>> columns returns a ' Dates are not indexable' error. I inferred from
>>> this, that dates could not be sorted. Converting them to strings
>>> removed the error, which re-inforced my belief.
>>
>>
>> From your question it was not clear as for what purpose you want to
>> convert date to string. If you get an error, try to examine walkback
>> and post it here or to squeak-dev mailing list if it is more general
>> thing.
>>
> For some reason, when I retrieve my dates from GOODS storage, I must
> explicitly convert it to a Date to get it to behave the way is should.
What class does it start out being? What happens when you send
#yyyymmdd to it directly?
More information about the Seaside
mailing list