[Seaside] gotos with 2.3b?

Avi Bryant avi at beta4.com
Wed Jun 4 12:14:08 CEST 2003


On Wed, 4 Jun 2003, Ragnar Hojland Espinosa wrote:

> WAComponent subclass: #ExListCompanies
> renderContentOn: html
>         companies do: [:each | html anchorWithAction: [self onCompany: each] text: each name ].
> onCompany: anExCompany
>         self call: (ExViewCompany new company: anExCompany)
>
>
> WAComponent subclass: #ExViewCompany
> renderContentOn: html
>         html text: company name

There's nothing wrong with any of this code.  As Derek asked, what
behavior are you seeing?  The list shows up but when you click on any of
the links you get... a blank page?  Something else?

Is it possible that "company name" returns nil?

Avi



More information about the Seaside mailing list