|
Smalltalk/X WebserverDocumentation of class 'HTMLForm': |
|
|
Class: HTMLFormInheritance:Object | +--Collection | +--SequenceableCollection | +--ArrayedCollection | +--Array | +--HTMLElement | +--HTMLMarkup | +--HTMLForm
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
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
|