This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
My question is: how to set actiom method in the second parameter of NavigationMenuItem that i could pass category id to this action and do something with that id? There's a method setAction in NavigationMenuItem, but what should I pass as a parameter?