Applying getBoundContentId() upon another SiteNode ?
Farnoosh <[email protected]>
| Newsgroups | gmane.comp.cms.infoglue.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello every one,
I'm new in InfoGlue !
This question is maybe elementary, but I can not find the answere !!
I have a siteNode_1 who has a template_1.
This template has a component property, named « Article » (binding Content)
wich bindes to a content of Article type.
Beside, I have a SiteNode_2 who has a template_2.
In my template_2, I know the siteNodeId of my siteNode_1.
There, I would like to obtain the contentId of the « Article » of my
template_1.
How sould I do that ?
Well, I know how to obtain the ID of a component property (binding Content)
of somme currentSiteNode like this :
<%
BasicTemplateController templateLogic =
(BasicTemplateController)
request.getAttribute("org.infoglue.cms.deliver.templateLogic") ;
%>
<%= templateLogic.getComponentLogic().getBoundContentId("Article") %>
But how should I do for use the getBoundContentId() function upon another
SiteNode, else than the currentSiteNode ?
Thank you so much for your help.
Farnoosh
--
View this message in context: http://www.nabble.com/Applying-getBoundContentId%28%29-upon-another-SiteNode---tp22059119p22059119.html
Sent from the Infoglue - Dev mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Infoglue-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/infoglue-developer