Uses of Class
io.mindspice.simplypages.components.forms.Form
Packages that use Form
-
Uses of Form in io.mindspice.simplypages.components.forms
Methods in io.mindspice.simplypages.components.forms that return FormModifier and TypeMethodDescriptionAppends a field wrapper containing optional label and input component.static FormForm.create()Creates a new form.Form.multipart()Convenience for multipart form encoding.Form.noValidate()Setsnovalidate.Form.withAction(String action) Sets an application-controlled or separately form-destination-validated action URL.Appends child component.Replaces class attribute withform <className>.Form.withCsrfHeaderName(String name) Sets the CSRF header name used byForm.withHxPostCsrf(String, String).Form.withCsrfToken(String token) Appends hidden_csrfinput.Form.withEnctype(String enctype) Setsenctype.Form.withHxDelete(String url) Setshx-deleteto an application-controlled or separately endpoint-validated URL.Setshx-getto an application-controlled or separately endpoint-validated URL.Form.withHxPost(String url) Setshx-postto an application-controlled or separately endpoint-validated URL.Form.withHxPostCsrf(String url, String csrfToken) Attaches a CSRF header to HTMX POST using an application-controlled or separately endpoint-validated URL.Setshx-putto an application-controlled or separately endpoint-validated URL.Form.withHxScrollTargetTop()Tags this HTMX request to scroll the swapped target fragment to top after settle.Form.withHxSwap(String swap) Setshx-swap.Form.withHxTarget(String target) Setshx-target.Form.withHxTrigger(String trigger) Setshx-trigger.Sets id attribute.Form.withMethod(Form.Method method) Sets logical method. -
Uses of Form in io.mindspice.simplypages.modules
Methods in io.mindspice.simplypages.modules with parameters of type FormModifier and TypeMethodDescriptionReplaces the wrapped form component.