<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Replacement for navigation nodes in Ivy 4.x HTML web pages?</title><link>https://answers.axonivy.com/questions/468/replacement-for-navigation-nodes-in-ivy-4-x-html-web-pages</link><description>&lt;p&gt;We are working with Ivy 4.3 to develop a web page based solution. We have a main project and several other projects that use the main one. How can we develop a nice site navigation in the layout JSP content objects so that I can start a process from another project. In 3.9 we had the navigation node content objects, but in Ivy4 they are no more there, So, how can we do this with Ivy 4?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/468/replacement-for-navigation-nodes-in-ivy-4-x-html-web-pages" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 30 Aug 2012 09:32:01 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/468/replacement-for-navigation-nodes-in-ivy-4-x-html-web-pages/469</link><description>&lt;p&gt;You can re-build the same approach like in 3.9 easily. Create in each project a folder &lt;code&gt;navigation&lt;/code&gt;  in which you store text content objects that contain your link information. Use a pre-defined structure that you can parse easily.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;%@ page import="ch.ivyteam.ivy.cm.IContentManagementSystem"%&amp;gt;
&amp;lt;%@ page import="ch.ivyteam.ivy.cm.IContentObject"%&amp;gt;
&amp;lt;%
    for(IContentManagementSystem cms : ivy.cms().getAllCmsFromRequiredProjects())
    {
        IContentObject navFolder = cms.getContentObject("/navigation");
        for (IContentObject navItem : navFolder.getChildren())
        {
%&amp;gt;
&amp;lt;%= navItem.getValues().get(0).getContentAsString() %&amp;gt;
&amp;lt;%
        }
    }
%&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Another possibility is to loop directly over all process starts and filter them according to a naming scheme. And then use the required process starts for the navigation links. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Thu, 30 Aug 2012 09:32:01 -0400</pubDate><guid>https://answers.axonivy.com/questions/468/replacement-for-navigation-nodes-in-ivy-4-x-html-web-pages/469</guid></item></channel></rss>