diff --git a/facete3-app-parent/facete3-app-vaadin/src/main/java/org/aksw/facete3/app/vaadin/components/ItemComponent.java b/facete3-app-parent/facete3-app-vaadin/src/main/java/org/aksw/facete3/app/vaadin/components/ItemComponent.java index 517679cb..7eb034f4 100644 --- a/facete3-app-parent/facete3-app-vaadin/src/main/java/org/aksw/facete3/app/vaadin/components/ItemComponent.java +++ b/facete3-app-parent/facete3-app-vaadin/src/main/java/org/aksw/facete3/app/vaadin/components/ItemComponent.java @@ -326,6 +326,7 @@ public void refreshTable() { GridContextMenu cxtMenu = tableGrid.addContextMenu(); cxtMenu.addItem("Show Query", ev -> { + // Extract the query from the underlying DataProviderSparqlBinding String queryStr = Unwrappable.unwrap(tableGrid.getDataProvider(), DataProviderSparqlBinding.class, true).get().getRelation().toQuery().toString(); ConfirmDialog dlg = ConfirmDialogUtils.info("Query" , queryStr, "Ok"); dlg.setWidth("50%"); @@ -333,7 +334,7 @@ public void refreshTable() { dlg.open(); }); - DataProviderUtils.wrapWithErrorHandler(tableGrid); + // DataProviderUtils.wrapWithErrorHandler(tableGrid); tableDiv.removeAll(); tableDiv.add(tableGrid); } @@ -357,7 +358,7 @@ public void showShaclUploadDialog() { RdfDataSource dataSource = dataProvider.getDataSource(); DataRetriever dataRetriever = VaadinShaclGridUtils.setupRetriever(dataSource, shaclModel); dataProvider.setDataRetriever(dataRetriever); - System.out.println("TABLE REFRESH"); + // System.out.println("TABLE REFRESH"); ShTemplateRegistry newTemplates = VaadinShaclGridUtils.loadTemplates(shaclModel); templates.clear();