[Seaside] subcomponents with arguments?

Ragnar Hojland Espinosa seaside@lists.squeakfoundation.org
Tue, 6 Aug 2002 17:29:17 +0200


I have something like this:

ExShowCompany>>html
    ^ 'companydatahere
       <ExListPersons sea:id=persons></ExListPersons>'

ExShowCompany has a companyID instance variable that gets called on object
creation.  ExListPersons lists all people along with their companies.

What I want to do is, in ExListPersons, if companyID has been defined, dont
write the companies column and obviously only output people who belong to
companyID.  The if I know I can do with, well.. if :)  But how do I pass the
value / call the companyID method of the ExListPersons component from inside
the html template or similar?

-- 
Ragnar Hojland - Project Manager
Linalco "Especialistas Linux y en Software Libre"
Tel: +34-91-5970074 Fax: +34-91-5970083