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.22 date: 2021/01/20 12:56:45
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.

copyright

COPYRIGHT (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.

Class protocol:

initialization
o  postAutoload
load my subclasses

Usage example(s):

        self postAutoload

instance creation
o  new
(comment from inherited method)
return an instance of myself without indexed variables

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
(comment from inherited method)
just to ignore initialize to objects which do not need it

o  release
will be invoked after the request has been sent

required-protocol
o  present: aRequest on: aStream

** This method must be redefined in concrete classes (subclassResponsibility) **

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

o  settingSelectors



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:20:23 GMT