eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ReplyPresenter':

Home

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

Class: ReplyPresenter


Inheritance:

   Object
   |
   +--ReplyPresenter
      |
      +--EmptyDocumentReplyPresenter
      |
      +--ExeptReplyPresenter
      |
      +--PlainReplyPresenter

Package:
stx:goodies/webServer
Category:
Net-Communication-HTML-ReplyPresenter
Version:
rev: 1.21 date: 2010/11/19 11:42:43
user: cg
file: ReplyPresenter.st directory: goodies/webServer
module: stx stc-classLibrary: webServer

Description:


A replyPresenter instance is used by the httpserver to (possibly) wrap up the responses
of the service-generated pages into a common look.
Typically, by providing css and/or an extra div or frame around the generated page,
to impose a common corporate identity look on the pages.
By default, a PlainReplyRepresenter is set when an http-server is launched.
Take a look at the exept-replyPresenter as an example of a wrapper for exept-colors and an
extra set of framing divs, including a site-search.


Class protocol:

initialization
o  postAutoload
load my subclasses
usage example(s):
        self postAutoload

instance creation
o  new

presenterClasses
o  presenterClasses


Instance protocol:

accessing
o  beforeTitle: aString

o  firstHeadLine: aString

o  parameters

o  parameters: something

o  parametersAt: aKey

o  parametersAt: aKey ifAbsent: aBlock

o  parametersAt: aKey put: aValue

o  secondHeadLine: aString

o  title

o  title: something

initialization & release
o  initialize

o  release
will be invoked after the request has been sent

required-protocol
o  present: aRequest on: aStream

settings persistency
o  elementDescriptorFor: anAspect
support for persistency:
answer the elements to be made persistent with an ObjectCoder

o  settingSelectors



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 09:10:19 GMT