I am using Wayfinder to output XML and need to include a number which represents the level location. For example, when displaying the 2nd item in the 3rd top level menu item the number I need to include will be 0302. I have tried using level to build this functionality using cacheManager to store the current count of each level but I get a weird number for each parent level, though the children are numbered correctly. So if there are 4 top level items, they all get numbered numbered 04 instead of 01,02,03 04. Is this a caching issue? Is there an easier way to do this?
Thanks