You can also use :

JahiaField field = jData.fields.getAbsoluteField(String fieldName, int pageID);

Regards,
  Serge...

At 14:47 09.06.2004, you wrote:
Hello,

I've used that piece of code for my purpose

ContentField longTitle = ContentField.getField(JahiaFieldBaseService.getInstance().getFieldID("title", contentPage.getID()));%>
<%=longTitle.getValue(jData.params())%>


Where contentPage is the contentPage associated to the JahiaPage containing the field "title".

Regards

-----Original Message-----
From: Jurjan-Paul Medema [mailto:[EMAIL PROTECTED]
Sent: 09 June 2004 14:41
To: [EMAIL PROTECTED]
Subject: referring to a field declared on another page


Hello list,

Well, I suppose (or seem to remember) this must have been covered before
on this list, but have so far failed to find the specific thread in the
archive(s).

How does one refer to a field that is defined and maintained on another
page (not in a container)?
The JahiaPage and ContentPage classes don't seem to offer a way of
accessing fields declared on them... What am I missing?

Thanks a lot,
  Jurjan-Paul

--
----- ---- --- -- - - - - - - - -
J.P. Medema
E: [EMAIL PROTECTED]
----- ---- --- -- - - - - - - - -

- -- --- -----=[ serge.huber at jahia dot com ]=---- --- -- -
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company





Reply via email to