field.setWidth(typicalLengthFacet.value());
}
final MultiLineFacet multiLineFacet = param.getFacet(MultiLineFacet.class);
field.setHeight(multiLineFacet.numberOfLines());
field.setWrapped(!multiLineFacet.preventWrapping());
final ObjectSpecification spec = param.getSpecification();
if (spec.containsFacet(BooleanValueFacet.class)) {
field.setType(InputField.CHECKBOX);
} else if (spec.containsFacet(PasswordValueFacet.class)) {