Package | Description |
---|---|
org.apache.wicket.markup.html.form |
HTML Forms and form components.
|
org.apache.wicket.markup.html.form.upload |
Support for upload forms (using multipart requests).
|
org.apache.wicket.util.convert |
Conversion support.
|
org.apache.wicket.util.convert.converter |
Default converter implementations.
|
org.apache.wicket.util.string |
String utilities.
|
Modifier and Type | Method and Description |
---|---|
protected ValidationError |
FormComponent.newValidationError(ConversionException cause)
This method is called, when the validation triggered by
FormComponent.convertInput()
failed with a ConversionException , to construct a ValidationError based on
the exception. |
Modifier and Type | Method and Description |
---|---|
protected Collection<T> |
ListMultipleChoice.convertValue(String[] ids) |
protected T |
RadioGroup.convertValue(String[] input) |
protected T |
FormComponent.convertValue(String[] value)
Subclasses should overwrite this if the conversion is not done through the type field and the
IConverter . |
protected Collection<T> |
CheckGroup.convertValue(String[] values) |
Modifier and Type | Method and Description |
---|---|
protected List<FileUpload> |
FileUploadField.convertValue(String[] value) |
protected Collection<FileUpload> |
MultiFileUploadField.convertValue(String[] value) |
Modifier and Type | Method and Description |
---|---|
ConversionException |
ConversionException.setConverter(IConverter<?> converter)
Sets the used converter.
|
ConversionException |
ConversionException.setFormat(Format format)
Sets the used format.
|
ConversionException |
ConversionException.setLocale(Locale locale)
Sets the used locale.
|
ConversionException |
ConversionException.setResourceKey(String resourceKey)
Set the resource key for the message that should be displayed.
|
ConversionException |
ConversionException.setSourceValue(Object sourceValue)
Sets the tried value.
|
ConversionException |
ConversionException.setTargetType(Class<?> targetType)
Sets the target property type.
|
ConversionException |
ConversionException.setVariable(String name,
Object value)
Sets a variable that will be used in substitution
|
Modifier and Type | Method and Description |
---|---|
C |
IConverter.convertToObject(String value,
Locale locale)
Converts the given
String value |
Modifier and Type | Method and Description |
---|---|
protected ConversionException |
AbstractConverter.newConversionException(String message,
Object value,
Locale locale)
Creates a conversion exception for throwing
|
Modifier and Type | Class and Description |
---|---|
class |
StringValueConversionException
Thrown when a string value cannot be converted to some type.
|
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.