[Plone-IT] Uso funzioni

Luca lucafbb a gmail.com
Mer 29 Ago 2007 12:39:24 UTC


Ciao Valerio...
l'errore credo sia a questa riga

> results = cat.portal_catalog.searchResults(**query)

"cat" è "portal_catalog", devi fare solo
results = cat.searchResults(**query)

On 8/29/07, Basa <valeriofioresi a gmail.com> wrote:
>
> Grazie della veloce risposta,
>
> il fatto è che mi da errore proprio su
>
> cat = getToolByName(self,'portal_catalog')
>
> il traceback mi dice AttributeError: portal_catalog
>
> Mi viene da pensare che manchi un import o qualche cosa del genere ma non
> saprei proprio
>
> Valerio
>
> --
> View this message in context: http://www.nabble.com/Uso-funzioni-tf4346895s21526.html#a12384691
> Sent from the Plone - Italy mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html
>




Maggiori informazioni sulla lista Plone-IT