Giter VIP home page Giter VIP logo

gwtp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gwtp's Issues

Possibility to add an UncaughtExceptionHandler

Possibility to add an UncaughtExceptionHandler to wrap GWTPs EntryPoint (issue #102) with an UncaughtExceptionHandler:

The main problem: The real application has to be wraped inside a scheduleDeferred() because the current JS event cycle is using the default one.

GWTP could have an default Exception handler. But I think it's better to provide a way to configure one in the gwt.xml.

Automated release script

Setup an automated release script.

I'm in the process of working out the details with my maps release. So far this speeds up some of the steps, although you have to work on incrementing the snapshot. So far I haven't figured out how to feed the github username and but the vars seem available in the docs.

Essential parts of the equation:

export JAVA_HOME=/usr/libexec/java_home -v 1.6

mvn clean deploy -Prelease -DskipTests

mvn release:clean release:prepare --batch-mode -Dgpg.passphrase=xxx -Dusername=branflake2267 -Dpassword=xxx

mvn release:perform -Dgpg.passphrase=xxx

Goto https://oss.sonatype.org/index.html - close release (login first, then goto staging repositories)
wait a while and come back and release the closed 

Create an archetype

Be able to create a project using archetype.

It would be handy to create an archetype from one of the samples.

UiBinder Injection

Add UiBinder injection. It has been disabled due to the Binder generator class being modified on each GWT release.

Revisit this and see if we can implement it. The initializer needs to be attended to to use the ginbinder.

bindSingletonPresenterWidget injecting binder not working

for version .8

Injecting a Binder binder in ctor presenter's view, is not working. I can statically inject the binder and gin is complaining about injecting it.

While I suspect I'm at fault, I've spent some time drilling it and its starting to look like its either GWTP or gin.

bindSingletonPresenterWidget > view > injecting ui binder not working

Rebind result 'com.gwtplatform.mvp.client.ApplicationController' must be a class

When using the ApplicationController GWT is no longer building. Error during gwt:compile:

Compiling module com.gwtplatform.samples.basic.Gwtpsample
[ERROR] Errors in 'com/gwtplatform/samples/basic/client/Gwtpsample.java'
[ERROR] Line 25: Rebind result 'com.gwtplatform.mvp.client.ApplicationController' must be a class

also the javadoc in ApplicationController mentions a GWTP.create(ApplicationController.class), but this one doesn't exist

running "mvn integration-test" on 21065f3 shows the issue, the spliited out samples don't contain anymore the code for the ApplicationController that was changed with that feature

Name collision with the new GinjectorGenerator

Here's an example of the problem:
java.lang.Error: Unresolved compilation problems:
The import com.zafinlabs.zui.zuishell.client.application.ApplicationPresenter collides with another import statement
Duplicate method getApplicationPresenter() in type ClientGinjector
Duplicate method getApplicationPresenter() in type ClientGinjector

PopupViewImpl will trigger onLoad() / onAttach() twice for widgets inside it

Reported by project member marius.andreiana, Sep 9, 2010

What steps will reproduce the problem?

  • Use a PopupViewImpl which contains a custom widget
  • For custom widget overwrite onAttach() with:
public void onAttach() {
    System.out.println("onattach1");
    super.onAttach();
}
  • Notice "onattach1" twice in console when activating Popup.

Please provide any additional information below.
PresenterWidget has

public final void addToPopupSlot(
...
    // Center if desired
    if (center) {
      popupView.center(); //it's called here once
    }

    // Display the popup content
    if (isVisible()) {
      popupView.show(); //it's called here once
    }
...
}

This is my use case
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ad723487d95883b6/d75ee826219c7bd2#d75ee826219c7bd2

Issue 197 from Google code: https://code.google.com/p/gwt-platform/issues/detail?id=197&colspec=ID+Stars+Type+Status+Priority+Component+Milestone+Owner+Summary&

Binding presenter widget factory.

I think it would be nice to add easier binding for binding a presenter widget factory.

Currently it looks like this.

bind(EditPictureWidgetPresenter.MyView.class).to(EditPictureWidgetView.class);

install(new GinFactoryModuleBuilder().build(EditPictureWidgetPresenterFactory.class));

I think it would be nice to add a connivence method to:
public abstract class AbstractPresenterModule extends AbstractGinModule {}

Automatically Deploy samples to GAE

Automatically deploy samples to GAE on master update.

Samples

  1. gwtp-sample-basic
  2. gwtp-sample-basic-spring
  3. gwtp-sample-hplace
  4. gwtp-sample-nested
  5. gwtp-xample-tab

Deployed

  1. gwtp-sample-basic.appspot.com
  2. gwtp-sample-basic-spring.appspot.com
  3. gwtp-sample-hplace.appspot.com
  4. gwtp-sample-nested.appspot.com
  5. gwtp-sample-tab.appspot.com

License information on GitHub

I got some feedback about the license type that we can't find on the GitHub page. We should at least link the information from Google Code until we transfert everything.

gwtp EntryPoint

With essentially only having to call

GWT.<ApplicationController> create(ApplicationController.class).init();

in the EntryPoint wouldn't it make sense to provide a EntryPoint aswell?

@GenProxy annotation processor to generate of Proxy interfaces for entities/RequestFactory

Forum discussion: https://groups.google.com/d/msg/gwt-platform/bPiyAfhPKWg/DcEbJOKpzS8J

If you type:

@GenProxy(filterSetter = { "id" })
public class Employee {

    private String displayName;
    private Long supervisorKey;
    private Long id;
    private Integer version;
    private Employee supervisor;

    public Employee() {
    }

    // Getters and Setters...
}

The following interface should be generated:

import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.EntityProxyId;

@ProxyFor(com.gwtplatform.annotation.Employee.class)
public interface EmployeeProxy extends EntityProxy { 
  java.lang.String getDisplayName();

  java.lang.Long getId();

  EmployeeProxy getSupervisor();

  java.lang.Long getSupervisorKey();

  java.lang.Integer getVersion();

  void setDisplayName(java.lang.String displayName);

  void setSupervisor(EmployeeProxy supervisor);

  void setSupervisorKey(java.lang.Long supervisorKey);

  void setVersion(java.lang.Integer version);

  EntityProxyId<EmployeeProxy> stableId();
}

Change the tabulation to four space

Right now the project use the GWT two space tabs standard. To improve readability we should use the Java four space tabs standard.

Now that the standard for line width is 120, there's no point to two space tabs.

Remove uber jar

It's been discussed earlier in G+ GWTP community to remove jar.

Setup CI Build for .8 with repo

Setup CI Build and figure out if we can put it locally as a file that we can distribute it from github as a maven repo or push off to sonatype. I think we need to get settings for sona...

Change 0.8 tag to 1.0

0.8 will be the first official release. This first official release will also include a professional license for business.

Create a example using a presenter factory

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.