Jacques,
I'd prefer to see this kind of validation done at service level
(create/updateProductStore).
Jacopo
Jacques Le Roux wrote:
Despite that http://issues.apache.org/jira/browse/OFBIZ-147 is closed there is still a
problem when a store is set with "Show Prices With Vat Tax" and there is no Tax
Auhority set (or/and no Tax Geo Id I presume).
Willing to close this problem at source I'm searching for a way to prevent validation of
the store param form if "Show Prices With Vat Tax" is set and there is no Tax
Auhority or/and no Tax Geo Id set.
I agree that the problem above is not a big problem (setting stores is not a
common task), actually I'm also looking for a more general solution for
form-widget validation when fields are dependent of each other...
I looked in OpenSource Strategies form-widget cookbook but did not find an
answer. Is there a trivial solution ?
Jacques