Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using with Vaadin 7.5.8 but raises error ... #15

Open
dmarko484 opened this issue Oct 29, 2015 · 7 comments
Open

Using with Vaadin 7.5.8 but raises error ... #15

dmarko484 opened this issue Oct 29, 2015 · 7 comments

Comments

@dmarko484
Copy link

... like this on the screen on place of upload widget. Any idea what is wrong here?

Widgetset 'com.vaadin.DefaultWidgetSet' does not contain implementation for org.vaadin.easyuploads.MultiUpload. Check its component connector's @connect mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to

@mstahv
Copy link
Collaborator

mstahv commented Nov 3, 2015

Hi, looks like a typical "no widgetset issue". Did you follow the instructions in the Directory? Do you have application specific "AppWidgetset.gwt.xml" file in your project?

@developerin
Copy link

Hi, I have the same problem with Vaadin 7.2.6. I put the jar files of easyuploads into /WEB-INF/lib, added it to build path.

I have a gwt.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN"
    "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd">
<module>
    <inherits name="com.vaadin.DefaultWidgetSet" />
    <!--<set-property name="user.agent" value="safari"/> <stylesheet src="filtertable/filtertable.css"/> 
        <stylesheet src="popupbutton/popupbutton.css"/> -->
    <inherits name="org.tepi.filtertable.gwt.FilterTableWidgetset" />
</module>

I don't understand this part:

Important
If the add-on has any custom client-side code (i.e. contains a *.gwt.xml file defining a widget set), your application must define a single widget set that inherits from the add-on widget sets in your project. See the links below for more details on how this is accomplished.

Does this mean, that I have to add the entries from SWFUpload.gwt.xml and Widgetset.gwt.xml into my own defined widgetset?

@developerin
Copy link

Fixed it with adding:

<inherits name="org.swfupload.SWFUpload" />
<inherits name="org.vaadin.easyuploads.Widgetset" />

to my personal *.gwt.xml file.

@mstahv
Copy link
Collaborator

mstahv commented Mar 9, 2016

That should do it. I think actually just org.vaadin.easyuploads.Widgetset should be enough as it drags in SWFupload module transitively.

BTW. How do you build your project? What IDE are you using? Your tooling should update your application widgetset automatically to contain that module.

@losblancos113
Copy link

I got this error in my Spring Boot project using Vaadin 7.7. How can I fix that ?

@mstahv
Copy link
Collaborator

mstahv commented Nov 10, 2016

Have you added vaadin-maven-plugin to your project? Like in this example app:

https://github.com/mstahv/spring-data-vaadin-crud/blob/7a76111ec52df99c9eebb3003087f817e79bedcc/pom.xml#L154-L169

@losblancos113
Copy link

@mstahv thanks you so much. I have already fixed my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants