Window component

Pre-V10 has Window component. Is there a plan to include in V10? Or, is it going to be the new Dialog only?

Yep, Dialog replaces Window: https://vaadin.com/docs/v10/flow/migration/5-components.html

Thanks Olli

will there be non modular windows that can be moved around?

Really interested in this, too. Our current implementation is on Vaadin 7 and is an MDI desktop that relies heavily on subwindows. We can’t move to Vaadin Flow, which we’d like to do, without subwindows. Our client is an enterprise client that doesn’t require mobile support. While I understand that lots if not most of implementations do require mobile support, there are still some of us that use things that don’t really work on mobile.

This add-on is really nice for those who need a MDI desktop.
[https://vaadin.com/directory/component/subwindowdesktop-and-subwindow-component]
(https://vaadin.com/directory/component/subwindowdesktop-and-subwindow-component)

Thanks, Syam, we looked at this. We’re really interested in moving to v14 and can’t do so (yet?) with this plug-in. However, perhaps we will upgrade to something earlier than v14 and then later again when this is ready.

There should be API for “new” dialog / window in V14:

setPositionX();
setPositionY();

I do not understand really. If you make “new” version of vaadin and lose features then it is not really new version is it.

Dialog should be 1:1 window V8 component (feature wise at least).

Dialog should be 1:1 window V8 component (feature wise at least).

The developers did a great job rewriting the framework. Many APIs are similiar though some are different.

There are numerous docs describing the new platform:

You can:

Regards

Hi,

Some missing features of the Vaadin 8 Window have been implemented and will be available in Vaadin 14.2.
It’s not yet stable but it’s coming soon and you can test it already (version 14.2.0.rc1)

Hello! How can I achive to have a maximize/restore icon, a closing icon, or a header or a footer on the Dialog in V14 (14.4.0)? Vaadin 8 had this feature, but as I see dialog doesn’t. Am I right? Thanks for your answer!

Here’s something that could help with that: https://github.com/mvysny/dialogheaderbar/

Olli Tietäväinen:
Here’s something that could help with that: https://github.com/mvysny/dialogheaderbar/

Thank you Olli for your help and Martin for the solution! It works great, I’m only strugling with the scrolling of the content. I have a header as the github solution shows and a button layout at the bottom with a close button and a send email button, and the content in the middle of the dialog. The header and the button layout should stay at fiexd position and only the content should be scrollable. I think I’m on the right way, just a ?little? CSS tweaking needed. Thanks again :slight_smile:

update: the content scrolling works too :slight_smile:

I’m a bit late as you got it working already, but just for future reference, the Scroller component could be useful in that kind of situation: https://vaadin.com/api/platform/14.4.2/com/vaadin/flow/component/orderedlayout/Scroller.html