Ocsigen

This is a preliminary version of the documentation. Help us to improve it by filling tickets. We are looking for native english speakers to proof read the documentation. Contact us!

Module type Eliommkforms.FORMCREATE


module type FORMCREATE = sig .. end

type form_content_elt 
type form_content_elt_list 
type form_elt 
type a_content_elt 
type a_content_elt_list 
type a_elt 
type a_elt_list 
type div_content_elt 
type div_content_elt_list 
type uri 
type link_elt 
type script_elt 
type textarea_elt 
type input_elt 
type pcdata_elt 
type select_elt 
type select_content_elt 
type select_content_elt_list 
type option_elt 
type option_elt_list 
type button_elt 
type button_content_elt 
type button_content_elt_list 
type a_attrib_t 
type form_attrib_t 
type input_attrib_t 
type textarea_attrib_t 
type select_attrib_t 
type link_attrib_t 
type script_attrib_t 
type optgroup_attrib_t 
type option_attrib_t 
type button_attrib_t 
type input_type_t 
type button_type_t 
val hidden : input_type_t
val checkbox : input_type_t
val radio : input_type_t
val submit : input_type_t
val file : input_type_t
val image : input_type_t
val buttonsubmit : button_type_t
val empty_seq : form_content_elt_list
val cons_form : form_content_elt ->
form_content_elt_list ->
form_content_elt_list
val map_option : ('a -> option_elt) ->
'a list -> option_elt_list
val map_optgroup : ('a -> select_content_elt) ->
'a ->
'a list ->
select_content_elt *
select_content_elt_list
val select_content_of_option : option_elt ->
select_content_elt
val make_pcdata : string -> pcdata_elt
val make_a : ?a:a_attrib_t ->
href:string ->
a_content_elt_list -> a_elt
val make_get_form : ?a:form_attrib_t ->
action:string ->
form_content_elt ->
form_content_elt_list ->
form_elt
val make_post_form : ?a:form_attrib_t ->
action:string ->
?id:string ->
?inline:bool ->
form_content_elt ->
form_content_elt_list ->
form_elt
val make_hidden_field : input_elt -> form_content_elt
val remove_first : form_content_elt_list ->
form_content_elt *
form_content_elt_list
val make_input : ?a:input_attrib_t ->
?checked:bool ->
typ:input_type_t ->
?name:string ->
?src:uri ->
?value:string -> unit -> input_elt
val make_button : ?a:button_attrib_t ->
button_type:button_type_t ->
?name:string ->
?value:string ->
button_content_elt_list ->
button_elt
val make_textarea : ?a:textarea_attrib_t ->
name:string ->
?value:pcdata_elt ->
rows:int -> cols:int -> unit -> textarea_elt
val make_select : ?a:select_attrib_t ->
multiple:bool ->
name:string ->
select_content_elt ->
select_content_elt_list ->
select_elt
val make_option : ?a:option_attrib_t ->
selected:bool ->
?value:string ->
pcdata_elt -> option_elt
val make_optgroup : ?a:optgroup_attrib_t ->
label:string ->
option_elt ->
option_elt_list ->
select_content_elt
val uri_of_string : string -> uri
val make_css_link : ?a:link_attrib_t ->
uri:uri -> unit -> link_elt
val make_js_script : ?a:script_attrib_t ->
uri:uri -> unit -> script_elt