From: Ian L <we...@im...> - 2003-08-04 20:09:40
|
I have a bit of psp code like this: <% for (obj_id, score) in list: obj = manager.load(obj_id) # load object %> <tr><td><%=obj.klassinfo%></td><td><%=score%></td><td><%=obj.get_short_info()%></td><td><a href="search-display.py?id=<%=obj.id%>">view in detail</a></td></tr> <%end%> This all displays the correct info, only it only displays one line. It should be displaying 50 lines. When i put some debug info in the page, like len(list) it came back with 50, and when i just printed out list, it came back with a list that contained 50 two item tuples. In our .py page this code works. Everything else in the psp version of this page seems to work, except for this for loop. Can anyone tell me what i am doing wrong? ian |