vaadin

    2熱度

    1回答

    Vaadin 8,new Binder feature可以有一個或多個驗證程序附加到字段。這些驗證器會立即運行,例如用戶在TextField中鍵入。 有沒有辦法避免經常運行驗證器,而是隻在焦點離開用戶時才運行,例如用戶按Tab鍵移動到另一個字段時?

    0熱度

    1回答

    沒有找到我想要實現一個Vaadin 8框架項目(8.0.5),但我不能讓視窗元件進行編譯。 使用Glassfish的4(可替換地,嘗試了Wildfly)DB:ObjectDB。我有圖表和時間線插件(行貨)。主題使用eclipse Vaadin插件編譯得很好。 WAR部署良好。 拉扯大的GlassFish後,試圖訪問用戶界面 - MyAppWidgetset.nocache.js not found

    0熱度

    1回答

    我在Vaadin創建了一個StreamResource。我如何將參數fileName傳遞給匿名類?我必須在內部類中設置fileName。 這裏的源代碼: String fileName; public void anotherMethod(){ StreamResource myResource = createResource(); fileDownloader = ne

    0熱度

    1回答

    如何檢測fileDownloader完成導出我的CSV文件: 這裏的一部分,在那裏我實現了下載按鈕 Button downloadButton = new Button("Download"); Exporter exporter = new Exporter(); downloadButton.addClickListener(clickEvent -> { //s

    0熱度

    1回答

    我嘗試在vaadin中選擇此項之後更改項目的顏色。但是當我點擊一個項目時沒有選擇menuItems。 MenuBar.MenuItem previous = null; void createMenuBar(){ menuBar = new MenuBar(); menuBar.addItem("First Item", menuItem -> {

    1熱度

    2回答

    我想將Vaadin圖表添加到我的項目中,我添加了maven依賴項,安裝許可證和vaadin clean,更新widgetset和編譯。但是,當我運行應用程序並打開本地主機:8080,在控制檯遇到錯誤: The widgetset in use does not seem to be built for the Vaadin version in use. This might cause str

    0熱度

    3回答

    我在Vaadin框架中使用了Movable Vertical列和固定菜單欄。以下是菜單欄的SCSS查詢。因此,在保持寬度100%的情況下,菜單欄在最右側的內容將不在屏幕上。 下面是垂直菜單組件 private Component buildContent(HierarchicalContainer con) { menuContent=new CssLayout(); menu

    0熱度

    2回答

    我想驗證與Vaadin組合框的值。我的目標是避免將所選對象的'myIntegerAttribute'字段設置爲null來提交表單。假設組合框存儲「MyBean」類對象。 我正在使用「FilterableListContainer」來綁定數據。 我想這一點,但似乎驗證是不是被解僱: List<MyBean> myBeans = getMyBeansList(); FilterableListCon

    1熱度

    1回答

    <vaadin-combo-box [items]="myValues" item-label-path="code" item-value-path="code" allow-custom-value="true" ></vaadin-combo-box> 我有對象的列表一個vaadin-COMBOX盒元件: [ {code:'x',

    0熱度

    1回答

    我不知道爲什麼我收到的錯誤: org.apache.cayenne.CayenneRuntimeException: [v.4.0.M5 Feb 24 2017 07:47:55] Commit Exception [...] Caused by: java.sql.SQLException: Procédure stockée 'auto_pk_for_table' introuvable.