<?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>How to add new sections to existing form in Liferay 7.1</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111928041" />
  <subtitle>How to add new sections to existing form in Liferay 7.1</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111928041</id>
  <updated>2026-04-03T17:44:46Z</updated>
  <dc:date>2026-04-03T17:44:46Z</dc:date>
  <entry>
    <title>RE: How to add new sections to existing form in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112374928" />
    <author>
      <name>Gilberto Lam</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112374928</id>
    <updated>2019-02-16T08:01:06Z</updated>
    <published>2019-02-16T08:01:06Z</published>
    <summary type="html">&lt;span style="color: #000000"&gt;I was also facing same issue,but unable to get a solution to it&lt;/span&gt;.&lt;a href="https://www.mybkexperience.reviews/"&gt;&lt;span style="color: #000000"&gt;mybkexperience&lt;/span&gt;&lt;/a&gt;</summary>
    <dc:creator>Gilberto Lam</dc:creator>
    <dc:date>2019-02-16T08:01:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to add new sections to existing form in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112034193" />
    <author>
      <name>Prashanth Relekar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112034193</id>
    <updated>2019-01-17T06:58:17Z</updated>
    <published>2019-01-17T06:58:17Z</published>
    <summary type="html">&lt;p&gt;Thanks Nagendra.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The issue with my code was jsp path &lt;img alt="smiley" height="23"
    src="https://community.liferay.com/o/frontend-editor-ckeditor-web/ckeditor/plugins/smiley/images/regular_smile.png"
    title="smiley" width="23" /&gt;&lt;/p&gt;</summary>
    <dc:creator>Prashanth Relekar</dc:creator>
    <dc:date>2019-01-17T06:58:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to add new sections to existing form in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111949932" />
    <author>
      <name>Nagendra Kumar Busam</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111949932</id>
    <updated>2019-01-07T17:17:30Z</updated>
    <published>2019-01-07T17:17:30Z</published>
    <summary type="html">&lt;p&gt;Thank you Prashant, please find working example in repo &lt;a href="https://github.com/btnkumar/formnavigator-extender-add-section"&gt;https://github.com/btnkumar/formnavigator-extender-add-section&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Displays are static as of now.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Nagendra Kumar Busam</dc:creator>
    <dc:date>2019-01-07T17:17:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to add new sections to existing form in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111935485" />
    <author>
      <name>Prashanth Relekar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111935485</id>
    <updated>2019-01-07T08:34:16Z</updated>
    <published>2019-01-07T08:34:16Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;Hi Nagendra,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Below is my code&lt;/p&gt;
&lt;p&gt;
  &lt;u&gt;
    &lt;em&gt;OrganizationInstallProductsFormNavigatorEntry.java&lt;/em&gt;&lt;/u&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;&amp;lt;span style=""&amp;gt;package com.liferay.users.admin.web.internal.servlet.taglib.ui.portlet;&amp;lt;/span&amp;gt;&lt;/code&gt;

&lt;code&gt;import com.liferay.users.admin.web.internal.servlet.taglib.ui.constants.OrganizationAssociateFormNavigatorEntryKeys;&lt;/code&gt;

&lt;code&gt;import org.osgi.service.component.annotations.Component;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.language.LanguageUtil;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.servlet.taglib.ui.FormNavigatorConstants;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.servlet.taglib.ui.FormNavigatorEntry;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.servlet.taglib.ui.BaseJSPFormNavigatorEntry;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.model.Organization;&lt;/code&gt;

&lt;code&gt;import java.util.Locale;&lt;/code&gt;

&lt;code&gt;import javax.portlet.PortletPreferences;&lt;/code&gt;

&lt;code&gt;import javax.servlet.ServletContext;&lt;/code&gt;

&lt;code&gt;import javax.servlet.http.HttpServletRequest;&lt;/code&gt;

&lt;code&gt;import javax.servlet.http.HttpServletResponse;&lt;/code&gt;

&lt;code&gt;import java.util.ResourceBundle;&lt;/code&gt;

&lt;code&gt;import java.io.IOException;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.util.PrefsParamUtil;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.util.PrefsPropsUtil;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.util.ResourceBundleUtil;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.util.WebKeys;&lt;/code&gt;

&lt;code&gt;import com.liferay.portal.kernel.theme.ThemeDisplay;&lt;/code&gt;

&lt;code&gt;import org.osgi.service.component.annotations.Reference;&lt;/code&gt;

