diff options
author | Artur Signell <artur@vaadin.com> | 2013-04-22 15:06:09 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-04-24 09:41:22 +0000 |
commit | be433ace81027bfe9225513badbf4a07d3816377 (patch) | |
tree | 0cac26e36226ab27901a58276a4ebadd9eae3ccd /WebContent/WEB-INF/web.xml | |
parent | 9fe007a843805e8f8d8926848ce07bdab0bcd1d7 (diff) | |
download | vaadin-framework-be433ace81027bfe9225513badbf4a07d3816377.tar.gz vaadin-framework-be433ace81027bfe9225513badbf4a07d3816377.zip |
Re-added Property.toString warning messages (#10916)
* Made it possible to toggle the toString() behavior using the "legacyPropertyToString" init parameter. The default value is "warning" which enables the legacy Property.toString implementation and logs a warning message when it is used. Other supported values are "true" which enables the legacy mode and "false" which disables it.
Change-Id: Ife19352b86590464c8e441b7f82f4fec3b1f3235
Diffstat (limited to 'WebContent/WEB-INF/web.xml')
-rw-r--r-- | WebContent/WEB-INF/web.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index 3915898293..fa1f40248b 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -50,6 +50,10 @@ <servlet-class>com.vaadin.launcher.ApplicationRunnerServlet</servlet-class> <!-- Non-default values for testing purposes --> <init-param> + <param-name>legacyPropertyToString</param-name> + <param-value>false</param-value> + </init-param> + <init-param> <param-name>heartbeatInterval</param-name> <param-value>301</param-value> </init-param> |