From 12d2bd198c9ff5cb197e50da2d024a2418b8ee36 Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-
-FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K)
+
+FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>)
Parameters
@@ -23,8 +23,8 @@
type
- form layout
classes
- set of CSS class names
-modelFactory
- function transforming a Map<String, Any?> to a data model of class K
+serializer
- a serializer for model type
Constructor