&lt;code&gt;@Component(&lt;/code&gt;
&lt;code&gt;    property = "form.navigator.entry.order:Integer=40",&lt;/code&gt;
&lt;code&gt;    service = FormNavigatorEntry.class&lt;/code&gt;
&lt;code&gt;)&lt;/code&gt;

&lt;code&gt;public class OrganizationInstallProductsFormNavigatorEntry&lt;/code&gt;
&lt;code&gt;    extends BaseJSPFormNavigatorEntry&amp;amp;lt;Organization&amp;amp;gt;&lt;/code&gt;
&lt;code&gt;    implements FormNavigatorEntry&amp;amp;lt;Organization&amp;amp;gt; {&lt;/code&gt;

&lt;code&gt;    @Override&lt;/code&gt;
&lt;code&gt;    public String getCategoryKey() {&lt;/code&gt;
&lt;code&gt;        return FormNavigatorConstants.&lt;/code&gt;
&lt;code&gt;            CATEGORY_KEY_ORGANIZATION_ORGANIZATION_INFORMATION;&lt;/code&gt;
&lt;code&gt;    }&lt;/code&gt;

&lt;code&gt;    @Override&lt;/code&gt;
&lt;code&gt;    public String getFormNavigatorId() {&lt;/code&gt;
&lt;code&gt;        return FormNavigatorConstants.FORM_NAVIGATOR_ID_ORGANIZATIONS;&lt;/code&gt;
&lt;code&gt;    }&lt;/code&gt;

&lt;code&gt;    @Override&lt;/code&gt;
&lt;code&gt;    protected String getJspPath() {&lt;/code&gt;
&lt;code&gt;        return "install_products.jsp";&lt;/code&gt;
&lt;code&gt;    }&lt;/code&gt;

&lt;code&gt;    @Override&lt;/code&gt;
&lt;code&gt;    public String getKey() {&lt;/code&gt;
&lt;code&gt;        return "install-products";&lt;/code&gt;
&lt;code&gt;    }&lt;/code&gt;

&lt;code&gt;    @Override&lt;/code&gt;
&lt;code&gt;    public String getLabel(Locale locale) {&lt;/code&gt;
&lt;code&gt;        ResourceBundle resourceBundle = ResourceBundleUtil.getBundle(&lt;/code&gt;&lt;code&gt;"content.Language", locale, getClass());&lt;/code&gt;
&lt;code&gt;        return resourceBundle.getString("install-products");&lt;/code&gt;
&lt;code&gt;    }
&lt;/code&gt;
&lt;code&gt;    @Override&lt;/code&gt;
&lt;code&gt;    public void include(HttpServletRequest request, HttpServletResponse response)&amp;lt;span style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;&lt;/code&gt;&lt;code&gt;throws IOException {&lt;/code&gt;

&lt;code&gt;    request.setAttribute(&lt;/code&gt;
&lt;code&gt;    OrganizationAssociateFormNavigatorEntryKeys.COMPANY_MY_APP_FEATURE_ENABLED, true);&lt;/code&gt;

&lt;code&gt;    super.include(request, response);&lt;/code&gt;
&lt;code&gt;    }&lt;/code&gt;

&lt;code&gt;    @Override&lt;/code&gt;
&lt;code&gt;    @Reference(&lt;/code&gt;
&lt;code&gt;        target = "(osgi.web.symbolicname=com.liferay.users.admin.web.internal.servlet.taglib.ui)",&lt;/code&gt;
&lt;code&gt;        unbind = "-"&lt;/code&gt;
&lt;code&gt;    )&lt;/code&gt;

&lt;code&gt;    public void setServletContext(ServletContext servletContext) {&lt;/code&gt;
&lt;code&gt;        super.setServletContext(servletContext);&lt;/code&gt;
&lt;code&gt;    }&lt;/code&gt;

&lt;code&gt;}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
  &lt;u&gt;
    &lt;em&gt;bnd.bnd&lt;/em&gt;&lt;/u&gt;&lt;/p&gt;
&lt;pre&gt;
Bundle-Name: organization-information-form-sections
Bundle-SymbolicName: com.liferay.users.admin.web.internal.servlet.taglib.ui
Bundle-Version: 1.0.0
Export-Package: com.liferay.users.admin.web.internal.servlet.taglib.ui.constants
Include-Resource:\
    META-INF/resources=src/main/resources/META-INF/resources
