Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Tomasz M Lipinski
98
Views
2
Comments
Indicating Active Menu
Question
Hi,
What is the way the Menu WebBlock is supplied with Menu and Submenu IDs? I have two top menus and a submenu under each of them. Each of these submenus is linked to the same Web Screen but with different parameters. The problem is that regardless which submenu is selected the same top menu is indicated as the active one. Is it because these submenus point to the same web screen? What is the way to solve this issue?
Regards
Tomasz
Joshua Austin
The menu is a web block with an input parameter to indicate if it a menu item and/or submenu item is active. You could create a "from" input parameter to the web screen and then set the menu input parameter depending on the "from" input parameter using an If function.
Tomasz M Lipinski
OK, my fault and ignorance. The key point is that the menu Web Block is inserted on each Web Screen with appropriate parameters. It is inserted automatically when creating a new Web Screen so its existence was not obvious.
When it has been cleared the rest is trivial :-)
Regards
Tomasz
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...