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

change the default folder and xhtml file name when creating Liferay JSF Portlet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: Wizards > Portlet
    • Labels:
      None

      Description

      steps to reproduce:

      right click -> New -> Liferay JSF Portlet
      Next

      • Name: "parts"
      • Display Name: Parts Portlet
      • Title: Parts Portlet
      • change the folder name from /xhtml/parts to /parts
        get this error:
        "JSP folder cannot match portlet name"
        The letters "JSP" should not be in that error message.
      • so change the folder to /views/parts

      Expected results:
      folder name should default to: /views/parts
      file name should default to: view.xhtml
      This would make the portlet much closer to matching the new Liferay Plugins Project wizard's generated portlet.

      Actual results:
      default folder name was: /xhtml/parts
      default file name: portletViewMode.xhtml

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 44 weeks, 1 day ago

                  Packages

                  Version Package
                  2.0.1