eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTMLForm':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: HTMLForm


Inheritance:

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

Package:
stx:libhtml
Category:
System-Documentation
Version:
rev: 1.13 date: 2016/11/14 13:25:52
user: cg
file: HTMLForm.st directory: libhtml
module: stx stc-classLibrary: libhtml
Author:
Claus Gittinger

Description:


Attention: Please read the warning in HTMLElement.

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
(comment from inherited method)
return a collection containing all values of the receiver.
This is to make value access to an OrderedDictionary compatible with any-Collection

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 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 14:24:37 GMT