THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Wiki Markup |
---|
{scrollbar} |
This is the consolidated list of changes between Tapestry versions 5.1 and 5.2. To upgrade from 5.1 to 5.2, most users will be able to just update the Maven dependency in their POM file (or download the new JAR file) and the new version will just work. However, please read carefully below before upgrading, and also review
...
the How to Upgrade instructions.
Contents
Table of Contents | ||||
---|---|---|---|---|
|
...
- Page classes with instance variables that are not thread safe must be created in a method rather than declared as an instance variable. For example, creating an instance variable
private final DateFormat format = DateFormat.getDateInstance(DateFormat.MEDIUM, locale);
in a page and using it will cause problems because DateFormat is not thread safe. Instead, you must create the DateFormat in a method. See Release Notes: Tapestry 5.2.0 (below) for details. - Link.toAbsoluteURI() now returns the absolute URL, which includes the scheme, hostname and possibly port (e.g., "http://example.com:8080/myapp/viewproduct/4"), rather than a relative URL (e.g., "/myapp/viewproduct/4"). See Release Notes: Tapestry 5.2.2 (below) for details.
- The Label component no longer outputs an id:
...
Include Page | ||||
---|---|---|---|---|
|
Wiki Markup |
---|
{scrollbar} |