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

The jsf-applicant-portlet renders "Thank you {0} for applying ..." rather than "Thank you for applying ..." after submitting the form

    Details

      Description

      Steps to Reproduce:

      1. Deploy the jsf-applicant-portlet and add it to a portal page in Liferay Portal 6.2 or 7.0

      2. Fill out the form and click Submit

      Expected behavior: The portlet should render "Thank you for applying..."

      Actual behavior: The portlet renders "Thank you

      {0} for applying..."

      h3. Problem Background:

      This problem is caused by FACES-2797 and the following commits:
      - liferay-faces-portal.git 632e58ad0dcdb01e67de5f9f51cc493f65b29999
      - liferay-faces-bridge-ext.git (5.x) cd6f9ed0c1f58bdd1bf56345472006449a4eb2c1

      The key thank-you-for-applying-for-a-job-with-our-organization is found in the portlet's i18n.properties file but is also found in the Liferay Portal out-of-the-box Language.properties file. The Liferay Portal version contains the "{0}

      " token.

      One solution would be to simply rename the key in the portlet so that it does not get the one from the Language.properties file.

      Note that this affects all "applicant" demo portlets, not just the jsf-applicant-portlet.

        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:
                Resolved:

                Packages

                Version Package
                bridge-impl-2.1.0
                bridge-impl-3.1.0
                bridge-impl-4.1.0
                portal-3.0.1
                test-selenium-0.4.1