blob: 13223cd010ac9a3c8dcd58a1a00dedeb56b85b0a [file] [log] [blame]
<h2>Support for native HTML document overflow behaviour</h2>
For better support of RAP applications that look like normal web sites, we added a posibility to
enable native HTML document overflow behaviour. To enable it, a new property
<code>WebClient.PAGE_OVERFLOW</code> with one of the values "scroll", "scrollX" or "scrollY"
must be set to your application.
<pre lang="java">
public class MyApplication implements ApplicationConfiguration {
public void configure( Application application ) {
Map<String, String> properties = new HashMap<String, String>();
properties.put( WebClient.PAGE_OVERFLOW, "scrollY" );
application.addEntryPoint( "/", MyEntryPoint.class, properties );