[Seaside] jumps and repeats?

Ragnar Hojland Espinosa seaside@lists.squeakfoundation.org
Thu, 18 Jul 2002 22:27:38 +0200


Basically I have whats below.  ExListCompanies/ExListCompanyLine correctly
shows a list af company names.  But when I click on one of the links, it
shows a page with as many "foo"s as companies they were instead of just one.

Which means I'm doing something really wrong :)


ExListCompanies>>html
^ '<table>
	 <tr sea:id="company/companies">
	    <ExListCompanyline sea:id="company"></ExListCompanyLine>
	 </tr>
   </table>'

ExListCompanyLine>>html
^ '<td><a sea:id="viewCompany">[name]</a><td>
   <td>[contactPerson]</td>'

ExListCompanyLine>>viewCompany
^ self jumpToPage: (ExViewCompany new)

ExViewCompany>>html
^ 'foo'
-- 
Ragnar Hojland - Project Manager
Linalco "Especialistas Linux y en Software Libre"
Tel: +34-91-5970074 Fax: +34-91-5970083