当我在BeanItemContainer中使用Vaadin的Grid时,我遇到了一些问题。它显示一行OK,但当我试图保存已编辑的行时,它会抛出:
java.lang.IllegalArgumentException: Given item id (uz.sample.backend.entity.MyBean@4d949367) does not exist in the container
at com.vaadin.ui.Grid$AbstractSelectionModel.checkItemIdExists(Grid.java:1367)
at com.vaadin.u
所以我对Vaadin和所有这些东西都很陌生,我目前正在尝试将CSS-File集成到我的站点上。但是,当我尝试这样做时,在尝试运行gradle-Project之后会出现一个错误:
java.lang.IllegalStateException:
Failed to find the following css files in the `node_modules` or `C:\Users\Sebastian Malburg\Documents\Schule_4\SYT\Wind-2\windpark_REST_JSON\.\frontend` directory tree:
在试图更新数组的值时,遇到了一个问题。从过去的4个小时开始,我就一直在google上搜索,但是没有运气,我有如下代码:
<!--
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://po
在试图读取网格时获取此错误。
java.lang.ClassCastException:无法将类com.vaadin.flow.component.grid.Grid转换为com.vaadin.flow.component.combobox.ComboBox类(com.vaadin.flow.component.grid.Grid和com.vaadin.flow.component.combobox.ComboBox位于加载程序的未命名模块中)
private boolean fieldValidation() {
for (int i = 0; i < getCompone