Hi, Here is my solution : If my response.menu is somthing like :
response.menu = [('Menu1', False), ('Menu2', True), ('Menu3', False)]
I can use this in my view to display the active menu :
{{=[x[0] for x in response.menu if x[1]==True][0]}}
It's working well, but is there no better and more efficient way ?
Thanks,

