Java org.apache.wicket.markup.html.form Form fields, constructors, methods, implement or subclass

Example usage for Java org.apache.wicket.markup.html.form Form fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.wicket.markup.html.form Form.

The text is from its open source code.

Subclass

org.apache.wicket.markup.html.form.Form has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidadd(final IFormValidator validator)
Adds a form validator to the form.
MarkupContaineraddOrReplace(final Component... children)
Replaces a child component of this container with another or just adds it in case no child with the same id existed yet.
voidclearInput()
Clears the input from the form's nested children of type FormComponent .
voiderror(String error, Map args)
Registers an error feedback message for this component
voiderror(final Serializable message)
Registers an error feedback message for this component
FormfindForm(Component component)
IFormSubmitterfindSubmittingButton()
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.
Componentget(String path)
Get a child component by looking it up with the given path.
ApplicationgetApplication()
Gets interface to application that this component is a part of.
ListgetBehaviors(Class type)
Gets the subset of the currently coupled Behavior s that are of the provided type as an unmodifiable list.
IConvertergetConverter(Class type)
Get the converter that should be used by this component, delegates to #createConverter(Class) and then to the application's IConverterLocator .
IModelgetDefaultModel()
Gets the model.
ObjectgetDefaultModelObject()
Gets the backing model object.
FeedbackMessagesgetFeedbackMessages()
Gets feedback messages for this component.
StringgetId()
Gets the id of this component.
IModelgetInnermostModel()
CharSequencegetJsForInterfaceUrl(CharSequence url)
LocalegetLocale()
Gets the locale for this component.
LocalizergetLocalizer()
Convenience method to provide easy access to the localizer object within any component.
ValueMapgetMarkupAttributes()
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.
StringgetMarkupId()
Retrieves id by which this component is represented within the markup.
BytesgetMaxSize()
Gets the maximum size for uploads.
IModelgetModel()
Typesafe getter for the model
TgetModelObject()
Typesafe getter for the model's object
PagegetPage()
Gets the page holding this component.
MarkupContainergetParent()
Gets any parent container, or null if there is none.
RequestgetRequest()
FormgetRootForm()
Returns the root form or this, if this is the root form.
StringgetRootFormRelativeId(Component component)
Utility method to assemble an id to distinct form components from different nesting levels.
StringgetString(final String key)
WebPagegetWebPage()
A convenience method to return the WebPage.
booleanhasError()
Gets whether the current form has any error registered.
booleanhasFeedbackMessage()
voidinfo(final Serializable message)
Registers an informational feedback message for this component
booleanisEnabledInHierarchy()
Calculates enabled state of the component taking its hierarchy into account.
booleanisSubmitted()
Checks if this form has been submitted during the current request
booleanisVisibleInHierarchy()
Checks if the component itself and all its parents are visible.
voidprocess(IFormSubmitter submittingComponent)
Process the form.
voidremove(final IFormValidator validator)
Removes a form validator from the form.
MarkupContainerreplace(final Component child)
Replaces a child component of this container with another
voidsetDefaultButton(IFormSubmittingComponent submittingComponent)
Sets the default IFormSubmittingComponent.
MarkupContainersetDefaultModel(final IModel model)
ComponentsetEnabled(final boolean enabled)
Sets whether this component is enabled.
voidsetMarkupId(Component comp)
Copy markupId
voidsetMaxSize(final Bytes maxSize)
Sets the maximum size for uploads.
CsetModel(IModel model)
Typesafe setter for the model
CsetModelObject(T object)
Typesafe setter for the model object
voidsetMultiPart(boolean multiPart)
Set to true to use enctype='multipart/form-data', and to process file uploads by default multiPart = false
ComponentsetOutputMarkupId(final boolean output)
Sets whether or not component will output id attribute into the markup.
ComponentsetOutputMarkupPlaceholderTag(final boolean outputTag)
Render a placeholder tag when the component is not visible.
ComponentsetVisibilityAllowed(boolean allowed)
Sets whether or not this component is allowed to be visible.
ComponentsetVisible(final boolean visible)
Sets whether this component and any children are visible.
voidsuccess(final Serializable message)
Registers an success feedback message for this component
RvisitChildren(final Class clazz, final IVisitor visitor)
Traverses all child components of the given class in this container, calling the visitor's visit method at each one.
RvisitChildren(final IVisitor visitor)
Traverses all child components in this container, calling the visitor's visit method at each one.
RvisitFormComponents(final IVisitor, R> visitor)
Convenient and typesafe way to visit all the form components on a form.
RvisitFormComponentsPostOrder(final IVisitor, R> visitor)
Convenient and typesafe way to visit all the form components on a form postorder (deepest first)
voidwarn(final Serializable message)
Registers a warning feedback message for this component.