Java Code Examples for play.data.Form#Field

The following examples show how to use play.data.Form#Field . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ShippingMethodFormFieldViewModelFactory.java    From commercetools-sunrise-java with Apache License 2.0 4 votes vote down vote up
@Override
public final ShippingMethodFormFieldViewModel createWithDefaultOptions(final Form.Field formField) {
    return super.createWithDefaultOptions(formField);
}
 
Example 2
Source File: PaymentMethodFormFieldViewModelFactory.java    From commercetools-sunrise-java with Apache License 2.0 4 votes vote down vote up
@Override
public final PaymentMethodFormFieldViewModel createWithDefaultOptions(final Form.Field formField) {
    return super.createWithDefaultOptions(formField);
}
 
Example 3
Source File: FormFieldViewModelFactory.java    From commercetools-sunrise-java with Apache License 2.0 4 votes vote down vote up
public M createWithDefaultOptions(final Form.Field formField) {
    return create(FormFieldWithOptions.of(formField, defaultOptions()));
}
 
Example 4
Source File: FormFieldWithOptions.java    From commercetools-sunrise-java with Apache License 2.0 4 votes vote down vote up
private FormFieldWithOptions(final Form.Field formField, final List<T> formOptions) {
    this.formField = formField;
    this.formOptions = formOptions;
}
 
Example 5
Source File: FormFieldWithOptions.java    From commercetools-sunrise-java with Apache License 2.0 4 votes vote down vote up
public final Form.Field getFormField() {
    return formField;
}
 
Example 6
Source File: FormFieldWithOptions.java    From commercetools-sunrise-java with Apache License 2.0 4 votes vote down vote up
public static <T> FormFieldWithOptions<T> of(final Form.Field formField, final List<T> formOptions) {
    return new FormFieldWithOptions<>(formField, formOptions);
}
 
Example 7
Source File: TitleFormFieldViewModelFactory.java    From commercetools-sunrise-java with Apache License 2.0 4 votes vote down vote up
@Override
public final TitleFormFieldViewModel createWithDefaultOptions(final Form.Field data) {
    return super.createWithDefaultOptions(data);
}
 
Example 8
Source File: CountryFormFieldViewModelFactory.java    From commercetools-sunrise-java with Apache License 2.0 4 votes vote down vote up
@Override
public final CountryFormFieldViewModel createWithDefaultOptions(final Form.Field data) {
    return super.createWithDefaultOptions(data);
}