Jul 2, 2010 at 6:04 AM
Edited Jul 2, 2010 at 6:05 AM
@maartenba, That's totally fine, and in fact, I *want* to define all my nodes in the sitemap.xml file.
And that's what I've done, and it all works.
Except that, as I said, it's not highlighting the selected node properly.
For example, say I browse to "Persons/Jonathan" and I have a node in my sitemap XML like this:
<sitemapNode controller="Persons" action="Jonathan" />
It will show that item in the navigation, but it just won't mark it as "selected". It will *always* mark the first item as selected, even if the first item isn't actually selected.
I checked View->Source just to make sure this wasn't a CSS issue. It isn't - there simply isn't any "selected" class on the HTML.
Even though I passed "selected" as a parameter to the 'Menu' helper method.
Anything I can do to fix this?