]> source.dussan.org Git - vaadin-framework.git/commit
Fix declarative support for CustomLayout (#17210)
authorJohannes Dahlström <johannesd@vaadin.com>
Mon, 23 Mar 2015 10:10:07 +0000 (12:10 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 24 Mar 2015 09:04:25 +0000 (09:04 +0000)
commit2a671f2810dfb409cc4d30a1606868282d0925d3
treeddc54f63c6dcbf82ced308659ed5a2b10869ebfe
parent4f3397df74dc737a9c5592d5418e741433e20dee
Fix declarative support for CustomLayout (#17210)

CustomLayout now has a public default constructor. If a template is not set
using one of the setters, a warning message is displayed like in the case where
the template file is specified but not found.

Change-Id: I5d56f24fafc5c82e6ab76dec393a0c25bd78aae5
client/src/com/vaadin/client/ui/customlayout/CustomLayoutConnector.java
server/src/com/vaadin/ui/CustomLayout.java
server/tests/src/com/vaadin/tests/server/component/customlayout/CustomLayoutDeclarativeTest.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/customlayout/CustomLayoutWithNullTemplate.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/customlayout/CustomLayoutWithNullTemplateTest.java [new file with mode: 0644]