You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Dániel Dékány (Jira)" <ji...@apache.org> on 2020/02/21 18:57:00 UTC
[jira] [Closed] (FREEMARKER-132) An Integer larger than 1000 in a
JavaBean is injected into the template, and the browser cannot display this
value
[ https://issues.apache.org/jira/browse/FREEMARKER-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dániel Dékány closed FREEMARKER-132.
------------------------------------
Resolution: Information Provided
I assume you meant that it worked with {{?c}}, and so I'm closing this.
> 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
> Priority: Critical
> 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)