FormAjaxFieldSpec (taack-ui 0.5.2-SNAPSHOT API)
Package: taack.ui.dsl.form

[Groovy] Class FormAjaxFieldSpec

      • taack.ui.dsl.form.FormAjaxFieldSpec


      • @groovy.transform.CompileStatic
        class FormAjaxFieldSpec
        extends FormVisitable
        • Method Detail

          • void ajaxField(java.lang.String i18n, FieldInfo field, org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ?> params, FieldInfo<?>[] fieldInfos)

          • void ajaxField(java.lang.String i18n, FieldInfo field, org.codehaus.groovy.runtime.MethodClosure action, java.lang.Long id, java.util.Map<java.lang.String, ?> params)

          • void ajaxField(java.lang.String i18n, FieldInfo field, org.codehaus.groovy.runtime.MethodClosure action, java.lang.Long id, FieldInfo<?>[] fieldInfos)

          • void ajaxField(java.lang.String i18n, FieldInfo field, org.codehaus.groovy.runtime.MethodClosure action, FieldInfo<?>[] fieldInfos)

          • void ajaxField(java.lang.String i18n, FieldInfo field, IEnumOptions enumOptions, org.codehaus.groovy.runtime.MethodClosure action, FieldInfo<?>[] fieldInfos)

          • void field(java.lang.String i18n, FieldInfo field)

          • void field(java.lang.String i18n, FieldInfo field, java.text.NumberFormat numberFormat)

          • void fieldFromMap(java.lang.String i18n, FieldInfo field, java.lang.String mapEntry)

          • void innerFormAction(org.codehaus.groovy.runtime.MethodClosure action, java.lang.Long id, java.util.Map params)

            form action. The form is POSTed to the target action.

            Parameters:
            i18n - label of the button
            action - methodClosure pointing to the action
            id - id param
            params - additional params
            isAjax - if true, the action is of ajax kind (either open a modal or updating part of the page, without reloading the page)