java - Vaadin 6.8 create chart with vaadin add-ons -


Hope you are doing awesome at the end but I need a little help. I am working on the Vadain Portlet and I need to make a Vaideen Chart (sample). I downloaded the required jar (Vadine-chart-vadin6-1.1.7.jar and G.SN 2.2.1.Jer) and made it as an application given below:

 < code> @SuppressWarnings ("serial") public class extends UserloginchartApplication application {public zero init (windows) = window (new window); setMainWindow (window); Chart chart = new chart (chart type .bar); window.setModal (true); window.addComponent (chart); }}   

After compiling and deploying on the Tomcat server, I get the following error on the UI

Implementing com.vaadin.addon.charts.Chart on the widget Is not included, check your @Centlivet Mapping widgetset GWT module description file and compile your widget again. If you have downloaded a Waideen add-on package, you would want to refer to the add-on instructions. Unrendered UIDL: -United UIDL-com.vaadin.addon.charts.Chart (A Client Implementation Foundation) ID = PID3 height = 400px width = 100.0% confState = {"chart": {"type": "bar "},"

Can anyone tell me to get / create the videeen chart in my lifetime?

Thanks in advance:

The problem is that vaadin.addon.charts have some client-side widgets which default Widge-set, you are not included If you are using Maven, such as toll can be created by doing this:

   ; Group> com.vaadin  artifactId> vaadin-maven-plugin   version> $ {vaadin.plugin.version} & Lt; / version & gt; & lt; Configuration & gt; & lt; gwtSdkFirstInClasspath & gt; True & lt; / gwtSdkFirstInClasspath & gt; & quot; extraJvmArgs & gt; -Xmx512M -Xss1024k & lt; / extraJvmArgs & gt; & Lt ;! - & lt; runTarget & gt; Mobilemail & lt; / runTarget & gt; - & gt; & Lt ;! - We're doing "In Place" but in the subway VAADIN / widgetsets This way compatible with the Vaidi Eclipse plugin. - & gt; & Lt; WebappDirectory & gt; $ {basedir} / src / home / webapp / VAADIN / widgetsets & lt; / webappDirectory & gt; & Lt; HostedWebapp & gt; $ {basedir} / src / home / webapp / VAADIN / widgetsets & lt; / HostedWebapp & gt; & Lt; NoServer & gt; True & lt; / NoServer & gt; & Lt ;! - Draft when the project is ready - & gt; & Lt; DraftCompile & gt; False & lt; / DraftCompile & gt; & Lt; CompileReport & gt; True & lt; / compileReport & gt; & Lt; Style & gt; OBF & lt; / Style & gt; & Lt; Strict & gt; True & lt; / Strict & gt; & Lt; runTarget & gt; Http: // localhost: 8080 / & lt; / runTarget & gt; & Lt; / Configuration & gt; & Lt; Hanging & gt; & Lt; Execution & gt; & Lt; Configuration & gt; & Lt ;! - If you do not specify any modules, they will get the plug-in - & gt; & Lt ;! - & lt; Module & gt; & Lt; Module & gt; Com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet & lt; / Module & gt; & Lt; / Module & gt; & Lt; GwtSdkFirstInClasspath & gt; True & lt; / gwtSdkFirstInClasspath & gt; - & gt; & Lt; / Configuration & gt; & Lt; Goals & gt; & Lt; Goal & gt; Resources & lt; / Target & gt; & Lt; Goal & gt; Update-widgetset & lt; / Target & gt; & Lt; Goal & gt; Collection & lt; / Target & gt; & Lt; / Targets & gt; & Lt; / Execution & gt; & Lt; / Hanging & gt; & Lt; / Plugin & gt;    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -