eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'UserMessage':

Home

everywhere
www.exept.de
for:
[back]

Class: UserMessage


Inheritance:

   Object
   |
   +--UserMessage

Package:
stx:libbasic
Category:
Interface-Internationalization
Version:
rev: 1.6 date: 2009/10/02 00:08:10
user: cg
file: UserMessage.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


added for vw5i compatibility, which accesses messageCatalogs
via:
      (#key << #catalogID >> 'defaultMessage')
which creates an instance of UserMessage.

Currently, this is a dummy operation in ST/X, however it is mapped onto
the resource mechanism, if the given catalogID is the name of a class;
i.e.
    (YesNoBox classResources string:'continue')
can now also be written as:
    (#continue << #YesNoBox) 


Class protocol:

instance creation
o  key: aKeySymbol catalogID: aCatalogSymbol

o  key: aKeySymbol defaultString: aString


Instance protocol:

accessing
o  catalogID

o  catalogID: aCatalogSymbol

o  defaultString

o  defaultString: aString

o  key

o  key: aKeySymbol

o  key: aKeySymbol catalogID: aCatalogSymbol

o  key: aKeySymbol defaultString: aString

converting
o  asString
for now: return the defaultString, ignoring the catalogID.

o  expandMacros

o  expandMacrosWith: arg1

o  string

printing & storing
o  displayString

utilities
o  << aSymbol
set the catalogID

o  >> aString
set the default string

o  lookupInMessageCatalog



ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 24 May 2012 04:52:36 GMT