Legacy Knowledge Base
Published Jul. 2, 2025

How do set the different URLs for each UI tab on the page?

Written By

Thanga Meena

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Using UI tabs functionality on one of the pages. There are multiple tabs like 3 tabs and while accessing each tab its URL is the same. How do set the different URLs for each UI tab on the page?

Environment

  • Liferay DXP 7.2

Resolution

  • In order to provide the URL either to the specific or each UI tabs, there is an attribute url. Like, URL to which all the tabs are linked when clicked or set each tab's URL individually using the url[number] attribute.
  • Note: url0, url1, url2, and henceforth which is deprecated as of 7.0.0 and replaced by the attribute urls. Please go through the Tabs taglib docs for the full list of attributes and you can use it as per the business needs.
  • Liferay UI Tabs and Sections, This official document has the example code snippet and procedures of the tabs describes how to organize content into individual sections. 

Additional Information

Please Note: Please choose to follow your appropriate discretion in the use of this information as these are not documented by Liferay

Did this article resolve your issue ?

Legacy Knowledge Base