blob: 13223cd010ac9a3c8dcd58a1a00dedeb56b85b0a [file] [log] [blame]
<div>
<h2>Support for native HTML document overflow behaviour</h2>
</p>
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.
</p>
<pre lang="java">
public class MyApplication implements ApplicationConfiguration {
@Override
public void configure( Application application ) {
Map<String, String> properties = new HashMap<String, String>();
...
properties.put( WebClient.PAGE_OVERFLOW, "scrollY" );
application.addEntryPoint( "/", MyEntryPoint.class, properties );
}
}
</pre>
</div>