dinamica changelog 2013/10/1

本次更新包括多个改进和新增功能,如支持动态属性的自定义验证器、正则表达式验证器、Excel模板验证器及数据库字段值获取验证器等。此外还修复了多项问题,例如当多个自定义验证器应用于同一字段时显示错误信息的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值