diff options
author | Henri Sara <henri.sara@gmail.com> | 2017-03-20 17:10:32 +0200 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2017-03-20 17:10:32 +0200 |
commit | 1d127a0c7f16324ef30806c41dc7c5261105eb38 (patch) | |
tree | 17588742560ebe79e64f079c2bcd9fbf2dfe7546 /documentation/layout | |
parent | 2618b8e2cc592a773396a16fd7dccc8b1a0fcd9d (diff) | |
download | vaadin-framework-1d127a0c7f16324ef30806c41dc7c5261105eb38.tar.gz vaadin-framework-1d127a0c7f16324ef30806c41dc7c5261105eb38.zip |
Support data-location attribute in CustomLayout (#8866)
Fixes #8416
Diffstat (limited to 'documentation/layout')
-rw-r--r-- | documentation/layout/layout-customlayout.asciidoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/documentation/layout/layout-customlayout.asciidoc b/documentation/layout/layout-customlayout.asciidoc index d10d6309fc..d091ea0853 100644 --- a/documentation/layout/layout-customlayout.asciidoc +++ b/documentation/layout/layout-customlayout.asciidoc @@ -26,9 +26,9 @@ folder under the [filename]#/VAADIN/themes/# folder, for example, (Notice that the root path [filename]#/VAADIN/themes/# for themes is fixed.) A template can also be provided dynamically from an [classname]#InputStream#, as explained below. A template includes -[literal]#++<div>++# elements with a [parameter]#location# attribute that -defines the location identifier. All custom layout HTML-files must be saved -using UTF-8 character encoding. +[literal]#++<div>++# elements with a [parameter]#data-location# or +[parameter]#location# attribute that defines the location identifier. All +custom layout HTML-files must be saved using UTF-8 character encoding. [subs="normal"] ---- @@ -38,18 +38,18 @@ using UTF-8 character encoding. <table align="center"> <tr> <td align="right">User&nbsp;name:</td> - <td>**<div location="username"></div>**</td> + <td>**<div data-location="username"></div>**</td> </tr> <tr> <td align="right">Password:</td> - <td>**<div location="password"></div>**</td> + <td>**<div data-location="password"></div>**</td> </tr> </table> </td> </tr> <tr> <td align="right" colspan="2"> - **<div location="okbutton">**</div> + **<div data-location="okbutton">**</div> </td> </tr> </table> |