-jsp: *.jsp,*.jspf
-plugin.jsp: com.liferay.ant.bnd.jsp.JspAnalyzerPlugin
-plugin.resourcebundle: com.liferay.ant.bnd.resource.bundle.ResourceBundleLoaderAnalyzerPlugin
-plugin.sass: com.liferay.ant.bnd.sass.SassAnalyzerPlugin
-sass: *
Web-ContextPath: /organization-information-form-sections&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
install_products.jsp is inside src/main/resources/META-INF/resources folder&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Prashanth Relekar</dc:creator>
    <dc:date>2019-01-07T08:34:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to add new sections to existing form in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111932681" />
    <author>
      <name>Nagendra Kumar Busam</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111932681</id>
    <updated>2019-01-05T05:10:19Z</updated>
    <published>2019-01-05T05:10:19Z</published>
    <summary type="html">Can you please add a screen shot, to get idea of where you are trying to
add. If you can add your code to post, will help to debug ( instead of
doing it from scratch for the community memebers to try out)</summary>
    <dc:creator>Nagendra Kumar Busam</dc:creator>
    <dc:date>2019-01-05T05:10:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to add new sections to existing form in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111932011" />
    <author>
      <name>Prashanth Relekar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111932011</id>
    <updated>2019-01-05T04:35:54Z</updated>
    <published>2019-01-05T04:35:54Z</published>
    <summary type="html">&lt;p&gt;Hi Nagendra,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am using Liferay 7.1 and I didnt find form navigator related docs
  for liferay 7.1, hence refering to 7.0 docs as the approach is same (Hopefully).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am adding a new section to oraganization forms
  (organization-information category), similar to organization site. I
  was able to create a section, but the section content is empty though
  I am trying to show simple text from respective JSP. &lt;/p&gt;</summary>
    <dc:creator>Prashanth Relekar</dc:creator>
    <dc:date>2019-01-05T04:35:54Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to add new sections to existing form in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111928741" />
    <author>
      <name>Nagendra Kumar Busam</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111928741</id>
    <updated>2019-01-04T11:04:22Z</updated>
    <published>2019-01-04T11:04:22Z</published>
    <summary type="html">&lt;p&gt;Can you add your jsp OR If you have lot of logic in jsp, just try to
  display simple text.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Reference link you provided in based on Liferay 7.0, Post title says
  Liferay 7.1 - are you refererring to adding some section in System
  Settings (of Liferay 7.1). Please provide details where exactly you
  are trying to add new section.&lt;/p&gt;</summary>
    <dc:creator>Nagendra Kumar Busam</dc:creator>
    <dc:date>2019-01-04T11:04:22Z</dc:date>
  </entry>
  <entry>
    <title>How to add new sections to existing form in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111928040" />
    <author>
      <name>Prashanth Relekar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111928040</id>
    <updated>2019-01-04T10:12:30Z</updated>
    <published>2019-01-04T10:12:30Z</published>
    <summary type="html">&lt;p&gt;I refered this link (Liferay 7.0)&lt;/p&gt;
&lt;p&gt;https://dev.liferay.com/de/develop/tutorials/-/knowledge_base/7-0/form-navigator&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The new sections are added to the forms, but the JSP content is not reflecting.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am getting below error&lt;/p&gt;
&lt;p&gt;java.lang.NullPointerException&lt;br /&gt;         at
  com.liferay.portal.kernel.servlet.taglib.ui.BaseJSPFormNavigatorEntry.include(BaseJSPFormNavigatorEntry.java:51)&lt;br /&gt;
          at
  org.apache.jsp.html.taglib.ui.form_005fnavigator.lexicon.page_jsp$6.renderHTML(page_jsp.java:2812)&lt;br /&gt;
          at
  com.liferay.taglib.util.PortalIncludeUtil.include(PortalIncludeUtil.java:43)&lt;br /&gt;
          at
  org.apache.jsp.html.taglib.ui.form_005fnavigator.lexicon.page_jsp._jspService(page_jsp.java:2807)&lt;br /&gt;
          at
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)&lt;br /&gt;
          at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:731)&lt;br /&gt;    
      at
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)&lt;br /&gt;
          at
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)&lt;br /&gt;
          at
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)&lt;br /&gt;
          at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:731)&lt;br /&gt;    
      at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)&lt;br /&gt;
          at
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:100)&lt;br /&gt;
          at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)&lt;br /&gt;
          at
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;br /&gt;
          at
  org.apache.logging.log4j.core.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:59)&lt;br /&gt;
          at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)&lt;br /&gt;
          at
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;br /&gt;
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)&lt;/p&gt;</summary>
    <dc:creator>Prashanth Relekar</dc:creator>
    <dc:date>2019-01-04T10:12:30Z</dc:date>
  </entry>
</feed>
