[Seaside] A little HowTo

Randal L. Schwartz merlyn at stonehenge.com
Thu Apr 2 00:03:00 UTC 2009


>>>>> "Torsten" == Torsten Bergmann <astares at gmx.de> writes:

Torsten> Yes, but #canBeRoot should return "true" instead of "True".
Torsten> Otherwise it will return the Boolean subclass "True" instead of 
Torsten> its sole instance "true" and the code will not work.

Also, #canBeRoot is *strictly* for the admin GUI.  If the application already
registers itself programmatically (which yours does), no need for #canBeRoot.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


More information about the seaside mailing list