On Thu, 30 Sep 2004 01:55:41 -0700, Louis Sumberg
<
[hidden email]> wrote:
> [a secondaryAspect] ifFalse: [a primaryAspect]]. However, this approach
> doesn't seem to work. In addition, I don't understand the difference
> between the sortBlock and getSortContents aspects. I really like the
> EditableListView and various embedded editors. Can anyone shed light on
> how
> to do the sort and how these various aspects are used?
How does the sorting not work? It seems OK for me. Could it be you did a
"a primaryAspect = b primaryAspect" (note the = instead of inequality).
#sortBlock is passed 2 values. If #getSortContentsBlock is not provided,
the 2 values are the results from #getContentsBlock, otherwise the results
from #getSortContentsBlock are used. Basically it lets you choose to
either use the column's object for sorting or some other object.
--
Regards
HweeBoon
MotionObj