Uses of Class
org.apache.juneau.console.widgets.ModalDef
Packages that use ModalDef
Package
Description
Reusable widget primitives for the Juneau REST server toolkit.
Petstore console operations pages: background jobs and the audit log.
Petstore console orders page and its JSON endpoints.
Petstore console pets pages and their JSON endpoints.
Petstore console users page and its JSON endpoints.
-
Uses of ModalDef in org.apache.juneau.console.widgets
Methods in org.apache.juneau.console.widgets that return ModalDefModifier and TypeMethodDescriptionDeclares the additive bar slot anchored to this dialog's title.ModalDef.checked()The serving-path hook every app@RestGetthat returns aModalDefshould invoke.ModalDef.childAction(ModalDef.ChildAction value) Adds one entry to this dialog's child-action catalog.Selects the dialog chrome the page script registered under the given name.Adds one typed confirmation field displayed as monospaced, copyablecode.static ModalDefStarts a newModalDefwith the specified title / confirmation prompt.Adds one typed confirmation field.Sets the optional input form.ModalDef.idempotencyKey(String value) Sets the server-minted idempotency key value carried on the submit.ModalDef.keepOpenOnSubmit(boolean value) Declares that the runtime must keep this dialog open across its submit so the result can be painted into it as a receipt (see the class Javadoc).ModalDef.selfTargeted(boolean value) Declares thatidempotencyKeyis a self-targeted key — the runtime sends the key's own value as the submitted target rather than a row id.ModalDef.step(ModalDef.Step value) Adds one wizard step. -
Uses of ModalDef in org.apache.juneau.petstore.console.ops
Methods in org.apache.juneau.petstore.console.ops that return ModalDefModifier and TypeMethodDescriptionJobsRest.groomForm()The Groom dialog's form source.JobsRest.restockForm()The restock dialog's form source: a read-only GET returning the modal with a freshly minted self-targeted key. -
Uses of ModalDef in org.apache.juneau.petstore.console.orders
Methods in org.apache.juneau.petstore.console.orders that return ModalDefModifier and TypeMethodDescriptionOrdersRest.cancelForm(long id) The cancel dialog form: a reason and whether to notify the customer.OrdersRest.newForm()The new-order wizard, step one: pick a pet that is for sale and an optional ship date.OrdersRest.reviewForm(String drafts) The new-order wizard, step two: the order about to be placed, read back from the first step's drafts. -
Uses of ModalDef in org.apache.juneau.petstore.console.pets
Methods in org.apache.juneau.petstore.console.pets that return ModalDef -
Uses of ModalDef in org.apache.juneau.petstore.console.users
Methods in org.apache.juneau.petstore.console.users that return ModalDef