--- a/SmalltalkCodeGeneratorTool.st Thu Dec 11 11:20:14 2014 +0100
+++ b/SmalltalkCodeGeneratorTool.st Thu Dec 11 11:21:03 2014 +0100
@@ -1187,6 +1187,8 @@
This uses the simplest possible way to generate html: generating plain HTML.
See page2 for a more structured example."
+ <resource: #PAGE>
+
|response|
response := aRequest response.
@@ -1212,6 +1214,8 @@
This uses a slightly more convenient way to generate html: using an HTML tree builder.
Event better examples to follow..."
+ <resource: #PAGE>
+
|page|
page := HTML::TreeBuilder newDocument.
@@ -1244,6 +1248,8 @@
'page3:aRequest
"This is a sample page which generates plain text (i.e. nit html)."
+ <resource: #PAGE>
+
aRequest response
contentType:''text/plain'';
data:''This is some plain text,
@@ -2706,14 +2712,14 @@
!SmalltalkCodeGeneratorTool class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/SmalltalkCodeGeneratorTool.st,v 1.29 2014-08-05 20:07:57 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/SmalltalkCodeGeneratorTool.st,v 1.30 2014-12-11 10:21:03 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libtool/SmalltalkCodeGeneratorTool.st,v 1.29 2014-08-05 20:07:57 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/SmalltalkCodeGeneratorTool.st,v 1.30 2014-12-11 10:21:03 cg Exp $'
!
version_SVN
- ^ '$Id: SmalltalkCodeGeneratorTool.st,v 1.29 2014-08-05 20:07:57 vrany Exp $'
+ ^ '$Id: SmalltalkCodeGeneratorTool.st,v 1.30 2014-12-11 10:21:03 cg Exp $'
! !