[Zope] Cascading Methodcalls

Helmut Toplitzer helmut@ifit.uni-klu.ac.at
Fri, 14 Apr 2000 20:22:28 +0200


Hi!

I'm trying to make something work now for a some weeks.
But I don't have a idea how I can get that OK.
I've already written to this list, but after a review of my message I
have
to say some additional information:

I want to realize something simmilar like "information hiding" in
OO-programming context.

example:

Folder structure:
Main
|-a
  |-c
  |-b

In folder c and b is a Method which return some content.
In folder a and Main a Method collects with

<dtml-in "PARENTS[0].objectValues(['Folder'])">
  <dtml-with "_[_['sequence-item'].id]">
   <dtml-var Method_in_c_b>
  </dtml-with>
</dtml-in>

the information from the subfolder. (That works well.)
If I add a Method in Main which tries to collect the Information from
its Folders
in the same way as the Mathed in folder a some Errors arrive instead of
the result I want.

Has someone a hint?

-Helmut