throw new BindingException(msg, this, null, getBinding("field"), null);
}
}
IForm form = Form.get(cycle);
if (form == null)
{
String msg = Tapestry.getMessage("FieldLabel.must-be-contained-by-form");
throw new ApplicationRuntimeException(msg, this, null, null);
}
IValidationDelegate delegate = form.getDelegate();
if (delegate == null)
{
String msg =
Tapestry.format("FieldLabel.no-delegate", getExtendedId(), form.getExtendedId());
throw new ApplicationRuntimeException(msg, this, null, null);
}
delegate.writeLabelPrefix(field, writer, cycle);