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
Stephan: Thank you!
Exactly what I needed
seaside@lists.squeakfoundation.org