Locating the Component that Generates a Menu

Archived Content
This article is provided for historical perspective only, and may not reflect current conditions. Please refer to relevant product page for more up-to-date product information and resources.
  • By Senaka Fernando
  • 7 Feb, 2011

Applies To:- WSO2 Carbon 2.0.0 or later.


Here, we have taken the Users and Roles menu-item under the Configure menu as an example.

Step 1

Click on the menu-item, which will open new page on your web browser.

Step 2

Make note of the URL. In this case, the URL would be https://localhost:9443/carbon/userstore/index.jsp?region=region1&item=userstores_menu.

Step 3

In the URL, you will find a parameter named item. Copy the value of this parameter to your clipboard. In this case, the value of the item parameter would be userstores_menu.

Step 4

Search for occurrences of the term userstores_menu in your source code. This can be done through a search application running on your operating system, which is capable of searching inside files (ex:- grep), or with any popular Java IDE (ex:- Eclipse, IntelliJ IDEA, or NetBeans).

Your search results will contain a component.xml file from the location, core/org.wso2.carbon.user.mgt.ui/VERSION/src/main/resources/META-INF/component.xml.



Senaka Fernando

Associate Technical Lead and Product Manager; WSO2, Inc.

[email protected]