Hello Paolo.

First of all, thanks for your comment!

Joachim builds a PageTemplate widget, and I'm not sure I like the idea of returning blocks from the methods there (like #mainContent). I would rather use something like #renderMainContentOn:

UrPics.PageTemplate subclass: UnknownHome [
    renderMainContentOn: e [
        e h1: 'UnknownHome Object!'.
    ]
]

This was indeed one of my first approach in splitting the page into parts. (... and for me, it looks a bit more like seaside, which I got used to ...) but then I decided against that, because it would break the usual Iliad kind of style (ooohhh, hope I could make me understand...!) And I (excuse me) wouldn't like to use several different ways of doing the same thing in "one" code...

But I'm a noob to smalltalk and the way of coding in it, I'm open to every suggestion! (I think, I have also to rework my kind of blocking [] code. I saw that most smalltalk-code uses another style...)

Best regards,
Joachim.


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to