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.14 date: 2021/01/20 10:37:24
user: cg
file: HTMLForm.st directory: libhtml
module: stx stc-classLibrary: libhtml

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).

copyright

COPYRIGHT (c) 1996 by Claus Gittinger 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.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 08:26:54 GMT