Hi,
for having the traduction, use $tdoc (translated document) instead of $doc
$tdoc.title
jeremi
On 9/11/06, Lijour, Marc (EDU) <Marc.Lijour(a)ontario.ca> wrote:
Hi
I want to retrieve the "title" of the document - which is added in the
"title" field just above the document content editor field.
I can use something like $doc.getTitle() in the default document (in
English). But when I use it in French it gives me the title of the English
(default) document.
I tried a couple of other functions from the Api but I can't find the right
one. I am sure there is a way to retrieve this information but I don't know
how.
I am using Xwiki unstable (1252 on Jetty and HSQL). And I appreciate your
help.
Marc Lijour
Agent d'éducation
Direction des politiques et programmes
d'éducation en langue française
Ministère de l'Éducation
8e étage, édifice Mowat
900, rue Bay
Toronto (Ontario) M7A 1L2
Téléphone : 416 325-3501
Télécopieur : 416 325-2156
<<Lijour, Marc (EDU).vcf>>
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
jeremi