X4 Produktdokumentation

Creating a Forgot Password Button

To create a Forgot Password button on the login page, a Button control must be added to the <Login> element in the .login file.

A Forgot Password action must then be inserted in the Button control.

Example

<?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>