[Zope] TypeError trying to use Dtml-in on Zclass

2000-08-09 Thread weboats
Hi All, I have a Zclass object called States built with folder and renderable When I try dtml-in States dtml-var sequence-item /dtml-in I get Error Type: TypeError Error Value: hasattr, argument 2: expected string, int found Does anyone know why this is happening? Thank you for your

Re: [Zope] TypeError trying to use Dtml-in on Zclass

2000-08-09 Thread Rik Hoekstra
I have a Zclass object called States built with folder and renderable When I try dtml-in States dtml-var sequence-item /dtml-in I get Error Type: TypeError Error Value: hasattr, argument 2: expected string, int found Does anyone know why this is happening? because you feed it (some

Re: [Zope] TypeError trying to use Dtml-in on Zclass

2000-08-09 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: Hi All, I have a Zclass object called States built with folder and renderable When I try dtml-in States dtml-var sequence-item /dtml-in I get Error Type: TypeError Error Value: hasattr, argument 2: expected string, int found Does anyone know why

Re: [Zope] TypeError trying to use Dtml-in on Zclass

2000-08-09 Thread weboats
Thank you Kapil, Yes, the problem was I didn't understand the difference between dtml-in and dtml-with. I wasn't trying to process a list. dtml-with States dtml-var index_html /dtml-with Does what I wanted it to do. Thanks again. Kevin Smith Quoting Kapil Thangavelu [EMAIL PROTECTED]: