Hi Isomorphic,
please see how I struggled to understand how to define Validator.dependentFields here (I'm only talking about definition in XML, not the effect).
Actually there are different ways here to define lists in different cases and it's not easy to see how to apply a list correctly:
Validator.dependentFields:
OperationBinding.groupBy:
From the docs I don't get why the way of defining things is different here. An example in the respective docs would definitely help (like you do e.g. here for OperationBinding.criteria).
OperationBinding.requiresRole on the other hand (e.g., there are many of these) which takes a comma separated list, is clear here:
Best regards
Blama
please see how I struggled to understand how to define Validator.dependentFields here (I'm only talking about definition in XML, not the effect).
Actually there are different ways here to define lists in different cases and it's not easy to see how to apply a list correctly:
Validator.dependentFields:
Code:
public java.lang.String[] dependentFields User-defined list of fields on which this validator depends. --> <dependentFields> <dependentField>inStock</dependentField> <dependentField>unitCost</dependentField> </dependentFields>
OperationBinding.groupBy:
Code:
public java.lang.String[] groupBy List of fields to group by when using server-side summarization. --> <operationBinding operationType="fetch" operationId="count"> <summaryFunctions> <OBJECT_COUNT>count</OBJECT_COUNT> </summaryFunctions> <groupBy>STATUS_SHORTNAME</groupBy> <groupBy>STATUS_SUBTYPE</groupBy> </operationBinding>
From the docs I don't get why the way of defining things is different here. An example in the respective docs would definitely help (like you do e.g. here for OperationBinding.criteria).
OperationBinding.requiresRole on the other hand (e.g., there are many of these) which takes a comma separated list, is clear here:
Code:
public java.lang.String requiresRole Comma-separated list of user roles that are allowed to invoke the operation described by this operationBinding.
Blama
Comment