-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
1 - Middle term
-
2 - Normal
For now, we have to duplicate the allowed database types as a widget parameters
<param id="xxx"> <widget>edition.datasource-sql</widget> <widget-params> <param name="allowCreation">true</param> <param name="allowPrivate">true</param> <param name="allowInternal">true</param> <param name="allowedDbTypes">derby,mysql,oracle,postgresql,hsql</param> </widget-params> <validation> <custom-validator class="org.ametys.core.datasource.SQLDatabaseTypeValidator"> <mandatory/> <allowed-dbtypes>derby,mysql,oracle,postgresql,hsql</allowed-dbtypes> </custom-validator> </validation> </param>
When RUNTIME-2015 will be fixed, the parameter "allowedDbTypes" could be removed.
- Est bloqué par
-
RUNTIME-2015 The configuration of a validator as JSON object should be pass to the field configuration
- Open
- Fait partie de
-
RUNTIME-1724 Enhance the Data Source widget to be able to include / exclude data base types
- Closed