<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Adding custom panel menu</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121530006" />
  <subtitle>Adding custom panel menu</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121530006</id>
  <updated>2026-04-06T19:50:18Z</updated>
  <dc:date>2026-04-06T19:50:18Z</dc:date>
  <entry>
    <title>RE: Adding custom panel menu</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121534088" />
    <author>
      <name>Nan MoKham</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121534088</id>
    <updated>2022-10-11T14:27:06Z</updated>
    <published>2022-10-11T03:22:17Z</published>
    <summary type="html">&lt;p&gt;Finally I get it&lt;/p&gt;</summary>
    <dc:creator>Nan MoKham</dc:creator>
    <dc:date>2022-10-11T03:22:17Z</dc:date>
  </entry>
  <entry>
    <title>Adding custom panel menu</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121530005" />
    <author>
      <name>Nan MoKham</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121530005</id>
    <updated>2022-10-07T16:46:00Z</updated>
    <published>2022-10-07T10:50:48Z</published>
    <summary type="html">&lt;p&gt;I want to add custom panel menu like Feedback &amp;amp; Inquiry panel in
  the following pic. liferay DXP 7.0 &lt;img alt="" src="/documents/d/guest/panel-menu-1-jpg?imagePreview=1" /&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;package com.liferay.docs.report.application.list;

import com.liferay.application.list.BasePanelCategory;
import com.liferay.application.list.PanelCategory;
import com.liferay.application.list.constants.PanelCategoryKeys;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.util.ResourceBundleUtil;


import org.osgi.service.component.annotations.Component;

import constants.ReportPanelCategoryKeys;

import java.util.Locale;
import java.util.ResourceBundle;

@Component(immediate = true, property = {&amp;quot;panel.category.key=&amp;quot; + PanelCategoryKeys.SITE_ADMINISTRATION, &amp;quot;panel.category.order:Integer=100&amp;quot;}, service = PanelCategory.class)
public class ReportPanelCategory extends BasePanelCategory {

	@Override
	public String getKey() {
		return ReportPanelCategoryKeys.CONTROL_PANEL_CATEGORY;
	}

	@Override
	public String getLabel(Locale locale) {
		ResourceBundle resourceBundle = ResourceBundleUtil.getBundle(&amp;quot;content.Language&amp;quot;, locale, getClass());

		return LanguageUtil.get(resourceBundle, &amp;quot;category.custom.label&amp;quot;);
	}
}&lt;/code&gt;&lt;/pre&gt;</summary>
    <dc:creator>Nan MoKham</dc:creator>
    <dc:date>2022-10-07T10:50:48Z</dc:date>
  </entry>
</feed>
