From: Ryan Bowman <ryanlbowman@gm...> - 2006-01-27 06:11:42
The documentation for <parent> says
<parent [src=3Durl] [other parameters] />
...Any extra parameters are also passed in the child dictionary...
and the file spyce-2.0.3/www/parent.spi has a comment that says
# The child variable is automatically injected into a parent
# it contains the '_body' key which holds any text generated by the child=
# as well as any other (string) keys passed as attributes to the
# These may be accessed as child['foo'] or child.foo.
which leads me to believe I can do the following.
which would yield <body id=3D"someId"> but I really get
Stack:=09c:/spyce-2.0.2\spyceUtil.py:95, in __getattr__:
parent.spi:20, in (main):
So I either don't understand what's supposed to be happening or I did
something wrong (or even both!).
From: Jonathan Ellis <jonathan@ca...> - 2006-01-27 14:05:46
On Thu, 26 Jan 2006 23:11:38 -0700, "Ryan Bowman"
> Spyce exception
> File: parent.spi
> KeyError: 'bodyId'
> Stack: c:/spyce-2.0.2\spyceUtil.py:95, in __getattr__:
> return self[name]
> parent.spi:20, in (main):
> So I either don't understand what's supposed to be happening or I did
> something wrong (or even both!).
Yes, that should work.
Does your capitalization match? HTML isn't case-sensitive, but Python
If that's not the problem please attach actual files that reproduce the
C++ is history repeated as tragedy. Java is history repeated as farce. --Scott McKay
Get latest updates about Open Source Projects, Conferences and News.