Re: Validate method not working

2015-05-30 Thread Gabriel Malimpensa
Vladimir, Price is a property of a domain object. The whole code: package dom.simple; import javax.jdo.annotations.Column; import javax.jdo.annotations.IdGeneratorStrategy; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import

Re: Validate method not working

2015-05-30 Thread Vladimir Nišević
Hi Gabriel, just tried your code with DomainService Categories package dom.simple; import org.apache.isis.applib.DomainObjectContainer; import org.apache.isis.applib.annotation.DomainService; @DomainService public class Categories { public Category newCategory( String name,

Re: Validate method not working

2015-05-30 Thread Gabriel Malimpensa
Sorry for insist in this question, but I have tried many things and I can't resolve. I have used the validate method for attributes in other systems I have made, but this one I really don't know what is happening. Maybe (propably) it's something stupid... =D Thank you for support. Gabriel