Unnamed
public text v1 · immutableThis callable is defined in the folderish object view definition python file. This is fed to a zc.table column which in turn receives a collection of items that this folder object contains (obtained from a portal_catalog search) - zc.table automatically passes the item as argument so that I can generate the info for the column value:
def buyItem(item, formatter):
return '<a href="%s/@@dtportal.ecommerce-buy">%s</a>' % (item.getPath(), _(u"Buy"))