You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "alex xiao (JIRA)" <ji...@apache.org> on 2008/01/13 12:44:05 UTC
[jira] Created: (WW-2417) freemarker template bug:
template/xhtml/form-close-validate.ftl
freemarker template bug: template/xhtml/form-close-validate.ftl
---------------------------------------------------------------
Key: WW-2417
URL: https://issues.apache.org/struts/browse/WW-2417
Project: Struts 2
Issue Type: Bug
Components: Expression Language
Affects Versions: 2.0.11
Environment: windows XP
tomcat6
struts 2.0.11
Reporter: alex xiao
line 95 ${validator.min?string}<#else>false</#if> ||
...
line 97 ${validator.max?string }<#else>false</#if>) {
....
must change to :
line 95 ${validator.min?c}<#else>false</#if> ||
...
line 97 ${validator.max?c}<#else>false</#if>) {
....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-2417) freemarker template bug:
template/xhtml/form-close-validate.ftl
Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Husted resolved WW-2417.
----------------------------
Resolution: Incomplete
Fix Version/s: 2.1.1
Please post this report to the user list to gain more feedback.
> freemarker template bug: template/xhtml/form-close-validate.ftl
> ---------------------------------------------------------------
>
> Key: WW-2417
> URL: https://issues.apache.org/struts/browse/WW-2417
> Project: Struts 2
> Issue Type: Bug
> Components: Expression Language
> Affects Versions: 2.0.11
> Environment: windows XP
> tomcat6
> struts 2.0.11
> Reporter: alex xiao
> Fix For: 2.1.1
>
>
> when I set the max value bigger than 999,
> the client validation will not work.
> my suggestion:
> line 95 ${validator.min?string}<#else>false</#if> ||
> ...
> line 97 ${validator.max?string }<#else>false</#if>) {
> ....
> change to :
> line 95 ${validator.min?c}<#else>false</#if> ||
> ...
> line 97 ${validator.max?c}<#else>false</#if>) {
> ....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2417) freemarker template bug:
template/xhtml/form-close-validate.ftl
Posted by "alex xiao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
alex xiao updated WW-2417:
--------------------------
Description:
when I set the max value bigger than 999,
the client validation will not work.
my suggestion:
line 95 ${validator.min?string}<#else>false</#if> ||
...
line 97 ${validator.max?string }<#else>false</#if>) {
....
change to :
line 95 ${validator.min?c}<#else>false</#if> ||
...
line 97 ${validator.max?c}<#else>false</#if>) {
....
was:
line 95 ${validator.min?string}<#else>false</#if> ||
...
line 97 ${validator.max?string }<#else>false</#if>) {
....
must change to :
line 95 ${validator.min?c}<#else>false</#if> ||
...
line 97 ${validator.max?c}<#else>false</#if>) {
....
> freemarker template bug: template/xhtml/form-close-validate.ftl
> ---------------------------------------------------------------
>
> Key: WW-2417
> URL: https://issues.apache.org/struts/browse/WW-2417
> Project: Struts 2
> Issue Type: Bug
> Components: Expression Language
> Affects Versions: 2.0.11
> Environment: windows XP
> tomcat6
> struts 2.0.11
> Reporter: alex xiao
>
> when I set the max value bigger than 999,
> the client validation will not work.
> my suggestion:
> line 95 ${validator.min?string}<#else>false</#if> ||
> ...
> line 97 ${validator.max?string }<#else>false</#if>) {
> ....
> change to :
> line 95 ${validator.min?c}<#else>false</#if> ||
> ...
> line 97 ${validator.max?c}<#else>false</#if>) {
> ....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.