Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3474

Applicant demo portlets are missing i18n translations for "View", "Edit", and "Help"

    Details

      Description

      The sponsorButton.xhtml composite component contains XHTML markup similar to the following:

      sponsorButton.xhtml
      <a id="viewLink" href="#{viewRenderURL}">#{i18n['View']}</a> .
      <a id="editLink" href="#{editRenderURL}">#{i18n['Edit']}</a> .
      <a id="helpLink" href="#{helpRenderURL}">#{i18n['Help']}</a>
      

      The problem is that the i18n EL expressions are not using keys that are found in the i18n translations.

      Instead, the code should look like this:

      sponsorButton.xhtml
      <a id="viewLink" href="#{viewRenderURL}">#{i18n['view']}</a> .
      <a id="editLink" href="#{editRenderURL}">#{i18n['edit']}</a> .
      <a id="helpLink" href="#{helpRenderURL}">#{i18n['help']}</a>
      

      And the following translations should be added to i18n.properties:

      edit=Edit
      help=Help
      view=View
      

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                bridge-impl-4.1.4