Squeak Class Documentation category index | class index  
 
HTMLformatter
  category: Network-Pluggable Web Server
  superclass: Object
  subclasses: LessHTMLformatter

HTMLformatter class (instances don't know anything) knows alot about HTML formatting: Creating forms, pages, different widgets, etc. It also knows how to process Smalltalk embedded within an HTML document.

instance methods
  accessing
  specialCharacter
specialCharacter:

  formatting
  format:

  private-initialization
  formattingBlock:
initialize

  translating
  rangesOfAngleBrackets:
swikify:linkhandler:

class methods
  formatting
  checkbox:value:
formFooter
formHeader:For:
graphic:
graphic:standIn:alignment:
hiddenName:value:
linkTo:label:
select:values:selection:size:
select:values:selections:size:multiple:
submit:
submit:label:
text:
text:value:length:
textArea:
textArea:value:
textAreaEnd
textAreaStart:rows:cols:

  note support
  show:
showList:
showList:parentPrefix:
showList:prefix:
showListWithAuthors:
showListWithAuthors:prefix:

  pages and forms
  endForm
endPage
startForm:
startPage:

  translating
  evalEmbedded:with:
evalEmbedded:with:unlessContains:
fixEndings:
fixForIE:
forEvaluatingEmbedded:
oldEvalEmbedded:with:
rangesOfAngleBrackets:
simpleProcess:
swikify:linkhandler:
textToGIF:

instance methods
  accessing top  
 

specialCharacter


 

specialCharacter:


  formatting top  
 

format:

format text with requestObject as the argument for
the code blocks


  private-initialization top  
 

formattingBlock:


 

initialize


  translating top  
 

rangesOfAngleBrackets:

Return an OrderedCollection of intervals of position within angle
brackets < and >. Caller wants to avoid putting <br> in there.


 

swikify:linkhandler:


class methods
  formatting top  
 

checkbox:value:


 

formFooter

Write the standard footer for a form.


 

formHeader:For:

Write the standard header for a page and form for editing anObject.


 

graphic:


 

graphic:standIn:alignment:


 

hiddenName:value:


 

linkTo:label:


 

select:values:selection:size:


 

select:values:selections:size:multiple:


 

submit:


 

submit:label:


 

text:


 

text:value:length:


 

textArea:


 

textArea:value:


 

textAreaEnd


 

textAreaStart:rows:cols:


  note support top  
 

show:

Return an HTML list to reference an ordered collection of text. Used in Chat application


 

showList:

Return an HTML list to reference an ordered collection of notes.
prefix.index will be the reference URL for the note. Used in Comment
application.


 

showList:parentPrefix:

Return an HTML list to reference an ordered collection of notes. prefix.parent.index will be the reference URL for the note.


 

showList:prefix:

Return an HTML list to reference an ordered collection of notes. prefix.index will be the reference URL for the note. Used in Comment application.


 

showListWithAuthors:

Return an HTML list to reference an ordered collection of notes.
prefix.index will be the reference URL for the note. Special version for
linking to author's homepage, if any.


 

showListWithAuthors:prefix:

Return an HTML list to reference an ordered collection of notes. prefix.index will be the reference URL for the note. Special version for linking to author's homepage, if any.


  pages and forms top  
 

endForm


 

endPage


 

startForm:


 

startPage:


  translating top  
 

evalEmbedded:with:


 

evalEmbedded:with:unlessContains:


 

fixEndings:


 

fixForIE:


 

forEvaluatingEmbedded:

stringOrStream is text with <?expr?> expressions intermingled.
This creates a HTLMLformatter instance which will substitute the <?expr?>
expressions with the value of the argument (named request), and which
leaves all other text in stringOrStream alone


 

oldEvalEmbedded:with:


 

rangesOfAngleBrackets:

Return an OrderedCollection of intervals of position within angle brackets < and >. Caller wants to avoid putting <br> in there.


 

simpleProcess:


 

swikify:linkhandler:


 

textToGIF: