[Zope-dev] Attribute Error in _call_ with childless_decoration

Jim Fulton jim@digicool.com
Tue, 01 Jun 1999 16:31:38 -0400


Jason Spisak wrote:
> 
> Zopeinators:
> 
> It worked fine, then all of a sudden, I got a traceback on a document
> that uses this code:
> 
> <!--#tree branches_expr="objectValues(['Submission'])"-->
> <a href="<!--#var tree-item-url-->">
> <img src="<!--#var icon-->" border="0"> <!--#with Candidates--><!--#var
> "_.getattr(_.getitem(candidate),'first_name')"--> <!--# var
> "_.getattr(_.getitem(candidate),'last_name')"--><!--#/with-->
> </a>
> <!--#/tree-->
> 
> It worked Friday, I didn't do any work over the weekend, and now it
> gives me this traceback:
> 

(snip)

> Any ideas what a childless_decoration is?  

It is what's just to the left of an item with no children
in tree display.  It will eventually be changeable via a
tag option.

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.