public class SaveFormBindingImpl extends FormBindingImpl implements SaveFormBinding
SaveFormBinding._accessInfo, _formId| Constructor and Description |
|---|
SaveFormBindingImpl(Binder binder,
org.zkoss.zk.ui.Component comp,
String formId,
String saveExpr,
ConditionType conditionType,
String command,
Map<String,Object> bindingArgs,
String validatorExpr,
Map<String,Object> validatorArgs) |
| Modifier and Type | Method and Description |
|---|---|
Form |
getFormBean(BindContext ctx) |
Property |
getValidate(BindContext ctx)
Returns
Property to be validated. |
Set<Property> |
getValidates(BindContext ctx)
Returns
Propertys to be validated, includes the member field of the form |
Validator |
getValidator()
return
Validator to do validation |
Map<String,Object> |
getValidatorArgs()
Returns an argument
|
String |
getValidatorExpressionString() |
boolean |
hasValidator()
Returns whether to do validation.
|
protected boolean |
ignoreTracker() |
void |
save(BindContext ctx)
Save data from the source attribute into the target property.
|
void |
validate(ValidationContext vctx)
do the validation by validator
|
getBaseExpression, getCommandName, getConditionType, getFieldExpression, getFormBean, getFormExpression, getFormId, getPropertyString, initFormBean, toStringcontainsAttribute, getArgs, getAttribute, getBinder, getComponent, setAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCommandName, getConditionType, getFieldExpression, getFormBean, getFormExpression, getFormId, getPropertyStringgetArgs, getBinder, getComponentpublic Map<String,Object> getValidatorArgs()
SaveBindinggetValidatorArgs in interface SaveBindingprotected boolean ignoreTracker()
ignoreTracker in class FormBindingImplpublic Validator getValidator()
SaveBindingValidator to do validationgetValidator in interface SaveBindingpublic Form getFormBean(BindContext ctx)
public void save(BindContext ctx)
SaveBindingsave in interface SaveBindingctx - the binding runtime contextpublic Property getValidate(BindContext ctx)
SaveBindingProperty to be validated.getValidate in interface SaveBindingctx - the binding runtime contextProperty to be validated.public Set<Property> getValidates(BindContext ctx)
SaveFormBindingPropertys to be validated, includes the member field of the formgetValidates in interface SaveFormBindingctx - the binding runtime contextProperty to be validated.public boolean hasValidator()
SaveBindinghasValidator in interface SaveBindingpublic String getValidatorExpressionString()
public void validate(ValidationContext vctx)
SaveBindingvalidate in interface SaveBindingCopyright © 2020. All rights reserved.