What is the meaning of the following:
!Contents of this Site
[ "If you are not logged-in as administrator, please remove everything
between the square-brackets before saving the page!"
structure renderListOfChildrenOn: html ]
I understand they are intended to render all the children of a folder.
However it make people to wonder about it. Its meaning is not obvious.
For instance Michele called me because of this 3 lines.
By default a folder renders a list of its children, but since folders
contain a documents as well the default behavior had to be mimicked
like this. Most people probably don't ever modify the body of a folder
anyway, so i think they would be lost if they get an empty web-page
there. The comment should help, because if you try to modify and save
this folder whilst not logged in as admin, you get an error as you are
not allowed to compile Smalltalk blocks.
I'm open to proposals of better and more obvious solutions, however I
don't have time to do any coding in the near future.