Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-1545

IDE generates wrong elements in "liferay-portlet.xml" when creat new portlet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.1
    • Labels:
      None
    • Environment:
      Liferay IDE 2.1.1.201405261711
      liferay-plugins-sdk-6.2-ce-ga2-20140319114139101
      liferay-portal-6.2-ce-ga2\

      Description

      Reproduce steps:

      1.Open IDE, create a new portlet project
      2.Create a new portlet for the project >>finish
      3.Open "liferay-portlet.xml" file , the new portlet has wrong elements now :

      <requires-namespaced-parameters> has been created twice also <header-portlet-css>and <footer-portlet-javascript> is missing :

      <portlet>
      <portlet-name>new</portlet-name>
      <icon>/icon.png</icon>
      <requires-namespaced-parameters>
      false
      </requires-namespaced-parameters>
      <requires-namespaced-parameters>false</requires-namespaced-parameters>
      <ajaxable>false</ajaxable>
      <css-class-wrapper>new-portlet</css-class-wrapper>
      </portlet>

        Attachments

          Activity

            People

            Assignee:
            kuo.zhang Kuo Zhang (Inactive)
            Reporter:
            lu.li Lu Li (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 16 weeks, 6 days ago

                Packages

                Version Package
                2.1.1