[Plone-IT] API Plone e oggetti news/events
Redbedbug
redbedbug a gmail.com
Gio 23 Ott 2008 11:37:32 UTC
On Thu, Oct 23, 2008 at 10:45:33AM +0200, Vito Falco wrote:
> Ciao,
> ottimi strumenti di reference e browsing dei metodi di zope/plone sono i
> seguenti prodotti:
> DocFinderTab (consultabile via ZMI)
> Clouseau (prodotto per Plone)
>
> Per ottenere semplicemente il valore di un campo di un oggetto esiste una
> maniera "magica" :)
>
> Per esempio per interrogare il campo "description" di un tuo oggetto e
> stamparlo puoi (in una pagetemplate) scrivere cosė:
>
> <p tal:content="python: tuooggetto.getDescription()" />
> Per ogni campo c'č empre un metodo *magico* che si richiama con
> getNomeCampo()
Ciao, diciamo che non č una regola fissa :)
Mi sto aiutando con i sorgenti.
Grazie lo stesso,
Rbb.
>
> Vito
>
> Il giorno 23 ottobre 2008 10.37, Redbedbug <redbedbug a gmail.com> ha scritto:
>
> > Ciao tutti,
> >
> > avrei bisogno di conoscere i metodi per ottenere i campi di un oggetto
> > Events o News (es. luogo, quando ecc.).
> >
> > Su api.plone.org il tutto non mi e` molto chiaro, e ovviamente non
> > riesco ad usare dir(obj) negli script in plone.
> >
> > C'e` una api-doc piu` easy o qualche modo per sapere quali metodi
> > possiede un oggetto?
> >
> > --
> > Rbb
> >
> >
> > _______________________________________________
> > 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
> >
>
>
>
> --
> "Design is the method of putting form and content together. Design, just as
> art, has multiple definitions; there is no single definition. Design can be
> art. Design can be aesthetics. Design is so simple, that's why it is so
> complicated." by Paul Rand
> _______________________________________________
> 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