kvision / pl.treksoft.kvision.form / FormPanel / <init>

<init>

FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), serializer: KSerializer<K>)

Parameters

K - model class type

method - HTTP method

action - the URL address to send data

enctype - form encoding type

type - form layout

condensed - determines if the form is condensed.

horizRatio - horizontal form layout ratio

classes - set of CSS class names

serializer - a serializer for model type

Constructor