arcbees / gwtp-samples Goto Github PK
View Code? Open in Web Editor NEWGWTP-Samples
GWTP-Samples
Hi,
I'm following your tutorial http://dev.arcbees.com/gwtp/tutorials/tutorial-part2.html with an interest in the your nested sample.
However I am not able to find the actual code matching the tutorial. There is no ContactsPresenterWidget anywhere in the samples repo, no ContactsWidgetModule etc.
Thanks,
Rares
I can build and run gwtp-sample-tab from 01aa8ca (using SDM at the moment) in the latest version, but the application doesn't run; instead the console lists Umbrella errors for containers (see below for full)
Previous version before the update (ad66651) works fine when I check out and run the same way.
I suppose this could be GWTP-Samples or something deep in GWTP-1.5 (the POM obviously changed) but so far the other samples work.
Uncaught com.google.web.bindery.event.shared.UmbrellaException: Exception caught: Exception caught: Containers must implement either HasOneWidget or HasWidgets.handleTokenChange_0_g$ @ PlaceManagerImpl.java:281revealCurrentPlace_0_g$ @ PlaceManagerImpl.java:322onBootstrap_0_g$ @ DefaultBootstrapper.java:38init_6_g$ @ ApplicationControllerImpl.java:11onModuleLoad_3_g$ @ ApplicationControllerImpl.java:15init_2_g$ @ com_00046gwtplatform_00046samples_00046tab_00046Gwtptabsample__EntryMethodHolder.java:3initializeModules_0_g$ @ ModuleUtils.java:44apply_0_g$ @ Impl.java:247entry0_0_g$ @ Impl.java:306(anonymous function) @ Impl.java:72gwtOnLoad_0_g$ @ ModuleUtils.java:55(anonymous function) @ Map.java:29
Impl.java:213Uncaught com.google.web.bindery.event.shared.UmbrellaException: Exception caught: Containers must implement either HasOneWidget or HasWidgets.(anonymous function) @ Impl.java:213
Create a example of using a factory to instantiate several items.
I think a list where the items are child presenters but instantiated using a factory.
Show how to use ui handlers
Use Assisted to show the connivence of instantiated instance variables
gwt-sample-basic runs ok locally but doesn't deploy to GAE
GAE no longer supports ClientLogin
Show the use of editors in presenter and child presenters in a sample.
Server is using Jackson1.
GwtJackson only supports Jackson2
This causes lots of issues eg if you annotate a method with @JsonIgnore, either server or client will ignore the field depending on whether you use the com.codehaus or com.fasterxml version.
The Dialogs tab (the main tab, not the nested ones) in GWTP-Sample-Tab generates an exception:
Uncaught java.lang.IllegalArgumentException: Containers must implement either HasOneWidget or HasWidgets.
Removing bindSlot
and overriding SetInSlot
again works to resolve the exception (https://gist.github.com/peterdresslar/afc146dea4184588379a) but the example (Global, Local) dialogs are still not working correctly once this is done.
Hi,
Master branch of carstore is broken:
$ mvn clean compile gwt:compile gae:run -Pintegration-test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GWTP Carstore 1.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ carstore ---
[INFO] Deleting /media/no_backup/nkg/learn/GWTP-Samples/carstore/target
[INFO]
[INFO] >>> maven-gae-plugin:0.9.6:unpack (install-server-jar) @ carstore >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.14:checkstyle (validate) @ carstore ---
[INFO] Starting audit...
/media/no_backup/nkg/learn/GWTP-Samples/carstore/src/test/java/com/gwtplatform/carstore/cucumber/stepdefs/BasicStepdefs.java:37: Wrong order for 'org.junit.Assert.assertTrue' import.
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.120s
[INFO] Finished at: Thu Mar 26 11:10:24 CET 2015
[INFO] Final Memory: 20M/311M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.14:checkstyle (validate) on project carstore: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 1 checkstyle errors. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
gwtp-sample-basic
mvn clean gwt:compile stops with error:
Unable to find 'com/gwtplatform/samples/basic/Gwtpsample.gwt.xml' on your classpath
Firstly, thanks for this great job.
I would like to know if it exists a fix, a trick or an explanation to prevent this :
I use directly this link : http://gwtp-sample-polymer.appspot.com/
Test:
osx + chrome: ok
osx + safari: nok
android lolipop(nexus5) + chrome: ok
ios8.1(iphone4s) + safari: nok
ios8.1(iphone4s) + chrome: nok
ios8.2(ipad air2) + safari: nok
ios8.2(ipad air2) + chrome: nok
Thanks
I'm trying to create a new GWTP project by archetype, but the link is broken. Did the repo move?
Current link: https://github.com/ArcBees/ArcBees-tools/tree/master/archetypes
In the main branch, you can't compile the project because some classes are missing.
In example, the class CurrentUser needs the class CurrentUserChangedEvent, but it doesn't exist in the package:
Is there any sample to using ltgt maven plugin?
The password is not working any more fails at:
Hi everybody,
I get in touch here to have a clue on how to implements rest-dispatch resource that uses RestAction interface.
To me something is missing:
In the documentation, you only cover the defnition of the resources interface.
In the carstore sample project, the only resource that uses RestAction is: https://github.com/ArcBees/GWTP-Samples/blob/master/carstore/src/main/java/com/gwtplatform/carstore/shared/api/StatisticsResource.java
But it's implementation, is in fact not an implementation in that case: https://github.com/ArcBees/GWTP-Samples/blob/master/carstore/src/main/java/com/gwtplatform/carstore/server/api/StatisticsResourceImpl.java
What am i missing ?
Thanks in advance
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.