Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:20
    web-padawan synchronize #977
  • 17:20

    web-padawan on p3-events

    Cleanup typings, extend HTMLEle… Cleanup and reorder imports Update copyright headers and 10 more (compare)

  • 16:19
    web-padawan synchronize #977
  • 16:19

    web-padawan on p3-events

    Increase test timeouts (compare)

  • 16:10
    web-padawan synchronize #977
  • 16:10

    web-padawan on p3-events

    Run unit tests in SauceLabs (compare)

  • 16:10
    web-padawan converted_to_draft #977
  • 16:10
    web-padawan ready_for_review #977
  • 16:09
    web-padawan synchronize #977
  • 16:09

    web-padawan on p3-events

    Run unit tests in SauceLabs (compare)

  • 16:05
    web-padawan synchronize #977
  • 16:05

    web-padawan on p3-events

    Replace Travis with GitHub acti… Update dependencies versions (compare)

  • 15:59
    web-padawan synchronize #977
  • 15:59

    web-padawan on p3-events

    Update dependencies versions (compare)

  • 15:57
    web-padawan converted_to_draft #977
  • 15:57
    web-padawan ready_for_review #977
  • 15:57
    web-padawan synchronize #977
  • 15:57

    web-padawan on p3-events

    Replace Travis with GitHub acti… (compare)

  • 15:55
    web-padawan synchronize #977
  • 15:55

    web-padawan on p3-events

    Cleanup typings, extend HTMLEle… Cleanup and reorder imports Update copyright headers and 7 more (compare)

Tomi Virkki
@tomivirkki
Hello @g3t0r, The DnD support in grid is built with standard html5 dnd API's so there should be no issues with interoperability between external drop targets. You can add a "drop" event listener to the drop target and access the data the same way as in the "grid-drop" listeners at https://cdn.vaadin.com/vaadin-grid/5.5.0/demo/#grid-drag-and-drop-demos
Jan Jakubowski
@g3t0r
@tomivirkki Okay, thanks a lot for help!
Rolando Isidoro
@rolandoisidoro
hi all, after a day without problems, today I started trying to include some CSS from the Bootstrap bundle, as stated in this forum post and the missing fields in the login form I mentioned before started happening again
the difference now is that the console tab on Firefox now shows the following error:
Error: Module build failed (from ../node_modules/babel-loader/lib/index.js):
Error: ENOENT: no such file or directory, open '/node_modules/@vaadin/vaadin-lumo-styles/color.js' vaadin-bundle-f9f1cbfa3503dc673d6d.cache.js line 404 > eval:1:7
Rolando Isidoro
@rolandoisidoro
I think my env might be broken somehow. I've tried deleting package* webpack.* node_modules/ and running mvn clean, but creating new builds and deploying end up with the same error
any idea how to debug this issue?
Rolando Isidoro
@rolandoisidoro
is there a way to include badges, as seen in the Lumo theme editor, using JAVA code?
Mark Fortner
@phidias51
Is there a way to select a listbox item using a key press. For example, you might have a Priority listbox with values "High", "Medium" and "Low" and want to press H to select High, M to select Medium, etc. Is there a way of doing that?
Kondorov
@Kondorov

Hello! I am making a web application. I have a DAO class. There is a method that returns a list of objects from a database table as a list. The list is correctly displayed via MAIN. However, when executing the code

List<PatientEntity> lde = null;
try {
lde = pd.getAll();
} catch (SQLException e) {
e.printStackTrace();
}
grid.setItems(lde);
Error: items can not be null

help me please
Walter Laurito
@lauritowal
Hi guys! Is there a way to manually set the upload of the vaadin-upload element to success? I've tried event.detail.xhr.status = 200;
But it says it's read only and I get an error
Kari Söderholm
@Haprog

@lauritowal What are you trying to accomplish? It's the server that defines the status code. You can't change that fact after receiving it.

After checking out that demo, the commented code about "Interpret any server response as success" looks like a mistake to me.
XHR is an instance of XMLHttpRequest where status is readonly. That demo seems to be 2 years old though. I guess it's possible that xhr status was writable in browsers 2 years ago but I'm not sure. Couldn't easily find any info on if this has somehow changed.

Walter Laurito
@lauritowal
Hi @Haprog ! Thanks for your answer. I am doing event.preventDefault(); and
uploading the file manually via graphQL that's why I need a way to set everything to completed when the file is uploaded. Like stopping the progress bar and setting the complete icon.
Walter Laurito
@lauritowal
I tried event.detail.file.complete = true;
also
Walter Laurito
@lauritowal
Don't worry. I've changed the uploading a bit. Working now :)
Mark Garrett
@moderndeveloperllc
@tomivirkki Just saw the alpha for vaadin-accordian. I'm pretty excited about the move to LitElement and look forward to someday not having to bundle the (relatively) heavy Polymer 3 libraries.
Tomi Virkki
@tomivirkki
@moderndeveloperllc Yeah, the next generation Vaadin components are going to be lit :) @web-padawan is doing great job with the conversion.
Mark Garrett
@moderndeveloperllc
@tomivirkki Just got done voting on the proposals for vaadin-form. Really interested to see what y'all can do with that as iron-form is my last real Polymer dependency.
Serhii Kulykov
@web-padawan
@moderndeveloperllc see also the proposal here
https://github.com/vaadin/proposal-for-vaadin-form
API is not yet decided. It might be not a web component but e.g. lit-html directive
Mark Garrett
@moderndeveloperllc
@web-padawan I voted for a few I really liked. You can see the feature request I created about serialization. FWIW, I'm partial to the DOM-style API alternatives as it would be easier to port existing forms rather than a lit-html directive that would require much more work to port. Directives also appear to be designed for specific, limited functionality. A form() directive seems too big and complex, but that's JM2C.
Mark Garrett
@moderndeveloperllc
@web-padawan I'm testing out vaadin-accordion 2.0.0 -alpha. The component is rendering, but opened-changed does not seem to fire when I click a panel. A click registers, but not the event. opened-changed does fire if I select the panel header via keyboard and hit space.
Jean-François Lamy
@jflamy
npm noob question: "compression-webpack-plugin": "3.0.0" is listed in package.json, and has a dependency on a package that is flagged as having a security bug by github. If I edit package.json and use 3.0.1 (which exists and is said to fix the problem), then maven prepare-frontend resets the version to 3.0.0. How does prepare-frontend figure out the version and where can I change it ?
Serhii Kulykov
@web-padawan
@moderndeveloperllc thanks for reporting, will take a look why that happens.
Submitted vaadin/flow#7121 to handle the compression-webpack-plugin upgrade.
Mark Garrett
@moderndeveloperllc
@web-padawan Let me know if I need to open an issue into the repo. FYI, snippet of code can be found here: https://gist.github.com/moderndeveloperllc/4e007127c8746c632a5554129badb3a9 I tried to take it out of the form, and it still wasn't registering clicks.
paulkirspuu
@paulkirspuu

hey yall vaadiners!

https://vaadin.com/components/vaadin-tabs/html-examples/tabs-integration-demos#content-switcher-with-iron-pages not working out of the box, getting vaadin-list-mixin.js:207 Uncaught TypeError: Cannot read property 'disabled' of undefined.

ideas?

Kari Söderholm
@Haprog
@paulkirspuu Seems to work fine at that URL for me. Can you show your code for the view where you get that? Have you remembered to import iron-pages component?
paulkirspuu
@paulkirspuu
iron pages imported, as well as vaadin-tabs
at that url it works for me, too
ill dm you the code
Kari Söderholm
@Haprog
That demo seems to use Polymer data binding so you either need to have that code in a Polymer template or wrapped in a dom-bind to have the data binding work.
I guess it could be presented somehow more clearly. Usually in the demos we assume that the code should work as pasted in a normal HTML file, but that one seems to have a different assumption without explanation.
Kari Söderholm
@Haprog
Turns out @paulkirspuu was trying to use the example polymer data binding in a LitElement. I'm not sure but there might also be another nicer way to do this kind of tabs in Lit without iron-pages.
Paul
@corbettcode
Howdy everyone, we just migrated to Vaadin 14 this past weekend and until today everything seemed to be working. Trying to build a production version yields the error: "Failed to execute goal com.vaadin:vaadin-maven-plugin:14.1.2:prepare-frontend (default) on project onerev-app:". Has anyone else encountered this?
sahilshah50
@sahilshah50

@moderndeveloperllc and @Haprog , thanks for replying to my query. Not sure how I missed your notification.
@Haprog your recommendation was spot on. I ended up using custom click trigger, checked for a "router-ignore" attribute on <a> element. It was a very small change in the click.js file that you mentioned.
// ignore the click if the <a> element has the 'download' or 'router-ignore' attribute
if (anchor.hasAttribute('download') || anchor.hasAttribute('router-ignore')) {
return;
}

I feel this small feature addition should be incorporated by vaadin team in original code. May be name the attribute "vaadin-ignore" :)

Kari Söderholm
@Haprog
Great to hear you got it working. @sahilshah50 you could open a feature request issue at https://github.com/vaadin/vaadin-router/issues if you like. But I can also link this discussion to the team that works on router.
Paul
@corbettcode
Vaadin 14.1.2 does not contain the latest version of FlexLayout. Makes me wonder what else is not up-to-date!
Kari Söderholm
@Haprog
@corbettcode FlexLayout is part of vaadin-ordered-layout-flow package. Latest stable release of that is 2.0.0 which seems to be included in Vaadin 14.1.2. But there does seem to be one newer commit in master branch of vaadin-ordered-layout-flow which isn't in any release yet. Are you referring to this one https://github.com/vaadin/vaadin-ordered-layout-flow/commit/4ccdeaec1e29764750ed9f0fa4bf23fa406436e4#diff-5e8cfb4002e77c7bd94f3bc270fe3fcb ?
Paul
@corbettcode
@Haprog Yes, the new training videos state that there is an updated FlexLayout in 14.1. Check the layout video. Also, the web site does not mention FlexLayout in the Components library.
Paul
@corbettcode
@Haprog Trying to build a production version in a BitBucket pipeline yields the error: "Failed to execute goal com.vaadin:vaadin-maven-plugin:14.1.2:prepare-frontend (default) on project onerev-app:". I can build and run both on my development system without error. Do you know anything about this? If not, do know of anyone who would?
Kari Söderholm
@Haprog
@corbettcode Thanks for pointing that out about the training video! I guess that video was recorded with the assumption that the new version of FlexLayout would make it into Vaadin 14.1 but for some reason it got delayed (I don't know the details for the decisions). Hopefully we can add some note about this in the training materials soon or get the 14.2 out with this new FlexLayout version soon.
@corbettcode I don't know that much about the Java build and this channel is mainly about the components. Please ask about that in https://gitter.im/vaadin/flow or at https://vaadin.com/forum
Paul
@corbettcode
@Haprog Sorry...was not sure where to ask this. Thank you for letting me know.
GantaSanthoshkumar
@GantaSanthoshkumar
How to develop responsive design in vaadon