Oupps sorry, this was the wrong mailing list. Should have gone to the
SmallWiki-Wiki list.
On Jun 29, 2004, at 16:15, Lukas Renggli wrote:
Hi,
WAWalkback>>renderObject: anObject labelled: aString on: html
| objectString |
[objectString := anObject printStringLimitedTo: 100]
on: Error
do: [objectString := '<font ...'].
html tableRowWithLabel: aString column: objectString.
should be
WAWalkback>>renderObject: anObject labelled: aString on: html
| objectString |
[objectString := anObject printStringLimitedTo: 100]
on: Error
do: [:err|objectString := '<font ...'].
html tableRowWithLabel: aString column: objectString.
else VisualWorks raises "Unhandled exception: This block expects 0
argument(s)". Maybe it would be good practice to add the
block-variable in the seaside version as well. One can find the
occurrences using:
``@block on: ``@class do: [ ``@stmts ]
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org
--
Lukas Renggli
http://renggli.freezope.org