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

Use different defaults when creating new portlets with New Liferay Portlet wizard

    Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.1
    • Component/s: Wizards
    • Labels:
      None

      Description

      When creating a new Liferay Project of Type Portlet:

      And when creating a Portlet class: "NewPortlet":

      Can we have the following changes to the defaults the wizard generates?

      • Name: "new-portlet" (seems to be Liferay's standard convention to use a dash)
      • Display name: "New Portlet" (Since it's a display name, a space makes more sense between camel casing.)
      • Title: "New Portlet" (Since it's a Title, a space makes more sense.)
      • JSP folder: "html/new" (Seems to fit Liferay's core convention for our portlets to not include the word "portlet" in the html directory.)

      And CSS classname is redundant since it will usually be "...portlet-portlet": (Maybe we can have just newportlet?)

        Attachments

          Activity

            People

            Assignee:
            vicky.wang Vicky Wang (Inactive)
            Reporter:
            edward.shin Edward Shin (Inactive)
            Participants of an Issue:
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 18 weeks ago

                Packages

                Version Package
                1.6.1