eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Comanche::STTComancheModel':

Home

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

Class: STTComancheModel (in Comanche)


Inheritance:

   Object
   |
   +--Comanche::STTComancheModel

Package:
stx:goodies/webServer/comanche/stt
Category:
Comanche-STT
Version:
rev: 1.15 date: 2005/12/05 00:35:02
user: stefan
file: STTComancheModel.st directory: goodies/webServer/comanche/stt
module: stx stc-classLibrary: stt
Author:
Federico Gregorio Stilman

Description:


STT (Smalltalk Templates) support. 
Enables embedding Smalltalk code in HTML and other documents too.

[Date:]
    7 July 2002


Class protocol:

instance creation
o  newOn: aModel
Creates an instance of the receiver on aModel


Instance protocol:

accessing
o  model
Returns the receiver's application model.
NOTE: we choose the shortcut selector #model instead of #applicationModel
considering that references to 'self model' are very common on STT templates,
and to avoid long names on scripting

o  request
Returns the receiver's request

o  request: aRequest
Sets the receiver's request to be aRequest

o  service
Returns the receiver's service.
Thats the instance of ComancheSTTService, which forwards the requests to STT.
(it can, for example, be asked for its link)

o  service: aService
Sets the receiver's service to be aService

o  sttFilePath

o  sttFilePath: something

initializing
o  initializeOn: aModel
Initialize and sets the receiver's application model to aModel

printing
o  printOn: aStream
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 16:23:38 GMT