All the things you do through the web interface can be done programmatically.
In the seaside application root class of StoryBoard, SBMain, we have:
SBMain>updateRoot: anHtmlRoot
super updateRoot: anHtmlRoot.
anHtmlRoot title: 'StoryBoard'.
anHtmlRoot link
type: 'text/css';
beStylesheet;
addAll;
url: SBFileLibrary / 'main.css';
yourself
SBMain>>initialize
"Registers this applicaton as webpage
SBMain initialize.
"
super initialize.
(WAAdmin register: self asApplicationAt: 'story')
preferenceAt: #sessionClass
put: SBPublicSession;
addLibrary: JQDeploymentLibrary;
addLibrary: JQUiDeploymentLibrary;
yourself
updateRoot is instance side, initialize is class side.
Stephan
_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev