public UIFormUploadInput(String name, String bindingExpression, int limit, boolean isAutoUpload)
{
super(name, bindingExpression, String.class);
uploadId_ = Integer.toString(Math.abs(hashCode()));
this.isAutoUpload = isAutoUpload;
UploadService service = getApplicationComponent(UploadService.class);
service.addUploadLimit(uploadId_, Integer.valueOf(limit)); // Use the limit set by constructor.
setComponentConfig(UIFormUploadInput.class, null);
}