to get an attribute, you use the get<attrName> concept, with the first
letter of the attribute name being uppercase. But Text might not be
the name of the attribute :) You can look at the schema to double
check. also make sure that obj is actually an object and not a
catalog result.
not sure that I 100% get your second question, but it seems like what
you are looking for is the tal "structure" syntax.
hth,
eleddy
On Jul 24, 3:57 am, nesapio <calimer...@gmx.de> wrote:
> Hello,
> I would like to write a listing for the news Items in my sitem but I don't
> know how to access the Text attribut of the newsItems. Is there a
> possibility to list all accessors of a content type, or is there a good
> documentation about these accessors and fields of certain types? I already
> tried this:
>
> tal:replace="obj/getText" tal:replace="obj/Text"
> but none of these works.
>
> Furthermore I would like to have the newsItems in an archiv. The archiv
> should have a lot of pages and on every page there should only be 10 items,
> then the next 10 and so on. I would like to make a Linklist, where I can
> navigate to the 20th or 30th NewsItem page. I tried to generate the HTML
> explicitly with an python script, but that doesn't work, because the html is
> inserted without being interpreted. Is there a better solution to make such
> a Linklist?
>
> Pleas help me, especially with the accessor, it's so frustrating to know the
> information is stored in the newsItem, but not being able to access it.
>
> Sören
> --
> View this message in context:
http://n2.nabble.com/Accessors-%28on-newsItems%29-tp580099p580099.html> Sent from the General Questions mailing list archive at Nabble.com.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Plone-Users mailing list
> Plone-Us...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/plone-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Plone-Users mailing list
Plone-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users