Base class for Web pages that need to handle [User]s.
Base class for Web pages that need to handle [User]s.
It can automatically redirect / render / send errors based on whether a [User] opening the page is logged in or not.
This is the handler for logged in [User]s.
Overriding this lets you customize the behaviour for logged in [User]s.
[method handle_logged_in] calls this.
This is the handler for not logged in [User]s.
Overriding this lets you customize the behaviour for not logged in [User]s.
[method handle_not_logged_in] calls this.
Implementing this method will make the system call it instead of the normal built in html rendering methods on the engine side.
This is when you want to only customize the rendered html. If you need to change backend logic, look at the other available virtuals.
This is the handler for logged in [User]s.
Calls [method _handle_logged_in].
This is the handler for not logged in [User]s.
Calls [method _handle_not_logged_in].
The error code to send if the user is logged in, and in that case an error should be sent.
The redirect url to send if the user is logged in, and in that case a redirect should be sent.
The render type for logged in users.
The error code to send if the user is logged out, and in that case an error should be sent.
The redirect url to send if the user is logged out, and in that case a redirect should be sent.
The render type for logged out users.
Whether the menu should be automatically rendered or not.
Render the page normally.
Send a redirect.
Send an error.