Enhanced Dialog
Vaadin Dialog extension with header, footer and scrolling content area.
DEPRECATED
A header and footer have been added in Vaadin 23.1. See the official documentation: https://vaadin.com/docs/latest/ds/components/dialog
So the component won't be updated for Vaadin 23.1+. It will probably still work on Vaadin 23.1+ but you should use the official component.
Overview
Enhanced Dialog supports all the same features as Vaadin Dialog but also brings header and footer sections.
Usage
Add the dependency to your project (see sidebar in directory). Create a new EnhancedDialog and add your components to header, footer or content sections (see code examples)
Client-side implementation
This is the server-side (Java) API for the Vaadin Platform for the vcf-enhanced-dialog component. Looking for the client-side version? It can be found here: https://www.npmjs.com/package/@vaadin-component-factory/vcf-enhanced-dialog
Sponsored development
Major pieces of development of this add-on has been sponsored by customers of Vaadin. Read more about Expert on Demand at: Support and Pricing
Sample code
EnhancedDialog dialog = new EnhancedDialog(); dialog.setHeader("Example Header"); dialog.setContent(new Span("Content")); dialog.setFooter(new Button("Close", evt -> dialog.close())); dialog.open();
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
Fix 2 missing imports in the webcomponent: DialogOverlayBoundsParam, DialogOverlayBounds
- Released
- 2022-06-07
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 23+
- Vaadin 22 in 22.0.0
- Vaadin 23 in 23.1.2
- Vaadin 21 in 21.0.0
- Vaadin 14+ in 1.0.4
- Browser
- N/A
Enhanced Dialog - Vaadin Add-on Directory
Vaadin Dialog extension with header, footer and scrolling content area.View on GitHub
Enhanced Dialog version 1.0.0
v 1.0.0: Initial release:
Added API for the component
Enhanced Dialog version 1.0.1
- Assigned class names to header, content and footer to ease styling
- setHeader method now creates H3 element instead of Span
Enhanced Dialog version 1.0.2
Increased web component version
Enhanced Dialog version 1.0.3
Update the license to Apache 2.
Don't show the scrollbar in the content if not necessary
Enhanced Dialog version 1.0.4
Add position relative to the content of the dialog.
Add scope provided to the maven configuration
Enhanced Dialog version 21.0.0
Compatibility with Vaadin 21.
Use version 1.x for Vaadin 14.
Enhanced Dialog version 23.0.0
Vaadin 23 version of the component
Enhanced Dialog version 22.0.0
Version compatible with Vaadin 22
Enhanced Dialog version 23.0.1
Fix 2 missing imports in the webcomponent: DialogOverlayBoundsParam, DialogOverlayBounds
Enhanced Dialog version 23.1.2
Vaadin 23 version compatible with web-component version vcf-enhanced-dialog 23.1.1.