Archive for April 2012

    Complex validation of CQ5 dialog fields using a custom Sling servlet

    April 16, 2012 4:12 AM

    Dialog fields in CQ5 occasionally require validation that cannot be handled with static constraints or regular expressions. However, this type of validation can be easily accomplished by delegating the validation function to a custom servlet. The implementation details and code samples below describe a viable solution for most validation scenarios.

    posted by Mark Daugherty
Top