Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sapphire-dev] 1 or more validation for ListProperty

Yes. See @CountConstraint.

 

- Konstantin

 

 

From: sapphire-dev-bounces@xxxxxxxxxxx [mailto:sapphire-dev-bounces@xxxxxxxxxxx] On Behalf Of Greg Amerson
Sent: Monday, November 28, 2011 9:58 PM
To: Sapphire project
Subject: [sapphire-dev] 1 or more validation for ListProperty

 

Is there a way to add validation for a ListProperty where one or more is required?   In my case I have a DTD entity that requires one or more of a certain child element to be present.  So my ListProperty needs a validation attached that requires one or more of the elements in that List.  Is this possible?

 

--

Greg Amerson

Liferay, Inc.


Back to the top