[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24665#action_24665
]
Jan Haderka commented on MAGNOLIA-2916:
---------------------------------------
Actually for simple regexp based validation you can use {{validationPattern}}
nodeData in the dialog controls as described at
http://wiki.magnolia-cms.com/display/WIKI/Controls+overview
> Add the possibility to set a validation class for dialogs.
> ----------------------------------------------------------
>
> Key: MAGNOLIA-2916
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2916
> Project: Magnolia
> Issue Type: Improvement
> Components: core, gui
> Affects Versions: 4.2-m1
> Reporter: Danilo Ghirardelli
> Assignee: Philipp Bärfuss
>
> Sometimes there is the need of validating a dialog element with more logic
> than the "required" and regular expressions only. I'm thinking about email
> fields, of even a check for image dimensions or colours in the image dialog.
> It would be really nice to have che possibility to set a property in the
> dialog configuration with (for instance) "validationClass" and a class that
> extends some interface.
> Usually I do something similar extending the dialog I want to validate, but
> it should be quicker if this behaviour is in the common parent for all
> dialogs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------