package eliom
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Advanced client/server Web and mobile framework
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      10.4.0.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        md5=87e171413ab2714514019b533f3f7ab3
    
    
  sha512=e3ed10c599dd54bc5d4b1bf67debb7068f439d33e30dd39e5ed0cebbddd700b9765a751e16fa93dbd1fa6d934fbb6b2d1677fce817fbfea70565192a0a7e1025
    
    
  doc/eliom.server/Eliom_parameter_base/index.html
Module Eliom_parameter_baseSource
Type of names in a form
empty type used when it is not possible to use the parameter in a form
Source
type (_, _) params_type_ = - | TProd : (('a, 'an) params_type_ * ('b, 'bn) params_type_) -> ('a * 'b, 'an * 'bn) params_type_
- | TOption : (('a, 'an) params_type_ * bool) -> ('a option, 'an) params_type_
- | TList : (string * ('a, 'an) params_type_) -> ('a list, 'an listnames) params_type_
- | TSet : ('a, [ `One of 'an ] param_name) params_type_ -> ('a list, [ `Set of 'an ] param_name) params_type_
- | TSum : (('a, 'an) params_type_ * ('b, 'bn) params_type_) -> (('a, 'b) binsum, 'an * 'bn) params_type_
- | TAtom : (string * 'a atom) -> ('a, [ `One of 'a ] param_name) params_type_
- | TCoord : string -> (coordinates, [ `One of coordinates ] param_name) params_type_
- | TFile : string -> (Eliom_lib.file_info, [ `One of Eliom_lib.file_info ] param_name) params_type_
- | TUserType : (string * 'a Eliom_common.To_and_of_shared.t) -> ('a, [ `One of 'a ] param_name) params_type_
- | TTypeFilter : (('a, 'an) params_type_ * 'a filter) -> ('a, 'an) params_type_
- | TESuffix : string -> (string list, [ `One of string list ] param_name) params_type_
- | TESuffixs : string -> (string, [ `One of string ] param_name) params_type_
- | TESuffixu : (string * 'a Eliom_common.To_and_of_shared.t) -> ('a, [ `One of 'a ] param_name) params_type_
- | TSuffix : (bool * ('s, 'sn) params_type_) -> ('s, 'sn) params_type_
- | TUnit : (unit, unit) params_type_
- | TAny : ((string * string) list, unit) params_type_
- | TConst : string -> (unit, [ `One of unit ] param_name) params_type_
- | TNLParams : ('a, 'names) non_localized_params_ -> ('a, 'names) params_type_
- | TJson : (string * 'a Deriving_Json.t option) -> ('a, [ `One of 'a ocaml ] param_name) params_type_
- | TRaw_post_data : (raw, no_param_name) params_type_
Source
and ('a, 'names) non_localized_params_ = {- name : string;
- persistent : bool;
- get : 'a option Polytables.key;
- post : 'a option Polytables.key;
- param : ('a, 'names) params_type_;
}Source
type ('a, +'suff, 'an) non_localized_params = ('a, 'an) non_localized_params_ constraint 'suff = [< suff ]Source
val file : 
  string ->
  (Eliom_lib.file_info, [ `One of Eliom_lib.file_info ] param_name)
    params_type_Source
val sum : 
  ('a, 'b) params_type_ ->
  ('c, 'd) params_type_ ->
  (('a, 'c) binsum, 'b * 'd) params_type_Source
val set : 
  (string -> ('a, [ `One of 'b ] param_name) params_type_) ->
  string ->
  ('a list, [ `Set of 'b ] param_name) params_type_Source
val suffix_prod : 
  ?redirect_if_not_suffix:bool ->
  ('s, [< `Endsuffix | `WithoutSuffix ], 'sn) params_type ->
  ('a, [ `WithoutSuffix ], 'an) params_type ->
  ('s * 'a, [ `WithSuffix ], 'sn * 'an) params_typeSource
val ocaml : 
  string ->
  'a Deriving_Json.t ->
  ('a, [ `One of 'a ocaml ] param_name) params_type_Source
val aux : 
  'a 'c. ('a, [< suff ], 'c) params_type ->
  string list option ->
  (string * Eliommod_parameters.field) list Eliom_lib.String.Table.t ->
  'a ->
  string ->
  string ->
  (string * Eliommod_parameters.field) list ->
  string list option
  * (string * Eliommod_parameters.field) list Eliom_lib.String.Table.t
  * (string * Eliommod_parameters.field) listSource
val construct_params_list_raw : 
  (string * Eliommod_parameters.field) list Eliom_lib.String.Table.t ->
  ('a, [< suff ], 'b) params_type ->
  'a ->
  string list option
  * (string * Eliommod_parameters.field) list Eliom_lib.String.Table.t
  * (string * Eliommod_parameters.field) listGiven a parameter type, get the two functions that converts from and to strings. You should only use this function on
- options ;
- basic types : int, int32, int64, float, string
- marshal
- unit
- string
- bool
Source
val walk_parameter_tree : 
  'a 'c. string ->
  ('a, [< suff ], 'c) params_type ->
  'a to_and_of optionWalk the parameter tree to search for a parameter, given its name
Source
val construct_params_list : 
  (string * Eliommod_parameters.field) list Eliom_lib.String.Table.t ->
  ('a, [< suff ], 'b) params_type ->
  'a ->
  string list option * (string * Eliommod_parameters.field) listSource
val construct_params : 
  (string * Eliommod_parameters.field) list Eliom_lib.String.Table.t ->
  ('a, [< suff ], 'b) params_type ->
  'a ->
  string list option * stringSource
val add_pref_params : 
  'a 'c. string ->
  ('a, [< suff ] as 'b, 'c) params_type ->
  ('a, 'b, 'c) params_typeSource
val nl_prod : 
  ('a, [< suff ] as 'b, 'an) params_type ->
  ('s, [ `WithoutSuffix ], 'sn) non_localized_params ->
  ('a * 's, 'b, 'an * 'sn) params_typeSource
val remove_from_nlp : 
  'a 'c. 'b Eliom_lib.String.Table.t ->
  ('a, [< suff ], 'c) params_type ->
  'b Eliom_lib.String.Table.tSource
val list_of_nl_params_set : 
  (string * Eliommod_parameters.field) list Eliom_lib.String.Table.t ->
  (string * Eliommod_parameters.field) listSource
val string_of_nl_params_set : 
  (string * Eliommod_parameters.field) list Eliom_lib.String.Table.t ->
  stringSource
val make_non_localized_parameters : 
  prefix:string ->
  name:string ->
  ?persistent:bool ->
  ('a, [ `WithoutSuffix ], 'b) params_type ->
  ('a, [ `WithoutSuffix ], 'b) non_localized_paramsSource
val wrap_param_type : 
  'a 'c. ('a, [< suff ] as 'b, 'c) params_type ->
  ('a, 'b, 'c) params_typeSource
val reconstruct_params_ : 
  ('a, [< suff ], 'b) params_type ->
  params' ->
  files ->
  bool ->
  string list option ->
  'a sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >