|
Class: ReplyPresenter
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
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.
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.
initialization
-
postAutoload
-
load my subclasses
Usage example(s):
instance creation
-
new
-
(comment from inherited method)
return an instance of myself without indexed variables
presenterClasses
-
presenterClasses
-
accessing
-
beforeTitle: aString
-
-
firstHeadLine: aString
-
-
parameters
-
-
parameters: something
-
-
parametersAt: aKey
-
-
parametersAt: aKey ifAbsent: aBlock
-
-
parametersAt: aKey put: aValue
-
-
secondHeadLine: aString
-
-
title
-
-
title: something
-
initialization & release
-
initialize
-
(comment from inherited method)
just to ignore initialize to objects which do not need it
-
release
-
will be invoked after the request has been sent
required-protocol
-
present: aRequest on: aStream
-
** This method must be redefined in concrete classes (subclassResponsibility) **
settings persistency
-
elementDescriptorFor: anAspect
-
support for persistency:
answer the elements to be made persistent with an ObjectCoder
-
settingSelectors
-
|