Using smartGWT 5.0 power.
Can I change the return message when a Datasource.OperationBinding.requires fail?
For example:
<DataSource ID="somedatasource" serverType="sql" dataSourceVersion="1">
<operationBinding operationType="remove" requires="false">
</operationBinding>
</DataSource>
The return message is:
{
affectedRows:0,
data:"DataSource 'somedatasource', operationType 'remove', operationId 'somedatasource_remove'. Failed the "requires" check.",
invalidateCache:false,
isDSResponse:true,
queueStatus:-1,
status:-1
}
Can I change the return message when a Datasource.OperationBinding.requires fail?
For example:
<DataSource ID="somedatasource" serverType="sql" dataSourceVersion="1">
<operationBinding operationType="remove" requires="false">
</operationBinding>
</DataSource>
The return message is:
{
affectedRows:0,
data:"DataSource 'somedatasource', operationType 'remove', operationId 'somedatasource_remove'. Failed the "requires" check.",
invalidateCache:false,
isDSResponse:true,
queueStatus:-1,
status:-1
}
Comment