Re: getting JahiaPage object thanks to the ID

C Anatole <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
Ok, 
 
I found this :

JahiaPage tmp = ServicesRegistry.getInstance ().getJahiaPageService ().lookupContentPage(myID, false).getPage(jParams);
And it works
 
Thanks

C Anatole <[email protected]> wrote:
Hello,
   I am starting to work with Jahia and my question is : I've got a Jahia page ID (int), does anybody knows how to get the JahiaPage Object corresponding to this ID ? 
something like JahiaPage myJahiaPage = jData.getJahiaPage(myID); 
Thanks
 
Anatole


---------------------------------
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail
		
---------------------------------
 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.