[Plone-IT] context

Fabrizio Rota fabrizio.rota a gmail.com
Lun 31 Gen 2011 08:45:22 UTC


Funge che è 'na favola!

Denghiu!

Il giorno 31 gennaio 2011 09:36, SauZheR <sauzher a gmail.com> ha scritto:

> rapido rapido (e non alla moda ;)
>
> portal = context.portal_url.getPortalObject()
> target = portal.news.libri
>
> Questo perche' portal_url e' un tool che in call ti restituisce l'url,
> ma col metodo getPortalObject() ti restituisce l'oggetto portale.
>
>
> bye
>
>
>
> Il 31 gennaio 2011 09:13, Fabrizio Rota <fabrizio.rota a gmail.com> ha
> scritto:
> > In uno script di ploneformgen uso
> > target = context.libri_settimana_generati
> > per scrivere contenuto in una cartella che si trova ove c'è lo script
> > Tutto funziona.
> > Mi servirebbe però scrivere il contenuto in una altra cartella.
> > Ho tentato un
> > target = portal_url.news.libri
> > ma non funziona....
> > Aiutino?
> > --
> > Faber
> > --------------------
> > "Life is what happens to you while you're busy making other plans" - J.
> > Lennon
> >
> > “If you think education is expensive, try ignorance” - D. Bok
> >
> > _______________________________________________
> > Plone-IT mailing list
> > Plone-IT a lists.plone.org
> > https://lists.plone.org/mailman/listinfo/plone-it
> >
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
> >
>
>
>
> --
>   bye
> SauZheR
> ************************************
> l'iterazione è umana...
> la ricorsione, Divina!
> ************************************
> reply to: sauzher AT gmail DOT com
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>



-- 
Fabrizio
--------------------
"Life is what happens to you while you're busy making other plans" - J.
Lennon

“If you think education is expensive, try ignorance” - D. Bok
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20110131/c6123cfb/attachment-0002.html>


Maggiori informazioni sulla lista Plone-IT