[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Iliad - updatePage: aPage
From: |
Stefan Schmiedl |
Subject: |
[Help-smalltalk] Iliad - updatePage: aPage |
Date: |
Mon, 13 Jul 2009 21:52:08 +0200 |
Hi Nico,
what exactly is updatePage: aPage for?
We all seem to be using it to update head information and guessing
from the position in respondOn: it is not intended to modify the
body element.
| page |
page := self defaultPageClass new.
self buildOn: page body.
self updatePage: page.
page respondOn: aResponse
So why not call it "updateHead: aHead" and use it like
| page |
page := self defaultPageClass new.
self buildOn: page body.
self updateHead: page head.
page respondOn: aResponse
Later,
s.
- [Help-smalltalk] Iliad - updatePage: aPage,
Stefan Schmiedl <=