Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ghost
    @ghost~5940038dd73408ce4f6704d7
    and you can rule out, that _materialList holds all elements right before setItems?
    or rather make sure
    Radostin Tsvetanov
    @RadostinTsvetanov_gitlab
    Sure, it contains them all
    Tatu Lund
    @TatuLund
    I do not know details of this component well as it is not made by Vaadin. But if it follows the same conventions, I would assume that after you set the item selected, you need to call dataProvider.refreshAll(..). If it does not help, this could be also a bug in the mentioned component.
    coinmaster4you
    @coinmaster4you
    Exception has occurred: java.lang.NoSuchFieldException
    "java.lang.NoSuchFieldException: TYPE"
    in a Class.class file what is up?
    vaadin 14
    spring
    vscode
    standard sampel project
    also have trouble with it is expecting javaSE but only find JRE
    Knoobie
    @knoobie
    Should this be backported to V8 vaadin/flow#8548 or is the framework not affected by it?
    Tatu Lund
    @TatuLund
    @knoobie , good catch, it possibly should be, I wrote adaptation of it (not just a cherry pick) vaadin/framework#12042
    Knoobie
    @knoobie
    @TatuLund thanks! :)
    Pekka Hyvönen
    @pleku
    Hello. Anyone referring to listing components (like grid, combobox) using the interface type of HasItems or HasDataProvider to set the items to it ? Please comment if you do, thanks.
    Knoobie
    @knoobie
    Only did it for internal addons where I wrote a wrapper for Vaadin components.
    Tatu Lund
    @TatuLund
    @knoobie the PR #12042 was included in Vaadin 8.11.1 released today
    Knoobie
    @knoobie
    @TatuLund Thanks Tatu! Gonna update later
    Harri T.
    @haba713
    hi! i'm trying to port vaadin 8 osgi portlet from liferay 7.0 to liferay 7.3.

    https://vaadin.com/docs/v8/framework/portal/portal-osgi.html

    java -jar blade.jar sh start https://repo1.maven.org/maven2/org/jsoup/jsoup/1.11.2/jsoup-1.11.2.jar

    that used to work with liferay 7.0 but fails with liferay 7.3:
    > java -jar blade.jar sh start https://repo1.maven.org/maven2/org/jsoup/jsoup/1.11.2/jsoup-1.11.2.jar
    start https://repo1.maven.org/maven2/org/jsoup/jsoup/1.11.2/jsoup-1.11.2.jar
    gogo: IllegalArgumentException: Cannot coerce start(Token) to any of [(Bundle[])]
    the documentation should be updated because it talks about "Liferay 7+".
    Tatu Lund
    @TatuLund
    @haba713 , which exact Vaadin 8 version you use? With Liferay 7.3 you need to upgrade to Vaadin 8.11, as Liferay kernel version was updated vaadin/framework#11943
    Harri T.
    @haba713
    @TatuLund , I managed to get the portlet working with the help of Liferay developers at the Liferay Slack channel.
    Harri T.
    @haba713

    Vaadin documentation:

    java -jar blade.jar sh start https://...

    That one does not work with Liferay 7.3 anymore.
    You must use java -jar blade.jar sh install https://...and java -jar blade.jar sh start _OSGI_ID_ instead.
    Tatu Lund
    @TatuLund
    Thanks, that is very valuable information, could you add it as a comment on the https://vaadin.com/docs/v8/framework/portal/portal-osgi.html page.
    Harri T.
    @haba713
    I'll do that.
    Harri T.
    @haba713
    done
    Tatu Lund
    @TatuLund
    Thanks :)
    Danny Ackerman
    @dannyackerman_twitter
    hey all. is it possible to add a basic rest endpoint to a vaadin application?
    Tatu Lund
    @TatuLund

    hey all. is it possible to add a basic rest endpoint to a vaadin application?

    There should not be anything preventing that. REST end point will be served by its own servlet, so it is quite independent. You just need to verify that there are no overlaping servlet mappings.

    Danny Ackerman
    @dannyackerman_twitter
    @TatuLund thanks! but how do i add another servlet "to the mix" that can also communicate with the vaadin app? basically want an external service to be able to call my vaadin server, which in turns pushes down info to all clients
    Ghost
    @ghost~5940038dd73408ce4f6704d7
    @dannyackerman_twitter that is somewhat vaadin agnostic. first of all you will have a hard time to open up the vaadin servlet to do that
    you can make your life easier by reusing something already there. e.g. if you use spring also add the web stuff and write some @RestController
    then make sure your new servlet/controller/whatever and your vaadin application tap the same source
    Danny Ackerman
    @dannyackerman_twitter
    hey all. anyone around who can help me understand a few things?
    Ghost
    @ghost~5940038dd73408ce4f6704d7
    @dannyackerman_twitter don't ask to ask, just ask
    Danny Ackerman
    @dannyackerman_twitter
    @christoph-frick i usually always follow that policy, it's just sometimes i'm looking for an interactive back and forth so its nice to know if someone's around to engage with :-)
    TT
    @Gunmen-TT
    Anyone, I have a question and need help
    Widgetset 'com.vaadin.DefaultWidgetSet' does not contain an implementation for com.vaadin.addon.charts.Chart. Check the connector
    I executed mvn vaadin:compile successfully and the file has been generated under the target, but the operation display still shows the above error
    My license is valid
    Tatu Lund
    @TatuLund
    Could you try mvn vaadin:update-widgetset and then compiling the widgetset again ?
    TT
    @Gunmen-TT
    Solved the problem thank you
    TT
    @Gunmen-TT
    mvn clean always deletes the AppWidgetset class under my target, and I have to go back to it every time. mvn vaadin:update-widgetset mvn vaadin:compile is there any good way to download this class?
    m-escher
    @m-escher
    Hey there, is there a way to fetch data from V8 Grid DataProvider without blocking the UI?
    Marcus Hellberg
    @marcushellberg
    Hey folks! Good news 🎉 We are moving our community chat to Discord. Please join us over at https://discord.gg/MYFq5RTbBn. We'll be closing down the Gitter chat in a week or so.
    m-escher
    @m-escher
    Is there a way to freeze the rightmost columns in a Grid?
    Tatu Lund
    @TatuLund
    No, the column freezing works from the left. So freezing from the right is not supported. This has been asked couple of times.