[Zope-dev] syntax error
josh on
josh@zesty.com
Wed, 10 May 2000 22:27:10 +0100
> > <dtml-call "['parent_id'].manage_change properties ({
> > 'children' : children
> > })">
>
> the ['parent..] is a subscript to... nothing! try to change it to:
thanks for that
I noticed an even dumber thing: it should've read manage_changeProperties
I have yet another stupid question and realise that I need to go through
some more examples, I have been on zope.org for a while and lots of things
nearly answer my questions but I am not bright enough to fill in the gaps!
Zope really makes me feel dumb!
So one last question for the night.
I have a folder with an property called "firstchildren" (int) that I am
using as a variable
The folder is called "addaline", inside that folder is another folder called
"lines".
I want to have a method in "lines" that updates the value of
"firstchildren".
I have tried:
<dtml-call "REQUEST.set('firstchildren', firstchildren+1)">
and since then tried using Parent and manage_editProperties...
I just can't get it right!
Is there a good example that I could look at, I am not even quite sure what
to search for on zope.org
thanks so much, apologies if this is annoying, I'll calm down soon I am
sure!
josh oN