[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danilo Ghirardelli updated MAGNOLIA-2916:
-----------------------------------------
Summary: Add the possibility to set a validation class for controls.
(was: Add the possibility to set a validation class for dialogs.)
Description:
Sometimes there is the need of validating a dialog element (control) 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
control. It would be really nice to have che possibility to set a property in
the control configuration with (for instance) "validationClass" and a class
that extends some interface.
Usually I do something similar extending the control I want to validate, but it
should be quicker if this behaviour is in the common parent for all controls.
was:
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.
> Add the possibility to set a validation class for controls.
> -----------------------------------------------------------
>
> 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 (control) 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 control. It would be really nice to have che possibility to set a
> property in the control configuration with (for instance) "validationClass"
> and a class that extends some interface.
> Usually I do something similar extending the control I want to validate, but
> it should be quicker if this behaviour is in the common parent for all
> controls.
--
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]>
----------------------------------------------------------------