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?

asked 29.08.2012 at 09:43

Matthias%20Maurer's gravatar image

Matthias Maurer
accept rate: 0%

You can re-build the same approach like in 3.9 easily. Create in each project a folder navigation in which you store text content objects that contain your link information. Use a pre-defined structure that you can parse easily.

<%@ page import="ch.ivyteam.ivy.cm.IContentManagementSystem"%>
<%@ page import="ch.ivyteam.ivy.cm.IContentObject"%>
    for(IContentManagementSystem cms : ivy.cms().getAllCmsFromRequiredProjects())
        IContentObject navFolder = cms.getContentObject("/navigation");
        for (IContentObject navItem : navFolder.getChildren())
<%= navItem.getValues().get(0).getContentAsString() %>

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.


answered 30.08.2012 at 09:32

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 69%

Your answer
toggle preview

Follow this question

By Email:




Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • numbered list: 1. Foo 2. Bar
  • basic HTML tags are also supported



Asked: 29.08.2012 at 09:43

Seen: 1,047 times

Last updated: 29.08.2012 at 09:43