package eliom

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type !'a param' = 'a Eliom_form.param
type !'a param = 'a param'
val string_of_param : 'a Eliom_form.param -> 'a -> string
val float : float Eliom_form.param
val int : int Eliom_form.param
val int32 : int32 Eliom_form.param
val int64 : int64 Eliom_form.param
val nativeint : nativeint Eliom_form.param
val bool : bool Eliom_form.param
val string : string Eliom_form.param
val user : ('a -> string) -> 'a Eliom_form.param
val make_post_form : ?a:[< Html_types.form_attrib Action Class Enctype Id Method ] Arg.attrib list -> action:Arg.Xml.uri Arg.wrap -> ?id:Html_types.text Arg.wrap -> ?inline:bool -> [< Html_types.form_content_fun ] Arg.elt list Eliom_lazy.request -> [> Html_types.form ] Arg.elt
val cons_hidden_fieldset : [< Html_types.fieldset_content_fun ] Arg.elt Arg.list_wrap -> [> Html_types.fieldset ] as 'a Arg.elt list -> 'a Arg.elt list
val make_input : ?a:[< Html_types.input_attrib ] Arg.attrib list -> ?checked:bool -> typ: [< `Button | `Checkbox | `Color | `Date | `Datetime | `Datetime_local | `Email | `File | `Hidden | `Image | `Month | `Number | `Password | `Radio | `Range | `Reset | `Search | `Submit | `Tel | `Text | `Time | `Url | `Week ] Arg.wrap -> ?name:Html_types.text Arg.wrap -> ?src:Arg.Xml.uri Arg.wrap -> ?value:Html_types.cdata Arg.wrap -> unit -> [> Html_types.input ] Arg.elt
val make_button : ?a:[< Html_types.button_attrib ] Arg.attrib list -> button_type:[< `Button | `Reset | `Submit ] Arg.wrap -> ?name:Html_types.text Arg.wrap -> ?value:Html_types.text Arg.wrap -> [< Html_types.button_content_fun ] Arg.elt Arg.list_wrap -> [> Html_types.button ] Arg.elt
val make_textarea : ?a:[< Html_types.textarea_attrib ] Arg.attrib list -> name:Html_types.text Arg.wrap -> ?value:string Arg.wrap -> unit -> [> Html_types.textarea ] Arg.elt
val make_select : ?a:[< Html_types.select_attrib Multiple Name ] Arg.attrib list -> multiple:bool -> name:Html_types.text Arg.wrap -> [< Html_types.select_content_fun ] as 'a Arg.elt -> 'a Arg.elt list -> [> Html_types.select ] Arg.elt
val make_option : ?a:[< Html_types.option_attrib Selected Text_Value ] Arg.attrib list -> selected:bool -> ?value:Html_types.text Arg.wrap -> [< Html_types.option_content_fun ] Arg.elt Arg.wrap -> [> Html_types.selectoption ] Arg.elt
val make_post_uri_components : ?absolute:bool -> ?absolute_path:bool -> ?https:bool -> service: ('a, 'b, Eliom_service.post, 'c, 'd, 'e, 'f, [< `WithSuffix | `WithoutSuffix ], 'g, 'h, 'i) Eliom_service.t -> ?hostname:string -> ?port:int -> ?fragment:string -> ?keep_nl_params:[ `All | `None | `Persistent ] -> ?nl_params:Eliom_parameter.nl_params_set -> ?keep_get_na_params:bool -> 'a -> 'b -> string * (string * Eliommod_parameters.param) list * string option * (string * Eliommod_parameters.param) list
val get_form_ : ('a -> ([< `A of [< Html_types.flow5_without_interactive ] | `Abbr | `Address | `Article | `Aside | `Audio of [< Html_types.flow5_without_media ] | `Audio_interactive of [< Html_types.flow5_without_media ] | `B | `Bdo | `Blockquote | `Br | `Button | `Canvas of [< Html_types.flow5 ] | `Cite | `Code | `Command | `Datalist | `Del of [< Html_types.flow5 ] | `Details | `Dfn | `Div | `Dl | `Em | `Embed | `Fieldset | `Figure | `Footer | `H1 | `H2 | `H3 | `H4 | `H5 | `H6 | `Header | `Hgroup | `Hr | `I | `Iframe | `Img | `Img_interactive | `Input | `Ins of [< Html_types.flow5 ] | `Kbd | `Keygen | `Label | `Main | `Map of [< Html_types.flow5 ] | `Mark | `Menu | `Meter | `Nav | `Noscript of [< Html_types.flow5_without_noscript ] | `Object of [< Html_types.flow5 ] | `Object_interactive of [< Html_types.flow5 ] | `Ol | `Output | `P | `PCDATA | `Pre | `Progress | `Q | `Ruby | `Samp | `Script | `Section | `Select | `Small | `Span | `Strong | `Style | `Sub | `Sup | `Svg | `Table | `Template | `Textarea | `Time | `U | `Ul | `Var | `Video of [< Html_types.flow5_without_media ] | `Video_interactive of [< Html_types.flow5_without_media ] | `Wbr ] Arg.elt list -> 'b) -> 'c) -> ([> Html_types.form ] Arg.elt -> 'b) -> ?absolute:bool -> ?absolute_path:bool -> ?https:bool -> ?a:[< Html_types.form_attrib Action Method ] Arg.attrib list -> service: ('d, 'e, 'f, 'g, 'h, 'i, 'j, [< `WithSuffix | `WithoutSuffix ], 'k, 'l, 'm) Eliom_service.t -> ?hostname:string -> ?port:int -> ?fragment:string -> ?nl_params:Eliom_parameter.nl_params_set -> ?keep_nl_params:[ `All | `None | `Persistent ] -> ('k -> 'a) -> 'c
val post_form_ : ('a -> ([< `A of [< Html_types.flow5_without_interactive ] | `Abbr | `Address | `Article | `Aside | `Audio of [< Html_types.flow5_without_media ] | `Audio_interactive of [< Html_types.flow5_without_media ] | `B | `Bdo | `Blockquote | `Br | `Button | `Canvas of [< Html_types.flow5 ] | `Cite | `Code | `Command | `Datalist | `Del of [< Html_types.flow5 ] | `Details | `Dfn | `Div | `Dl | `Em | `Embed | `Fieldset | `Figure | `Footer | `H1 | `H2 | `H3 | `H4 | `H5 | `H6 | `Header | `Hgroup | `Hr | `I | `Iframe | `Img | `Img_interactive | `Input | `Ins of [< Html_types.flow5 ] | `Kbd | `Keygen | `Label | `Main | `Map of [< Html_types.flow5 ] | `Mark | `Menu | `Meter | `Nav | `Noscript of [< Html_types.flow5_without_noscript ] | `Object of [< Html_types.flow5 ] | `Object_interactive of [< Html_types.flow5 ] | `Ol | `Output | `P | `PCDATA | `Pre | `Progress | `Q | `Ruby | `Samp | `Script | `Section | `Select | `Small | `Span | `Strong | `Style | `Sub | `Sup | `Svg | `Table | `Template | `Textarea | `Time | `U | `Ul | `Var | `Video of [< Html_types.flow5_without_media ] | `Video_interactive of [< Html_types.flow5_without_media ] | `Wbr ] Arg.elt list -> 'b) -> 'c) -> ([> Html_types.form ] Arg.elt -> 'b) -> ?absolute:bool -> ?absolute_path:bool -> ?https:bool -> ?a:[< Html_types.form_attrib Action Class Enctype Id Method ] Arg.attrib list -> service: ('d, 'e, 'f, 'g, 'h, 'i, 'j, [< `WithSuffix | `WithoutSuffix ], 'k, 'l, 'm) Eliom_service.t -> ?hostname:string -> ?port:int -> ?fragment:string -> ?nl_params:Eliom_parameter.nl_params_set -> ?keep_nl_params:[ `All | `None | `Persistent ] -> ?keep_get_na_params:bool -> ('l -> 'a) -> 'd -> 'c
val option_map : ('a -> 'b) -> 'a option -> 'b option
val gen_input : ?a:[< Html_types.input_attrib ] Arg.attrib list -> input_type: [< `Button | `Checkbox | `Color | `Date | `Datetime | `Datetime_local | `Email | `File | `Hidden | `Image | `Month | `Number | `Password | `Radio | `Range | `Reset | `Search | `Submit | `Tel | `Text | `Time | `Url | `Week ] Arg.wrap -> ?value:'a -> ?src:Arg.Xml.uri Arg.wrap -> ?name:'b Eliom_parameter.param_name -> ('a -> Html_types.cdata Arg.wrap) -> [> Html_types.input ] Arg.elt
val input : ?a:[< Html_types.input_attrib ] Arg.attrib list -> input_type: [< `Button | `Checkbox | `Color | `Date | `Datetime | `Datetime_local | `Email | `File | `Hidden | `Image | `Month | `Number | `Password | `Radio | `Range | `Reset | `Search | `Submit | `Tel | `Text | `Time | `Url | `Week ] Arg.wrap -> ?name:'a Eliom_parameter.param_name -> ?value:'b -> 'b Eliom_form.param -> [> Html_types.input ] Arg.elt
val file_input : ?a:[< Html_types.input_attrib ] Arg.attrib list -> name:'a Eliom_parameter.param_name -> unit -> [> Html_types.input ] Arg.elt
val image_input : ?a:[< Html_types.input_attrib ] Arg.attrib list -> name:'a Eliom_parameter.param_name -> ?src:Arg.Xml.uri Arg.wrap -> unit -> [> Html_types.input ] Arg.elt
val checkbox : ?a:[< Html_types.input_attrib ] Arg.attrib list -> ?checked:bool -> name:'a Eliom_parameter.param_name -> value:'b -> 'b Eliom_form.param -> [> Html_types.input ] Arg.elt
val bool_checkbox_one : ?a:[< Html_types.input_attrib ] Arg.attrib list -> ?checked:bool -> name:'a Eliom_parameter.param_name -> unit -> [> Html_types.input ] Arg.elt
val radio : ?a:[< Html_types.input_attrib ] Arg.attrib list -> ?checked:bool -> name:'a Eliom_parameter.param_name -> value:'b -> 'b Eliom_form.param -> [> Html_types.input ] Arg.elt
val string_radio_required : ?a:[< Html_types.input_attrib ] Arg.attrib list -> ?checked:bool -> name:'a Eliom_parameter.param_name -> value:Html_types.cdata Arg.wrap -> unit -> [> Html_types.input ] Arg.elt
val button : ?a:[< Html_types.button_attrib ] Arg.attrib list -> button_type:[< `Button | `Reset | `Submit ] Arg.wrap -> name:'a Eliom_parameter.param_name -> value:'b -> 'b Eliom_form.param -> [< Html_types.button_content_fun ] Arg.elt Arg.list_wrap -> [> Html_types.button ] Arg.elt
val button_no_value : ?a:[< Html_types.button_attrib ] Arg.attrib list -> button_type:[< `Button | `Reset | `Submit ] Arg.wrap -> [< Html_types.button_content_fun ] Arg.elt Arg.list_wrap -> [> Html_types.button ] Arg.elt
val textarea : ?a:[< Html_types.textarea_attrib ] Arg.attrib list -> name:'a Eliom_parameter.param_name -> ?value:string Arg.wrap -> unit -> [> Html_types.textarea ] Arg.elt
type !'a soption = Html_types.option_attrib Arg.attrib list * 'a * Html_types.pcdata Arg.elt option * bool
type !'a select_opt = 'a Eliom_form.Make(Arg).select_opt =
  1. | Optgroup of [ `Accesskey | `Aria | `Class | `Contenteditable | `Contextmenu | `Dir | `Disabled | `Draggable | `Hidden | `Id | `Lang | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnTouchCancel | `OnTouchEnd | `OnTouchMove | `OnTouchStart | `OnVolumeChange | `OnWaiting | `Role | `Spellcheck | `Style_Attr | `Tabindex | `Title | `User_data | `XML_lang | `XMLns ] Arg.attrib list * string * 'a soption * 'a soption list
  2. | Option of 'a soption
val gen_select : ?a:[< Html_types.select_attrib ] Arg.attrib list -> ?multiple:bool -> ?required:[< Html_types.option_content_fun ] Arg.elt Arg.wrap -> name:Html_types.text Arg.wrap -> 'a select_opt -> 'a select_opt list -> ('a -> Html_types.text Arg.wrap Arg.wrap) -> [> Html_types.select ] Arg.elt
val make_info : https:bool option -> [ `Form_get | `Form_post ] -> ('a, 'b, 'c, 'd, 'e, 'f, 'g, [< `WithSuffix | `WithoutSuffix ], 'h, 'i, 'j) Eliom_service.t -> 'k -> ([ `A | `Form_get | `Form_post ] * (bool * Eliom_lib.Url.path) option * string option * Eliom_lib.poly) option Eliom_lazy.request
val a_onsubmit_service : ([ `A | `Form_get | `Form_post ] * (bool * string list) option * string option * Eliom_lib.poly) option Eliom_lazy.request -> Html_types.form_attrib Arg.attrib
val get_form : ?absolute:bool -> ?absolute_path:bool -> ?https:bool -> ?a:[< Html_types.form_attrib ] Arg.attrib list -> service: ('a, unit, 'b, 'c, 'd, 'e, 'f, [< `WithSuffix | `WithoutSuffix ], 'g, 'h, Eliom_service.non_ocaml) Eliom_service.t -> ?hostname:string -> ?port:int -> ?fragment:string -> ?keep_nl_params:[ `All | `None | `Persistent ] -> ?nl_params:Eliom_parameter.nl_params_set -> ?xhr:bool -> ('g -> [< `A of [< Html_types.flow5_without_interactive ] | `Abbr | `Address | `Article | `Aside | `Audio of [< Html_types.flow5_without_media ] | `Audio_interactive of [< Html_types.flow5_without_media ] | `B | `Bdo | `Blockquote | `Br | `Button | `Canvas of [< Html_types.flow5 ] | `Cite | `Code | `Command | `Datalist | `Del of [< Html_types.flow5 ] | `Details | `Dfn | `Div | `Dl | `Em | `Embed | `Fieldset | `Figure | `Footer | `H1 | `H2 | `H3 | `H4 | `H5 | `H6 | `Header | `Hgroup | `Hr | `I | `Iframe | `Img | `Img_interactive | `Input | `Ins of [< Html_types.flow5 ] | `Kbd | `Keygen | `Label | `Main | `Map of [< Html_types.flow5 ] | `Mark | `Menu | `Meter | `Nav | `Noscript of [< Html_types.flow5_without_noscript ] | `Object of [< Html_types.flow5 ] | `Object_interactive of [< Html_types.flow5 ] | `Ol | `Output | `P | `PCDATA | `Pre | `Progress | `Q | `Ruby | `Samp | `Script | `Section | `Select | `Small | `Span | `Strong | `Style | `Sub | `Sup | `Svg | `Table | `Template | `Textarea | `Time | `U | `Ul | `Var | `Video of [< Html_types.flow5_without_media ] | `Video_interactive of [< Html_types.flow5_without_media ] | `Wbr ] Arg.elt list) -> [> Html_types.form ] Arg.elt
val lwt_get_form : ?absolute:bool -> ?absolute_path:bool -> ?https:bool -> ?a:[< Html_types.form_attrib ] Arg.attrib list -> service: ('a, unit, 'b, 'c, 'd, 'e, 'f, [< `WithSuffix | `WithoutSuffix ], 'g, 'h, Eliom_service.non_ocaml) Eliom_service.t -> ?hostname:string -> ?port:int -> ?fragment:string -> ?keep_nl_params:[ `All | `None | `Persistent ] -> ?nl_params:Eliom_parameter.nl_params_set -> ?xhr:bool -> ('g -> [< `A of [< Html_types.flow5_without_interactive ] | `Abbr | `Address | `Article | `Aside | `Audio of [< Html_types.flow5_without_media ] | `Audio_interactive of [< Html_types.flow5_without_media ] | `B | `Bdo | `Blockquote | `Br | `Button | `Canvas of [< Html_types.flow5 ] | `Cite | `Code | `Command | `Datalist | `Del of [< Html_types.flow5 ] | `Details | `Dfn | `Div | `Dl | `Em | `Embed | `Fieldset | `Figure | `Footer | `H1 | `H2 | `H3 | `H4 | `H5 | `H6 | `Header | `Hgroup | `Hr | `I | `Iframe | `Img | `Img_interactive | `Input | `Ins of [< Html_types.flow5 ] | `Kbd | `Keygen | `Label | `Main | `Map of [< Html_types.flow5 ] | `Mark | `Menu | `Meter | `Nav | `Noscript of [< Html_types.flow5_without_noscript ] | `Object of [< Html_types.flow5 ] | `Object_interactive of [< Html_types.flow5 ] | `Ol | `Output | `P | `PCDATA | `Pre | `Progress | `Q | `Ruby | `Samp | `Script | `Section | `Select | `Small | `Span | `Strong | `Style | `Sub | `Sup | `Svg | `Table | `Template | `Textarea | `Time | `U | `Ul | `Var | `Video of [< Html_types.flow5_without_media ] | `Video_interactive of [< Html_types.flow5_without_media ] | `Wbr ] Arg.elt list Lwt.t) -> [> Html_types.form ] Arg.elt Lwt.t
val post_form : ?absolute:bool -> ?absolute_path:bool -> ?https:bool -> ?a:[< Html_types.form_attrib ] Arg.attrib list -> service: ('a, 'b, 'c, 'd, 'e, 'f, 'g, [< `WithSuffix | `WithoutSuffix ], 'h, 'i, Eliom_service.non_ocaml) Eliom_service.t -> ?hostname:string -> ?port:int -> ?fragment:string -> ?keep_nl_params:[ `All | `None | `Persistent ] -> ?keep_get_na_params:bool -> ?nl_params:Eliom_parameter.nl_params_set -> ?xhr:bool -> ('i -> [< `A of [< Html_types.flow5_without_interactive ] | `Abbr | `Address | `Article | `Aside | `Audio of [< Html_types.flow5_without_media ] | `Audio_interactive of [< Html_types.flow5_without_media ] | `B | `Bdo | `Blockquote | `Br | `Button | `Canvas of [< Html_types.flow5 ] | `Cite | `Code | `Command | `Datalist | `Del of [< Html_types.flow5 ] | `Details | `Dfn | `Div | `Dl | `Em | `Embed | `Fieldset | `Figure | `Footer | `H1 | `H2 | `H3 | `H4 | `H5 | `H6 | `Header | `Hgroup | `Hr | `I | `Iframe | `Img | `Img_interactive | `Input | `Ins of [< Html_types.flow5 ] | `Kbd | `Keygen | `Label | `Main | `Map of [< Html_types.flow5 ] | `Mark | `Menu | `Meter | `Nav | `Noscript of [< Html_types.flow5_without_noscript ] | `Object of [< Html_types.flow5 ] | `Object_interactive of [< Html_types.flow5 ] | `Ol | `Output | `P | `PCDATA | `Pre | `Progress | `Q | `Ruby | `Samp | `Script | `Section | `Select | `Small | `Span | `Strong | `Style | `Sub | `Sup | `Svg | `Table | `Template | `Textarea | `Time | `U | `Ul | `Var | `Video of [< Html_types.flow5_without_media ] | `Video_interactive of [< Html_types.flow5_without_media ] | `Wbr ] Arg.elt list) -> 'a -> [> Html_types.form ] Arg.elt
val lwt_post_form : ?absolute:bool -> ?absolute_path:bool -> ?https:bool -> ?a:[< Html_types.form_attrib ] Arg.attrib list -> service: ('a, 'b, 'c, 'd, 'e, 'f, 'g, [< `WithSuffix | `WithoutSuffix ], 'h, 'i, Eliom_service.non_ocaml) Eliom_service.t -> ?hostname:string -> ?port:int -> ?fragment:string -> ?keep_nl_params:[ `All | `None | `Persistent ] -> ?keep_get_na_params:bool -> ?nl_params:Eliom_parameter.nl_params_set -> ?xhr:bool -> ('i -> [< `A of [< Html_types.flow5_without_interactive ] | `Abbr | `Address | `Article | `Aside | `Audio of [< Html_types.flow5_without_media ] | `Audio_interactive of [< Html_types.flow5_without_media ] | `B | `Bdo | `Blockquote | `Br | `Button | `Canvas of [< Html_types.flow5 ] | `Cite | `Code | `Command | `Datalist | `Del of [< Html_types.flow5 ] | `Details | `Dfn | `Div | `Dl | `Em | `Embed | `Fieldset | `Figure | `Footer | `H1 | `H2 | `H3 | `H4 | `H5 | `H6 | `Header | `Hgroup | `Hr | `I | `Iframe | `Img | `Img_interactive | `Input | `Ins of [< Html_types.flow5 ] | `Kbd | `Keygen | `Label | `Main | `Map of [< Html_types.flow5 ] | `Mark | `Menu | `Meter | `Nav | `Noscript of [< Html_types.flow5_without_noscript ] | `Object of [< Html_types.flow5 ] | `Object_interactive of [< Html_types.flow5 ] | `Ol | `Output | `P | `PCDATA | `Pre | `Progress | `Q | `Ruby | `Samp | `Script | `Section | `Select | `Small | `Span | `Strong | `Style | `Sub | `Sup | `Svg | `Table | `Template | `Textarea | `Time | `U | `Ul | `Var | `Video of [< Html_types.flow5_without_media ] | `Video_interactive of [< Html_types.flow5_without_media ] | `Wbr ] Arg.elt list Lwt.t) -> 'a -> [> Html_types.form ] Arg.elt Lwt.t
OCaml

Innovation. Community. Security.