loginRegisterWindow

Description: Allows login/logout and register features if needed. visually it's a single button with a popup window that has the login/register features.

JavaDoc: Click here

Remarks: The default stages in case of login/logout are the ones defined in DiF's configuration. See more about this here.

Body content: Empty. All enclosed content will be ignored.

Attributes:

Name Description Data type Required Default value
allowLogout The name (identifier) of the form Boolean No True
allowLogin The label for the form. Will create a field set for this Boolean No True
allowRememberMe Will provide a check box to set future auto-login via cookie in the browser Boolean No True
includeLoginForm Show a login form in a popup window Boolean No True
includeRegisterForm Show a registration form in a popup window Boolean No True
cssClass The CSS class to apply to the login/logout link button String No -
onLoginStage The target destination after submit String No The current stage
onLogoutStage The target destination after submit String No The home stage
onRegisterStage The target destination after sucessfull registration String No The home stage

Examples:

<dif:document>
    <dif:loginRegisterWindow allowLogin="true" allowLogout="true" /></div>
    ...
</dif:document>

Back to tag reference