package ocsigen-start
Build not yet checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=dfd00a648f0d5f64fcfc893427afc996
sha512=d7c77a9f9b617291ea8c49f4e77fcad8187c39e41d6cb2942ad1c8f45ba620ac261d25a3e75c1b2ce1fd429dad009abb45fab670542e722ab336dc681b99330a
doc/ocsigen-start.server/Os/Msg/index.html
Module Os.Msg
Call this function either from client or server side to display an error message in the page.
The message is displayed in a special box (a "div" with id "os_msg" created automatically in the body of the page).
It is displayed during a short amount of time then disappears. You may change the duration in seconds with the parameter duration (default can be set using function Msg.set_default_duration).
The two levels correspond to different classes that you can personalize by modifying the CSS class "os_err" (added for error messages to the box with ID "os_msg").
If ?onload is true, the message is displayed after the next page is displayed (default false). When called on server side, this is always the case.
val action_link_key_created : bool Eliom.Reference.Volatile.erefSet to true if an action link key has been already created and sent to the user email, else false. Default is false.
val wrong_pdata :
((string * string) * (string * string)) option Eliom.Reference.Volatile.eref((firstname, lastname), (password, password_confirmation)) option is a reference used to remember information about the user during a request when something went wrong (for example in a form when the password and password confirmation are not the same).
If the value is None, no user data has been set. Default is None.