1/10/2013 v3.3.8 * Improved: the custom validator now supports the attribute dinamica.DuplicatedKeyValidator datasource = "jdbc / xxxx" to indicate if you want to use another DB connection different from using the Action. * New: dinamica.validators.RegExpValidator one validator that lets you test the value of a String type field against a Java regular expression. Validator the same can be applied several times to the same field with different RegExp and a specific message for each case, overcoming the limitation of being able to configure a regexp and a single message field in the elements for the file <parameter> validator.xml. Example usage: <custom-validator classname = "dinamica.validators.RegExpValidator" id = "alias" regexp = ". * [AZ]. *" parameter = "alias" on-error-label = "The Alias must contain at least one uppercase letter. "/> * New: to support improved processing Excel template, very renewed and upload Ajax style, it was necessary to add a validator to check if the file format is valid. Example: <custom-validator classname = 'dinamica.validators.ExcelFormatValidator' on-error-label = 'unrecognized Excel format, use Excel 97, XP or 2003.' parameter-tempfile = '_tempfile' /> * New: custom validator dinamica.validators.GetColValueValidator running a SQL query, retrieves the value of the 1st column and stores it in the appropriate field of the recordset inputParams. It is a utility for calculated fields from the request values and data stored in the database. Example: <custom-validator classname = 'dinamica.validators.GetColValueValidator' on-error-label = 'The code is not registered.' parameter = 'code' sql = "getcolvalue.sql" /> * Changes webapp.zip, specifically setInnerHtml function () in / action / script / dinamica.js, he corrected the problem that occurs when you have multiple custom-validators applied to the same field of the request, but fail several solo shows of the last error message provided by custom-validator evaluated last for that field. Now all messages are displayed relevant, one below the other. 17/9/2013 v3.3.7 * dinamica.audit modification package to record the IP in the audit log, the last script required to create the security scheme , security.zip contains these scripts updated and SQL patch to update an existing schema in BD. * In the configuration of an audit log in config.xml, now supports a description associated with the column, using the attribute "label" , eg <audit> <cols> ... <colname label="Apellido"> lname </ colname> </ cols> ... </ audit> 06.09.2013 v3.3.6 * Modified the dynamic class. SimpleMail not to force the debug (false) in JavaMail. 20/8/2013 v3.3.5 * Improved dinamica.security.Login class so that when it fails LDAP BIND operation (login) leave a stacktrace in the log of the container servlet. Normally the operation failed because the credentials provided are not valid, but the trace will greater detail in case the cause is another
dinamica changelog 2013/10/1
最新推荐文章于 2024-01-03 22:45:14 发布
本次更新包括多个改进和新增功能,如支持动态属性的自定义验证器、正则表达式验证器、Excel模板验证器及数据库字段值获取验证器等。此外还修复了多项问题,例如当多个自定义验证器应用于同一字段时显示错误信息的问题。

875

被折叠的 条评论
为什么被折叠?



