[Seaside] Issues with WAHtmlBuilder>>anchorWithUrl:do:

Avi Bryant avi at beta4.com
Sat Oct 11 18:08:43 CEST 2003


On Sat, 11 Oct 2003, Roger Whitney wrote:

> The method WAHtmlBuilder>>anchorWithUrl:do: states that the second
> argument is a block (anchorWithUrl: urlString do: aBlock) is the VW
> version of seaside. This is not correct. The argument needs to be a
> string.

Actually, like all such methods, it will accept either a block *or* a
string (or, in fact, anything that implements #renderOn:).  This allows
both, eg,

html tableData: 'foo'

and

html tableData: [html bold: 'foo']

to work, without requiring two versions of every single method.



More information about the Seaside mailing list