eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ComancheSwikiService':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ComancheSwikiService


Inheritance:

   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
Author:
Christian Penk

Description:


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.


Class protocol:

configuring - setup
o  loadPackage
self loadPackage

usage example(s):

    self loadPackage

o  new

o  postAutoload
self loadPackage

defaults
o  canChangeReplyPresenter

o  linkName
return the default linkName (with slash)

queries-service
o  availableModuleClassNames

o  comancheSwikiRoot
dir := './webServer/data/comancheSwiki'

usage example(s):

self comancheSwikiRoot 
UserPreferences current httpServerComancheSwikiServerDirectory:nil

o  comancheSwikiXPRoot
self comancheSwikiXPRoot

o  isThreadSafe

o  settingsApplicationClass
my application in the settings dialog


Instance protocol:

accessing
o  comancheSwikiRoot

o  comancheSwikiRoot: aDirectory

o  servicePath: something
blocked

o  swikiModuleClass

o  swikiModuleClassName

o  swikiModuleClassName: aClassName

initialize
o  browseWithSwikiBrowser
ComancheSwikiService allInstances first browseWithSwikiBrowser

o  initialize

o  setupModule

o  setupModuleForComancheSwikiRoot: comancheSwikiRootFilename swikiModuleClassName: swikiModuleClassNameVar

maintenance html presentation
o  specificChangeFromRequest: aRequest
extracts parameter from an html-maintenance post-request

o  specificInputFieldsForRequest: aRequest
generates the html-fragment for the maintenance form

queries
o  allowRobotsPaths
return the disallowed paths for robots

o  comancheSwikiBookNames

queries-service
o  linkNames: aLinkNameCollection

o  linkNamesChanged

registration
o  addRequiredForeignServicesTo: aServer
I need a file service for the bitmaps and icons

o  registerServiceOn: aServer
register myself as comanche swiki service on a single HTTPServer.

o  removeRequiredForeignServicesFrom: aServer



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 16 Apr 2024 15:45:16 GMT