Page.Default_configA default configuration for pages.
"errormsg" containing a h2 with value "Error" and a paragraph if the exception is Session.Not_connected.js corresponds to the JavaScript files to include into each page. Os will automatically preprend the suffix "js/" as directory.
Use local_js instead of js for local scripts if you are building a mobile application. Os will automatically preprend the suffix "js/" as directory.
css (same as js but for style sheet files). Os will automatically prepend the suffix "css/" as directory.
Use local_css instead of css for local stylesheets if you are building a mobile application. Os will automatically prepend the suffix "css/" as directory.
val other_head :
unit ->
Html_types.head_content_fun Eliom.Content.Html.elt listother_head is a list of custom elements to add in the head section. It can be used to add <meta> elements, for example.
val default_error_page : 'a -> 'b -> exn -> content Lwt.tdefault_error_page get_param post_param exn is the default error page. get_param (resp. post_param) is the GET (resp. POST) parameters sent to the error page.
exn is the exception which must be caught when something went wrong.
val default_connected_error_page :
Types.User.id option ->
'a ->
'b ->
exn ->
content Lwt.tdefault_connected_error_page userid_o get_param post_param exn is the default error page for connected pages.
default_predicate get_param post_param is the default predicate.
val default_connected_predicate :
Types.User.id option ->
'a ->
'b ->
bool Lwt.tdefault_connected_predicate userid_o get_param post_param is the default predicate for connected pages.