eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTMLForm':

Home

everywhere
www.exept.de
for:
[back]

Class: HTMLForm


Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--ArrayedCollection
            |
            +--Array
               |
               +--HTMLElement
                  |
                  +--HTMLMarkup
                     |
                     +--HTMLForm

Package:
stx:libhtml
Category:
System-Documentation
Version:
rev: 1.9 date: 2007/03/12 17:53:14
user: cg
file: HTMLForm.st directory: libhtml
module: stx stc-classLibrary: libhtml
Author:
Claus Gittinger

Description:


a form element.
No new features added; however, provides convenient access for
some heavily used values (attributes).


Related information:

    HTMLParser
    HTMLDocumentPainter

Instance protocol:

accessing
o  action

o  addWidget: aWidgetElement

o  maxHeight
return maxHeight

o  maxHeight: something
set maxHeight

o  valueAt: name put: aValueHolder

o  values

o  values: aCollection

o  widgets

queries
o  encTypeString

o  fieldElementNamed: aString

o  fieldElements

o  methodString

testing
o  isFormElement


Examples:


|reply page document forms form fieldElements sel| reply := HTTPInterface get:'http://reiseauskunft.bahn.de/bin/query.exe/dn'. page := reply data asString. document := HTMLParser parseText:page. forms := document elementsForWhich:[:el | el isFormElement]. form := forms detect:[:form | form name = 'formular']. fieldElements := form fieldElements. sel := fieldElements detect:[:el | el name = 'REQ0HafasSearchForw'].

ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 09:47:31 GMT