You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "zouchanglin (Jira)" <ji...@apache.org> on 2020/02/20 14:28:00 UTC

[jira] [Created] (FREEMARKER-132) An Integer larger than 1000 in a JavaBean is injected into the template, and the browser cannot display this value

zouchanglin created FREEMARKER-132:
--------------------------------------

             Summary: An Integer larger than 1000 in a JavaBean is injected into the template, and the browser cannot display this value
                 Key: FREEMARKER-132
                 URL: https://issues.apache.org/jira/browse/FREEMARKER-132
             Project: Apache Freemarker
          Issue Type: Bug
          Components: engine
    Affects Versions: 2.3.23
         Environment: windows10 x64 JDK8u_121 、IDEA2019.3
            Reporter: zouchanglin
         Attachments: image-2020-02-20-22-25-24-989.png, image-2020-02-20-22-26-02-726.png, image-2020-02-20-22-26-17-204.png, image-2020-02-20-22-26-29-906.png

An Integer larger than 1000 in a JavaBean is injected into the template, and the browser cannot display this value,for example,now I have a JavaBean,example class Person\{ String name, Integer age},now I,need put this javabean to html,if this person age > 999,the html show null input tag,http://localhost:8080/ !image-2020-02-20-22-25-24-989.png!

This is mycode:

!image-2020-02-20-22-26-02-726.png!

!image-2020-02-20-22-26-17-204.png!

!image-2020-02-20-22-26-29-906.png!

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)