[Seaside] sending messages in lists
Avi Bryant
avi@beta4.com
Tue, 4 Jun 2002 01:17:11 -0700 (PDT)
On Mon, 3 Jun 2002, Tim Rowledge wrote:
> I some sense I'd love to see it ending up as pretty much pure Smalltalk,
> but I know that not everybody is as single (simple?) minded as I am.
>
> Maybe something of the form
> ol _ OrderedList on: self practiceTests.
> ol build:[:el|
> (ListItem id: el)
> add: (Anchor id: #doPracticeTest: value: el text:'PracticeTest ', el id)
> add: (self remainingTries: el) asText]
Those who are interested can now look at the latest snapshot
(http://beta4.com/seaside/downloads/seaside-snapshot.cs), in the
Seaside-Experimental category, for an example of components without
templates. This isn't anything even vaguely usable yet, just playing
around, but it gives a sense of how easy something like that would be if
it were desired. IAUntemplatedComponent provides the support,
IAUntemplatedTest provides a short example.
Avi