Closed LT-AMC closed 6 years ago
Please see the example for Vaadin 10. I've created an extra branch for this. The Master Branch is Vaadin 8.
To the exception I would have to know which version of Vaadin 10 you are using, because Vaadin changed a lot during the beta versions.
I see, so you're always supposed to extend Hybridmenu and the .get() will not be implemented again? We are on beta 8 right now, I could try a newer version.
Exactly, unfortunately I still haven't gotten around to writing a documentary. Since the navigator has changed from Vaadin 8 to 10 to the "router", I have adapted the structure accordingly as I consider it best. My demo uses the Beta 10.
Guess that makes sense, but I didn't look to deep into the routing stuff yet. Updated to beta 10 and it works! Thanks for the insanely fast support, really looking forward to use this component, keep up the good work :)
Thank you very much. I'm glad. I try to keep up with the beta versions of Vaadin 10. The routing in Vaadin 10 seems confusing, but if you have read in https://vaadin.com/docs/v10/flow/routing/tutorial-router-layout.html then you can handle it quite well. I am currently also in the process of raising my own projects to Vaadin 10, so some changes might be included in the HybridMenu.
Hi, I just tested out your component with version 3.0.5 for Vaadin 10 and it looks very promising! I just can't get the HMButtons to work properly. If I add one with a ClickListener and click it, I get a ClassCastException for ClickEvent.
Here is the code I used:
Maybe you also have some insight on the instantiation of HybridMenu. I've seen some examples using HybridMenu.get() but it seems to be missing in the 3.0.5 version.
Anyways, this is the stack trace I get when clicking the created HMButton:
Hope you can look into this issue, as we would love to use your component :)