Smalltalk/X WebserverSmalltalk Dynamic Web Pages - Source of WebDemoApp1-test_svg2: | |
test_svg2:aRequest "a reply, generating html using an HTMLBuilder Invoke via the browser as URL: host:port/<N>,svg1: where <N> is the registered name of this service. " |builder| builder := HTML::TreeBuilder newDocument. builder title:'hhh'. builder body. builder h1:'SVG Example'. builder div:[ builder text:'hello world' ]. builder iframe src:(aRequest linkIdFor:self selector:#'theSVG2:'). builder iframeEnd. builder bodyEnd. aRequest response nextPutAll:(builder htmlString)
Edit (disabled)
| |
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 30 Dec 2024 17:25:19 GMT |