|
Class: ComancheSwikiService
Object
|
+--HTTPService
|
+--ComancheService
|
+--ComancheSwikiService
- Package:
- stx:goodies/webServer/comanche/swiki
- Category:
- Comanche-Swiki-STX-Support
- Version:
- rev:
1.83
date: 2006/07/28 20:18:23
- user: stefan
- file: ComancheSwikiService.st directory: goodies/webServer/comanche/swiki
- module: stx stc-classLibrary: swiki
I am the glue between the HTTPServers services (on the calling side)
and SwikiModules on the other side.
Instances of me are registered in the HTTPServer (under the link-name)
and I will be invoked via the #process: method for incoming
requests.
To set up your new Swiki, you need a copy of the comanche swiki data files.
There is one provided in
goodies/webServer/data/sampleServerDir/comancheSwiki
Notice, that the one in sampleServerDir has been adapted to ST/X
while you may have to adjust things when using the Squeak files.
Open the new settings dialog. Add this service to the server and apply.
Select the service Settings Application for the Comanche Swiki and select
to a valid directory for the comanche Swiki files.
copyrightCOPYRIGHT (c) 2003 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
configuring - setup
-
loadPackage
-
self loadPackage
Usage example(s):
-
new
-
-
postAutoload
-
self loadPackage
defaults
-
canChangeReplyPresenter
-
-
linkName
-
return the default linkName (with slash)
queries-service
-
availableModuleClassNames
-
-
comancheSwikiRoot
-
dir := './webServer/data/comancheSwiki'
Usage example(s):
self comancheSwikiRoot
UserPreferences current httpServerComancheSwikiServerDirectory:nil
|
-
comancheSwikiXPRoot
-
self comancheSwikiXPRoot
-
isThreadSafe
-
-
settingsApplicationClass
-
my application in the settings dialog
accessing
-
comancheSwikiRoot
-
-
comancheSwikiRoot: aDirectory
-
-
servicePath: something
-
blocked
-
swikiModuleClass
-
-
swikiModuleClassName
-
-
swikiModuleClassName: aClassName
-
initialize
-
browseWithSwikiBrowser
-
ComancheSwikiService allInstances first browseWithSwikiBrowser
-
initialize
-
-
setupModule
-
-
setupModuleForComancheSwikiRoot: comancheSwikiRootFilename swikiModuleClassName: swikiModuleClassNameVar
-
maintenance html presentation
-
specificChangeFromRequest: aRequest
-
extracts parameter from an html-maintenance post-request
-
specificInputFieldsForRequest: aRequest
-
generates the html-fragment for the maintenance form
queries
-
allowRobotsPaths
-
return the disallowed paths for robots
-
comancheSwikiBookNames
-
queries-service
-
linkNames: aLinkNameCollection
-
(comment from inherited method)
set the names, under this service may be reaches;
e.g. if you set linkNames to #('/xxx' '/yyy') this service may be reached as both
'http://hostname:port/xxx' and 'http://hostname:port/yyy'.
If this is never called, then the service class is asked for a default name
-
linkNamesChanged
-
registration
-
addRequiredForeignServicesTo: aServer
-
I need a file service for the bitmaps and icons
-
registerServiceOn: aServer
-
register myself as comanche swiki service on a single HTTPServer.
-
removeRequiredForeignServicesFrom: aServer
-
|