Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:20
    tulioag synchronize #2072
  • 16:20

    tulioag on 1808_Grid

    Use _debouncerApplyCachedData … (compare)

  • 09:52
    pleku commented #1914
  • 09:52
    pleku commented #1914
  • 09:49
    yuriy-fix ready_for_review #964
  • 08:02
    jcgueriaud1 commented #2070
  • Oct 29 21:50
    TLN2 commented #2070
  • Oct 29 21:49
    TLN2 commented #2070
  • Oct 29 21:48
    TLN2 commented #2070
  • Oct 29 15:56
    tulioag synchronize #2072
  • Oct 29 15:56

    tulioag on 1808_Grid

    add test (compare)

  • Oct 29 14:36
    tulioag synchronize #2072
  • Oct 29 14:36

    tulioag on 1808_Grid

    fix: scroll on initial view Use debouncer (compare)

  • Oct 29 13:54
    tulioag synchronize #961
  • Oct 29 13:54

    tulioag on 900_Valid_item_is_not_selected_if_ComboBox_has_a_dataprovider_and_autoopendisabled

    5.4.3 Merge branch 'master' into fix/… (compare)

  • Oct 29 13:19

    yuriy-fix on fix-scroll-to

    (compare)

  • Oct 29 13:19

    yuriy-fix on master

    fix: scroll to added item (#206… (compare)

  • Oct 29 13:19
    yuriy-fix closed #2067
  • Oct 29 13:19
    yuriy-fix closed #1889
  • Oct 29 13:07
    tulioag synchronize #961
Denis
@denis-anisimov
@tonydarkOFF_twitter on Windows processes locks files that they uses so that they may not be removed until they are unlocked.
So this exception means you have another process which os locking the file. I may assume that there is another webpack dev server process which for some reason is not stopped. Check that there is no process accessing those files on your machine.
Then running the app should work fine.
If you are not able to find a process which locks the files you may just reboot your system.
sahilshah50
@sahilshah50
with https://github.com/vaadin/vaadin-router if I want to force a link href url to be fetched from server rather than being handled by router, how can this be achieved?
Giovanni Lovato
@heruan
I’m trying vcf-avatar-item in this Glitch: https://glitch.com/edit/#!/low-buckthorn but I can’t get the name initials to show up. What am I doing wrong?
Laurent de Laprade
@ldelaprade
web-components project starter contains package.json and package-lock.json. maven build seems to work without those 2. Since I am reluctant to add generated files in github, I was wondering if those 2 could be omitted. Thanks !
Mark Garrett
@moderndeveloperllc
@sahilshah50 That should like something for the web server. Remember that the browser will go through that first. Make sure that the URL you want to handle separately does not point to or include the entry point where your router is included.
Laurent de Laprade
@ldelaprade
@snirben
Kari Söderholm
@Haprog
@sahilshah50 I haven't use vaadin-router but I took a quick look at the documentation for it. To me it seems like there is no simple built-in way to do it, but I think you can do it in two ways. Either define it as a route and give that route an action method that does a navigation by setting window.location to the target URL. Or alternatively use the Router.setTriggers API and use a customized version of the click trigger (where I think you could do the navigation via window.location based on some attribute being present on the clicked <a> element, or based on href path or some other condition) instead of the default one.
You can check the code of the default link click trigger from here https://github.com/vaadin/vaadin-router/blob/master/src/triggers/click.js actually you'd probably only need to add one more of those simple "ignore" conditions.
Kari Söderholm
@Haprog
@heruan It looks like vcf-avatar-item doesn't import <dom-if> from polymer even though it uses it. I think it should work if you explicitly import dom-if though it's obviously a bug.
Or it would probably work if your page has any other things that happen to import dom-if. :P
I saw you edit the glitch just now. Looks like you encountered another bug related to non-latin alphabet it seems. :D
Giovanni Lovato
@heruan
@Haprog Indeed, I added the import and initials appear! So here comes the real issue: when the name has accented characters, the abbreviation is incorrect.
Yeah :sweat_smile:
Kari Söderholm
@Haprog
@heruan looks like you can override it by setting abbr property explicitly though (as a workaround). I also noticed that if you change name dynamically the abbr isn't automatically updated, it only sets abbr initially when name is set for the first time (if you don't override it yourself).
Kari Söderholm
@Haprog
So you can do <vcf-avatar-item name="Matteo Corà" abbr="MC"></vcf-avatar-item> to make it show "MC". Btw using my full name on it results in "KSÖD" being shown :D
Jan Jakubowski
@g3t0r
Hi. I'm reading about drag and drop in vaadin-tree-grid. Is it possible to drag and drop from tree to element that isn't grid? In my case I have div which is container for draw2d library. Is there any way to make it work?
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