[Zope] problem with lines properties

Jim Washington jwashin@vt.edu
Sun, 08 Apr 2001 08:01:51 -0400


Hi, Tim

Are you putting the data into the "lines" properties programmatically? 
What does that code look like?

-- Jim Washington

Timothy Wilson wrote:
> 
> Hi everyone,
> 
> I've built a couple ZClasses that utilize a "lines" property that, when an
> instance of the class is viewed, is rendered as a <ul>. The problem is that
> when the instance is first viewed, the iteration through the lines property
> doesn't work correctly and I get a one-item <ul> with all the lines rendered
> in the same <li>. Strangely, if I visit the ZMI edit screen for the instance
> and click on "Save Changes" then the instance displays perfectly every
> time after that.
> 
> Anybody seen anything like this?