Hi,

sorry, I'm not sure what you are trying to do, but if you just want to
retrieve the page definition then you can try:

ContentPage parentPage = ContentPage.getPage(parentId);
JahiaPageDefinition pageDef = parent.getPageTemplate (jParams);

Regards,
Khue


----- Original Message ----- 
From: "Mokrinsky Alexey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 22, 2004 4:59 PM
Subject: Re[2]: Re:childs pages


> Hello Khue Nguyen!
> Thank you for your replies!
>
> How can I get the page definition if I have pageId?
> What I need is to go up the tree to the one that has concrete page
definition.
> For example I start from pageId=10, take its parentId, take the page with
this parentId (ContentPage.getPage(parentId)) and
> now I need to check the value of this parent page definition.
>
> Thanks,
> Alex
>
>
> __________
> www.newmail.ru -- Новая Почта для нового поколения.


Reply via email to