You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Florent Ramière (JIRA)" <ji...@apache.org> on 2007/09/10 23:24:34 UTC
[jira] Commented: (WW-2169) form validate="true" is very slow
[ https://issues.apache.org/struts/browse/WW-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42173 ]
Florent Ramière commented on WW-2169:
-------------------------------------
As a side note we found duplicates in the entry returned from getValidators
We added in the form-close-validate.js the following code
<#assign prevTagName = '' />
<#list parameters.tagNames as tagName>
<#if (prevTagName != tagName)>
<#assign prevTagName = tagName />
<#list tag.getValidators("${tagName}") as validator>
...
...
</#if>
</#list>
> form validate="true" is very slow
> ---------------------------------
>
> Key: WW-2169
> URL: https://issues.apache.org/struts/browse/WW-2169
> Project: Struts 2
> Issue Type: Improvement
> Components: Views
> Affects Versions: 2.0.9
> Reporter: Florent Ramière
> Fix For: 2.0.11
>
> Attachments: form-close.ftl
>
>
> 1- create page
> 2- create form
> 3- add many fields
> 4- rendering time for this page = R1
> 1- create page
> 2- create form with validate="true"
> 3- add many fields with corresponding validation defined in xml
> 4- rendering time for this page = R2
> R2 >> R1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.