X4 Produktdokumentation

Creating the "Forgot Password" Button

To create a Forgot Password button on the login page, you need to insert a Button in the <Login> element in the .login file.

In the Button, you then need to insert a "Forgot password" Action.

Beispiel

<?xml version="1.0" encoding="UTF-8"?>
<Login
    xmlns="http://softproject.de/webapp/1.0">
    <DetailComponent>
        <FlowLayout>
            <Button>
                <ForgotPasswordAction displayName="$forgotPasswordLabel"/>
            </Button>
        </FlowLayout>
    </DetailComponent>
</Login>