How can I implement a constraint that is dependent on the input of another property? I've searched through the sample apps and haven't found anything. Here's what i'm trying:
Code:add("hitpoints", new Constraint() { public boolean test(Object object) { Integer value = (Integer) object; //need to lookup another property to determine if this is a valid input. } }


Reply With Quote