gwtmaterialdesign / gwt-material-demo Goto Github PK
View Code? Open in Web Editor NEWShowcase Site for gwt-material
Home Page: http://gwtmaterialdesign.github.io/gwt-material-demo
License: Apache License 2.0
Showcase Site for gwt-material
Home Page: http://gwtmaterialdesign.github.io/gwt-material-demo
License: Apache License 2.0
Reason we can now call setValue(boolean value)
Reason: We have the MaterialWidget as replacement
Reason: We have the MaterialDataTable project to build this components
Reason: We have the ViewPort as replacement of this API
Reason: We refactor it to loading(boolean) & progress(boolean) for standard naming convention
Reason: We created new concrete class MaterialAnimation and it's method (Avoid static method).
Hello,
Current link for starter template demo is leading to http://gwtmaterialdesign.github.io/gwt-material-template/snapshot/ instead of http://gwtmaterialdesign.github.io/gwt-material-starter/snapshot/
Notify the community about the support of RichEditor inside the Modal component.
If i am add a MaterialAutoComplete to a MaterialModal's MaterialModalContent, the SuggestionDisplay displayed below the dialog.
"This widget's parent does not implement HasWidgets"
CheckBox
ListBox
Radio Button
Range
Switches
Text Fields
Update the Java Doc references.
Update search categories
Update SideNav Forms Section
This is a POC to be implemented, if success can be distributed to all projects.
mvn test
Same issue with #41
When I enter a number console log show: Caused by: java.lang.RuntimeException: Field must be a number.
Same when click VALIDATE
https://gwtmaterialdesign.github.io/gwt-material-demo/#errors
The page that shows GWT charts integration has a link to download gwt charts jar . The link points to a non-existing page.
Reference https://sidecar.gitter.im/
I have cloned the project and tried to run it in Super DevMode using mvn package gwt:run
, but without any luck. Here is the stacktrace:
[INFO] [ERROR] An internal compiler exception occurred
[INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:121)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:296)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
[INFO] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:67)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
[INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.visitChildren(JMethodCall.java:253)
[INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:246)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
[INFO] at com.google.gwt.dev.jjs.ast.JExpressionStatement.traverse(JExpressionStatement.java:42)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:95)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:351)
[INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:149)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:145)
[INFO] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[INFO] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:600)
[INFO] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:569)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1505)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:870)
[INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1305)
[INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
[INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
[INFO] at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
[INFO] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:206)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:158)
[INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
[INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:127)
[INFO] Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
[INFO] at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:161)
[INFO] at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:730)
[INFO] at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:263)
[INFO] at org.apache.velocity.runtime.RuntimeInstance.requireInitialization(RuntimeInstance.java:302)
[INFO] at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1531)
[INFO] at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:343)
[INFO] at com.gwtplatform.mvp.rebind.velocity.AbstractVelocityGenerator.mergeTemplate(AbstractVelocityGenerator.java:55)
[INFO] at com.gwtplatform.mvp.rebind.velocity.ginjectors.GinjectorProviderGenerator.generate(GinjectorProviderGenerator.java:54)
[INFO] at com.gwtplatform.mvp.rebind.velocity.GenerateFormFactorGinjectors.generateGinjectorProvider(GenerateFormFactorGinjectors.java:65)
[INFO] at com.gwtplatform.mvp.rebind.velocity.GenerateFormFactorGinjectors.generate(GenerateFormFactorGinjectors.java:51)
[INFO] at com.gwtplatform.mvp.rebind.GinjectorGenerator.writeFormFactors(GinjectorGenerator.java:294)
[INFO] at com.gwtplatform.mvp.rebind.GinjectorGenerator.generate(GinjectorGenerator.java:102)
[INFO] at com.gwtplatform.mvp.rebind.ApplicationControllerGenerator.generate(ApplicationControllerGenerator.java:89)
[INFO] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
[INFO] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:760)
[INFO] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:160)
[INFO] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)
[INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)
[INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:265)
[INFO] at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:87)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:485)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:443)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:576)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:306)
[INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:248)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO] ... 46 more
[INFO] Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
[INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[INFO] ... 73 more
[INFO] [ERROR] at gwt_00046material_00046design_00046demo_00046GwtMaterialDesignDemo__EntryMethodHolder.java(3): GWT.create(ApplicationController.class)
[INFO] com.google.gwt.dev.jjs.ast.JMethodCall
[INFO] [ERROR] at gwt_00046material_00046design_00046demo_00046GwtMaterialDesignDemo__EntryMethodHolder.java(3): (EntryPoint) GWT.create(ApplicationController.class)
[INFO] com.google.gwt.dev.jjs.ast.JCastOperation
[INFO] [ERROR] at gwt_00046material_00046design_00046demo_00046GwtMaterialDesignDemo__EntryMethodHolder.java(3): ((EntryPoint) GWT.create(ApplicationController.class)).onModuleLoad()
[INFO] com.google.gwt.dev.jjs.ast.JMethodCall
[INFO] [ERROR] at gwt_00046material_00046design_00046demo_00046GwtMaterialDesignDemo__EntryMethodHolder.java(3): ((EntryPoint) GWT.create(ApplicationController.class)).onModuleLoad()
[INFO] com.google.gwt.dev.jjs.ast.JExpressionStatement
[INFO] [ERROR] at gwt_00046material_00046design_00046demo_00046GwtMaterialDesignDemo__EntryMethodHolder.java(3): {
[INFO] ((EntryPoint) new UserAgentAsserter()).onModuleLoad();
[INFO] ((EntryPoint) new DocumentModeAsserter()).onModuleLoad();
[INFO] ((EntryPoint) GWT.create(ApplicationController.class)).onModuleLoad();
[INFO] ((EntryPoint) GWT.create(MaterialWithJQueryDebug.class)).onModuleLoad();
[INFO] ((EntryPoint) GWT.create(MaterialDesign.class)).onModuleLoad();
[INFO] ((EntryPoint) GWT.create(MaterialAddins.class)).onModuleLoad();
[INFO] }
[INFO] com.google.gwt.dev.jjs.ast.JBlock
[INFO] [ERROR] at gwt_00046material_00046design_00046demo_00046GwtMaterialDesignDemo__EntryMethodHolder.java(3): {
[INFO] ((EntryPoint) new UserAgentAsserter()).onModuleLoad();
[INFO] ((EntryPoint) new DocumentModeAsserter()).onModuleLoad();
[INFO] ((EntryPoint) GWT.create(ApplicationController.class)).onModuleLoad();
[INFO] ((EntryPoint) GWT.create(MaterialWithJQueryDebug.class)).onModuleLoad();
[INFO] ((EntryPoint) GWT.create(MaterialDesign.class)).onModuleLoad();
[INFO] ((EntryPoint) GWT.create(MaterialAddins.class)).onModuleLoad();
[INFO] }
[INFO] com.google.gwt.dev.jjs.ast.JMethodBody
[INFO] [ERROR] at gwt_00046material_00046design_00046demo_00046GwtMaterialDesignDemo__EntryMethodHolder.java(3): public static final void init();
[INFO]
[INFO] com.google.gwt.dev.jjs.ast.JMethod
Hello,
there seems to be an issue with the floating table header on mobile devices. Just open the demo page on a mobile device of your choice and scroll around on a table. The floating header stays in the same position for a second before floating upwards where it should be, which makes for a real awkward user experience.
I already tried using the stickyHeader attribute but to no avail.
thx and kr
Chris
Here are the lists of datatable changes
Nothing happens when you click.
Error message on the console:
SEVERE: Possible problem with your *.gwt.xml module file.
The compile time user.agent value (safari) does not match the runtime user.agent value (gecko1_8).
Expect more errors.
com.google.gwt.useragent.client.UserAgentAsserter$UserAgentAssertionError: Possible problem with your *.gwt.xml module file.
The compile time user.agent value (safari) does not match the runtime user.agent value (gecko1_8).
Expect more errors.
Just open http://gwtmaterialdesign.github.io/gwt-material-demo/snapshot/#!autocomplete
If you start it in superdev mode, you will see something similar in the console:
at Unknown.IndexOutOfBoundsException_1_g$(IndexOutOfBoundsException.java:25)
at Unknown.checkIndexBoundsForInsertion_0_g$(ComplexPanel.java:152)
at Unknown.adjustIndex_0_g$(ComplexPanel.java:117)
at Unknown.insert_2_g$(ComplexPanel.java:192)
at Unknown.insert_1_g$(ComplexPanel.java:182)
at Unknown.insert_24_g$(MaterialWidget.java:632)
at Unknown.insert_23_g$(MaterialWidget.java:103)
at Unknown.addItem_20_g$(MaterialAutoComplete.java:387)
at Unknown.setValue_30_g$(MaterialAutoComplete.java:655)
at Unknown.setValue_29_g$(MaterialAutoComplete.java:647)
at Unknown.setItemValues_0_g$(MaterialAutoComplete.java:437)
at Unknown.AutoCompleteView_1_g$(AutoCompleteView.java:29)
I have downloaded the latest code. When I run the demo I get an error asking me to include below 2 lines in GWT XML
set-configuration-property name="CssResource.enableGss" value="true"
set-configuration-property name="CssResource.legacy" value="true"
I resolve the error by adding above 2 lines but i see a BLANK page when I run the demo
Additionally "MaterialDemo.ui.xml" has some merge issue and is messed up
Clicking on the "DOWNLOAD 1.4.0" under "Download the JAR (Alternative)
If you are not using maven you can download the latest Jar Release easily and add it in your classpath." downloads the 1.3.3 jar and not the 1.4.
With the ongoing development on Image Cropper - please implement a prototype showcase for the cropper.
Update the recent changes to apply latest 2.0-SNAPSHOTS.
Hello,
please help me at bellow points.
a) If number of rows in table is less then 5 the data table is throwing out of bound exception when it loads.
Exception: java.lang.IndexOutOfBoundsException: fromIndex: 0, toIndex: 5, size: 2
b) When we load pager table for the very first time it is not showing row expand icon there.
c) please refer image I have attached. I have popup in this page which is hidden by default but whenever I refresh the page popup is showing and after few seconds it gets invisible.
but till material version 1.0 rc2 it is running good.
d) Also is it possible to get person object in in row expansion handler.
thanks
DataTable
Due to latest development and POC on Progressive Web Apps (PWA) - Phonegap must be replaced by PWA.
Title, First line, Second line and everything else are shown in the same line.
Hi Team,
Please help,
I am facing issue while loading the GEO Chat, in local eclipse server getting the below warining and when i deploy in server linux i am getting error
Warning/Error message ๐
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
My code is as below ๐
//ApiLoader apiLoader = new ApiLoader("AIzaSyD-9tSrke72PouQMnMX-a7eZSW0jkFMBWY");
ChartLoader chartLoader = new ChartLoader(ChartPackage.GEOCHART){
public void loadApi(Runnable callback) {
AjaxLoaderOptions options = AjaxLoaderOptions.newInstance();
JsArrayString packagesArray = JsArrayString.createArray().cast();
for (int i = 0; i < getPackages().length; i++) {
packagesArray.push(getPackages()[i].getName());
}
options.setPackages(packagesArray);
if (getLanguage() != null) {
options.setLanguage(getLanguage());
}
options.setOtherParms("sensor=true&key=AIzaSyB3KyY4kYnnaIp1voVczGqE1cNxJBi1SVk");
AjaxLoader.loadApi("visualization", "1", callback, options);
}
};
//AjaxLoader.init("AIzaSyB3KyY4kYnnaIp1voVczGqE1cNxJBi1SVk");
chartLoader.loadApi(new Runnable() {
@Override
public void run() {
// Create and attach the chart
geoChart = new GeoChart();
cardContent.add(geoChart);
draw(result);
}
});
Tanks
Saru
Open the console, type a letter, than select an option and you will see a "This widget's parent does not implement HasWidgets" exception
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.