Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-97198

Portlet name in liferay-portlet and portlet xml are not same in spring-war-mvc project with a single name that contains uppercase

    Details

      Description

      • create a spring-mvc-portlet module using name springMvc(porject name contains a uppercase
      • go to src/main/webapp/WEB-INF folder

      1. in liferay-portelt.xml

      <portlet-name>springMvc</portlet-name>

      2. in portlet.xml(${className.toLowerCase()})

      <portlet-name>springmvc</portlet-name>

      3. portlet-id in liferay-display.xml 

      <portlet id="springMvc" />

        Attachments

          Activity

            People

            Assignee:
            gregory.amerson Gregory Amerson
            Reporter:
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Participants of an Issue:
            Recent user:
            Lawrence Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              1 year, 36 weeks, 3 days ago

                Packages

                Version Package