1/ the upload component does not allow for hooking up to remove file events. as a result, once a file has been uploaded and you display it, when you clikc remove X mark, we cannot hook up to removals.
No events for removals of files from the UPLOAD
2/ …how to add a google map to layout…with vaadin 10 all is unlike it was with earlier versions of vaadin…
GoogleMap googleMap = new GoogleMap(“apiKey”, null, “english”);
…
how to add it in Java to a VerticalLayout etc…
2: I haven’t looked at that particular add-on, but generally components are added to layouts by layout.add(component).
Olli,
I know that layout.add(component) is the typical obvious practice…unfortnuately in here there seems some unorthodox stuff going on and I cannot add the map that way starting recent versions of vaadin,
hence I posed the question seeking some Vaadin 10 examples with pom. I tried using
GoogleMap googleMap = new GoogleMap("apiKey", null, "english");
//googleMap.setSizeFull();
googleMap.addMarker("DRAGGABLE: , new LatLon(", new LatLon(position.getLatitude(), position.getLongitude()), true, "");
googleMap.setMinZoom(4);
googleMap.setMaxZoom(16);
and now… googelMap is not a component…in old versions it was simple now it requires such simple stuff requires extensiev a PhD in google searching for finding an example that will work with Vaadin 10/11:(
it used to be that you could do
VerticalLayout root = new VerticalLayout();
root.setWidth(“900px”);
root.setHeight(“400px”);
setContent(root);
googleMap = new GoogleMap(new LatLon(60.440963, 22.25122), 10.0, apiKey);
googleMap.setSizeFull();
root.addComponent(googleMap);
NOW…I cannot add the maps
using layout.add(googleMap)
VerticalLayout v1=new VerticalLayout();
GoogleMap googleMap = new GoogleMap("apiKey", null, "english");
LatLon latLon=new LatLon(position.getLatitude(), position.getLongitude());
googleMap.addMarker("DRAGGABLE: , new LatLon(", new LatLon(position.getLatitude(), position.getLongitude()), true, "");
googleMap.setSizeFull();
googleMap.setMinZoom(4);
googleMap.setMaxZoom(16);
//v1.add(googleMap); //NOT WORKING ...no idea how to add this dumb map
Martin Israelsen:
Thanks for bringing up the stack removal. I agree - the app should be able to turn it off if not needed. Gave it a +1 on github.
I am asking myself a different question…is ANYONE USING those components? such things render them UNUSABLE.
What is going on with Vaadin…I do not recognize the toolkit since the one I used like 6 years ago… this is all
reinventing the wheel it seems
Hi,
I am getting forbidden error(404) when i am using vaadin-upload in angular5 application.
Please help me on it as soon as possible.
Scenario
When I select the file from upload file button the file is showing processing and immediately giving forbidden error even rest end API is not triggered
Code snippet
Upload.Html
HI guys! Could you provide a short tutorial on how to upload a file to MYSQL Database? On Upload Component Example I can get it worked…
here where I’m stuck! I don’t understand how the RECEIVER works and if it should implemented.
Around I didn’t find any example, just this example on GITHUB…