Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-69354

Cannot inherit from ForgotPasswordMVCActionCommand

    Details

      Description

      Hi,

      I am actually overriding the default login.jsp and forgot_password.jsp. It was easy for the login, because I have just changed the CSS a little and implemented my own Authenticator like in liferay-blade-samples (https://github.com/liferay/liferay-blade-samples/tree/master/liferay-workspace/modules/blade.authenticator.shiro).

      Now I am trying to do the same with the forgot_password.jsp, but it does not have an interface to redefine like the Authenticator and login.jsp. So I decided to read the Liferay source code and found the ForgotPasswordMVCActionCommand class (https://github.com/liferay/liferay-portal/blob/master/modules/apps/foundation/login/login-web/src/main/java/com/liferay/login/web/internal/portlet/action/ForgotPasswordMVCActionCommand.java), decided to add the "com.liferay.login.web" dependency in my project and create my own class which inherits from ForgotPasswordMVCActionCommand, use my own mvc.command.name in the @Component, but every time I try to override this class (or another class from the same Liferay package) and deploy my module with blade, all my work on the login.jsp is completely lost !

      Best regards,

        Attachments

          Activity

            People

            Assignee:
            tomas.polesovsky Tomáš Polešovský
            Reporter:
            g g (Inactive)
            Participants of an Issue:
            Recent user:
            Michael Saechang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 51 weeks, 6 days ago

                Packages

                Version Package