All pastes #762304 Raw Edit

Untitled

public python v1 · immutable
·published 2007-11-05 16:03 UTC
rendered paste body
def voc_pre_selecionado(self):    path = '/'.join(self.getPhysicalPath())    rs = self.portal_catalog(path=path, portal_type='MEU_TIPO')    return DisplayList(tuple([(r.Id, r.Title) for r in rs]))