Created navigation with my own mock. Breadscumb uses primefaces, menu uses forEach. Actions from breadscrumb processed by BIG code :D, actions from menu processed by regex (see implementation). TROUBLE was with ID's. They CAN NOT contain spaces, start with numbers, etc. So first we are going through the list of our topics, iterating with i, and making such ID's as Topic1, Topic2. Than we can fetch titles from that ID's. That's all.