Highlight Menu item of the current page in Java?

Hello everyone, I have a question about what Mendix will highlight when you visit a Mendix website. Now it has set a destination which it will show but the highlighted menu item is always the first. There is a JavanScriptOnLoad that selects the first item.   Is there a easier way or better way to let Mendix highlight the current page? 
1 answers

Hi Elwin,

Try this widget out and let me know how it goes. I built it pretty recently and it worked for my needs. I hope it works for you too: