Then you have a few options:
1. implement it in the Validator class
2. implement it in the DomainObject, throw the IllegalArgumentException
a) catch this exception in override of the save method in the Action
class
b) or catch it by implementing your own subclass of
org.fornax.cartridges.sculptor.framework.web.errorhandling.ExceptionAdvice
(take a look at existing handleOptimisticLockingException method)
/Patrik
ralfst wrote:
>
> The value is set in the client.
>
> Greets, Ralf
>
>
--
View this message in context:
http://www.nabble.com/checking-against-range-of-values-tp20293432s17564p20348824.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer