List of All Grails Validation Constraints

For some reason, Grails decided to delete their published list of all validation constraints. This official-sounding page just sends you to the reference docs, and its validation page gives the unhelpful message that

A complete reference for the available constraints can be found on the reference guide

I’m not sure what other reference guide this could be referring to, not to mention what it would mean for this information to be found “on” the reference guide, as opposed to “in” it.

Update: @mr_paul_woods sent me to the Grails docs and told me to look in the sidebar. Turns out that I wasn’t supposed to click Validation on the right pane, but rather find “Constraints” in the unrelated left pane. There’s no way to get this list on a page by itself, so here they are to be helpful:


6 Responses to List of All Grails Validation Constraints

  1. gr8fanboy says:

    Have a look at the new freebie InfoQ Grails book. There’s a good tabulation on this in it.

  2. Josh says:

    This was very helpful to me this morning!

  3. Raymond says:

    Thanks a lot! I’ve just spent the last half hour looking for the “complete reference” of constrains mentioned in the grails reference guide, and like you I was a little baffled by the seemingly circular reference within the guide itself. Don’t know why it’s so hard to track down. Thanks for posting.

  4. Diaa Kasem says:

    Really .. I always searched for this list .. and I always use google for it .. U saved lots of time for me .. thank you.

  5. JT says:

    Thanks – bookmarked!

  6. Gabe says:

    Awesome post

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: