[Zope] Tree tag questions

Johan Carlsson johanc@torped.se
Mon, 19 Apr 1999 01:02:58 +0200


  Hi,
  I'm trying to figure out how to customize the
  tree tag a bit.
  
  Here's my problem:

  1. I would like to automatically expand a branch
  when I select the specific folder.

    + folder1
    + folder2

    *click on the "folder1" (not the "+")

    + folder1
      + folder3
    + folder2

  As I see it, it would be possible by appending
  "?tree-e=<some code>#<row???>"

  How can I get the <some code> and the <row???>
  values from the tree tag?  

  2. To make the tree tag remember the current
  expanded state on different levels.
  Today the tree tag expansion vary between 
  different sub-element.
  I suppose <some code> and <row???> could be used
  to accomplish this as well?

  3. The next thing is to turn of then "+".

  Best Regards,
  Johan Carlsson

  torped
  johan carlsson
  birkagatan 9
  113 36 stockholm
  telefon 08-32 31 23
  mobil 070-558 25 24
  fax 08-32 89 47
  johanc@torped.se