ExternalLayout
ExternalLayout allows Vaadin components to be rendered outside the normal Vaadin application DOM-hierarchy
ExternalLayout is a single component container that can render the given component to any HTML-element in the page. The element is located with an element id. ExternalLayout can be used e.g. for rendering a search box or a shopping cart outside the Vaadin application in a portal environment.
Sample code
VerticalLayout content = new VerticalLayout(); setContent(content); Label internalLabel = new Label("Internal Label"); Label externalLabel = new Label("External Label"); ExternalLayout el = new ExternalLayout("external", externalLabel); content.addComponent(internalLabel); content.addComponent(el);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Minor changes to make addon work with 7.6
- Released
- 2016-02-05
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 7.6+
- Vaadin 7.0+ in 2.0.1
- Vaadin 6.0+ in 1.0
- Browser
- Internet Explorer
- Firefox
- Opera
- Safari
- Google Chrome
- Internet Explorer
- Internet Explorer
- Internet Explorer