[Zope] New: Image ?
fowlertrainer at anonym.hu
fowlertrainer at anonym.hu
Thu Dec 4 08:59:46 EST 2003
Hello zope,
script1:
l=[]
def AddItem(Img,Name,Desc):
l.append('<tr><td width="120">')
l.append(Img)
l.append('</td>')
l.append('<td>')
l.append('<b>'+Name+'</b><br>'+Desc)
l.append('</td>')
l.append('</tr>')
l.append('<table width="*">')
s="Az intézetben pinkóddal történ\xf5 hívások lekérdezésére-megtekintése, nyomtatására"
AddItem(context.Images.PRC_Icon(),"Telefonos nyilvántartás",s)
l.append('</table>')
s=context.ResultListToString(l)
return(s)
In ZPT:
...replace: structure python: here.script1()>This<...
I want to load the datas, and put to the main html in sheet format.
But I don't know how to load the images.
The first is : context.Images.PRC_Icon()
But this example result is:
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: PRC_Icon
How to I do this ????
Thanx.
--
Best regards,
fowlertrainer mailto:fowlertrainer at anonym.hu
More information about the Zope
mailing list