migrating spec objects to 2.11

Niels Dettenbach <[email protected]>
Newsgroups gmane.comp.cms.zms.devel
Organization Syndicat IT&Internet
Message-ID <[email protected]>
Dear devels and readers,


since today i try to migrate some of my old sites to 2.11 - including my 
spec-objects like kfrom (ZMSFormular). I would use this task to update 
(better: rewrite) my publically published objects from the past and to finish 
a 2.0 version of them for you all here.

In my old KForms i use a hack:

	<dtml-in "filteredTreeNodes(REQUEST,['ZMSCustom'])">

to find my ZMSCustom object within the current page (shure, this is a really 
dirty hack which makes me headache - but it had worked for most reasons since 
any former zms version ;).

a try of
	<dtml-in "getParentNode().filteredTreeNodes(REQUEST,['ZMSCustom'])">

did not work too...

But, this doesnt seems to work anymore - i get a very useful "Key error: ''" 
(i assume the dtml-in catches not the right - means my own - object on the 
page).

How can i target or find my own ("calling") "custom" object within the current 
page under 2.11 (where all objects are "custom")? Can i call it by the 
name "Formular" or by the package string "com.syndicat.formular"?

To make it clean now - how can i "catch" my special object within a 
dtml-method (this method is representing page)? Is there any idea?

many thanks in advance and best regards.
best regards,


Niels.
-- 

---

  Niels Dettenbach
  ---
  Syndicat IT&Internet
  http://www.syndicat.com
  T.-Muentzer.-Str. 2, 37308 Heilbad Heiligenstadt - DE
  ---
  Kryptoinfo: 
  PGP public key ID 651CA20D
  Fingerprint: 55E0 4DCD B04C 4A49 1586  88AE 54DC 4465 651C A20D
  https://syndicat.com/pub_key.asc
  ---
signature.asc (application/pgp-signature, 835 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iQIcBAABCAAGBQJJ9xN/AAoJEM78prARigUnTg0P/jTX+zPtnnGHWZ/99M5u8KWI
33wXZuB+Zoo5OEORE2GELHsKeRbPOmmoVcZF2h5GFD9DJ1y3Dkpj8Mny9Tbee5kQ
fgZdJwEzWkOKdpJ8xYczNlvua6T7EQ9qAGPItq9ulBV4tEqd/mfOwAFEnGGriIdk
zZIDjZvMI3nuErA5J0bEWrEbQAkzxo5kHbgewjKqXS6TzFqDEMh24PmK+IfbKPcB
IkvDVn9blChIaBovxT1CnM5zTsD4VDoINTmJZ419/2wHfVhMb44uQyH25eutPCOe
J6uqwI81vUn2FvqkZqV2a04wS0y9MkHR7DDrlQUW+d6SUSFqUtO31I9s2rud3dnk
BnWwbn2b7CPVAT+C5xQKLaxVe3jWfrHLY6gEVnyTwb1IyOKbTfyyYlaPJoEkbZ3t
ZyPaQdKjHCVFIqaaXNmkysX5be6rRh2YoffiTwxqJEtC++v6itL1mh5LiYJeMkmy
JepfazVEbd24Ba4+KGFPXtNgMn9KVMPHb0tTdOk+zsc+k3e+/b8KRrVqJhh2FY22
OXNX21QhrFEkfmc4t/+9iB6W0vc4h+5XHFlzKlBunEgjow2Dx/0JKIp8reW4wCc7
VxaFA8p4zLtsX57u4XRcfw8kcGXNI5NZksBpiU4CWEyay83HcJoawl+q+iJvkv7y
6pv7zIgMpH/1wGVVfgzo
=IDFM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.