Giter Club home page Giter Club logo

gwt-customuibinder's People

Contributors

jhickman avatar

Watchers

 avatar

gwt-customuibinder's Issues

GWT Module not found in project sources or resources

I use GWT 2.5.1 and GXT 3.0.1

First of all, I included maven module

<dependency>
    <groupId>com.jhickman</groupId>
    <artifactId>gxt-uibinder</artifactId>
    <version>1.0.1</version>
</dependency>

Then I included

<inherits name='com.jhickman.web.gwt.gxtuibinder.GxtUiBinder'/>

Maven packaging and I got error

Unable to find 'com/jhickman/web/gwt/customuibinder/CustomUiBinder.gwt.xml' on 
your classpath; could be a typo, or maybe you forgot to include a classpath 
entry for source?

Original issue reported on code.google.com by [email protected] on 24 Jul 2013 at 8:28

CustomUiBinderWriter does not work with GWT 2.2 (useSafeHtmlTemplates)

What steps will reproduce the problem?
1. Compile project using gwt-customuibinder 1.1.0, gxt-uibinder 1.0.1 and GWT 
2.2

What do you see instead?
[INFO] 
[INFO] --- gwt-maven-plugin:2.2.0:compile (default) @ sbrf-deposit-web ---
[INFO] auto discovered modules 
[com.aplana.sbrf.deposit.persistence.custom.Business, 
com.aplana.sbrf.deposit.web.common.Common, 
com.aplana.sbrf.deposit.web.custom.Deposit]
[INFO] Compiling module com.aplana.sbrf.deposit.web.custom.Deposit
[INFO]    Scanning for additional dependencies: 
file:/C:/Documents/work/iasd/wss/ws0/sbrf-deposit-web/src/main/java/com/aplana/s
brf/deposit/web/custom/client/feature/byexamples/uibinder/EasyForm.java
[INFO]       Computing all possible rebind results for 
'com.aplana.sbrf.deposit.web.custom.client.feature.byexamples.uibinder.EasyForm.
EasyFormUiBinder'
[INFO]          Rebinding 
com.aplana.sbrf.deposit.web.custom.client.feature.byexamples.uibinder.EasyForm.E
asyFormUiBinder
[INFO]             Invoking generator 
com.google.gwt.uibinder.rebind.CustomUiBinderGenerator
[INFO]                [WARN] No value found for configuration property 
UiBinder.useSafeHtmlTemplates.
[INFO]    [ERROR] Errors in 
'file:/C:/Documents/work/iasd/wss/ws0/sbrf-deposit-web/src/main/java/com/aplana/
sbrf/deposit/web/custom/client/feature/byexamples/uibinder/EasyForm.java'
[INFO]       [ERROR]  Internal compiler error
[INFO] java.lang.NoSuchMethodError: 
com.google.gwt.uibinder.rebind.UiBinderWriter.<init>(Lcom/google/gwt/core/ext/ty
peinfo/JClassType;Ljava/lang/String;Ljava/lang/String;Lcom/google/gwt/core/ext/t
ypeinfo/TypeOracle;Lcom/google/gwt/uibinder/rebind/MortalLogger;Lcom/google/gwt/
uibinder/rebind/FieldManager;Lcom/google/gwt/uibinder/rebind/messages/MessagesWr
iter;Lcom/google/gwt/uibinder/rebind/DesignTimeUtils;Lcom/google/gwt/uibinder/re
bind/UiBinderContext;Z)V
[INFO]  at 
com.google.gwt.uibinder.rebind.CustomUiBinderWriter.<init>(CustomUiBinderWriter.
java:85)
[INFO]  at 
com.google.gwt.uibinder.rebind.CustomUiBinderGenerator.newUiBinderWriter(CustomU
iBinderGenerator.java:207)
[INFO]  at 
com.google.gwt.uibinder.rebind.CustomUiBinderGenerator.generateOnce(CustomUiBind
erGenerator.java:151)
[INFO]  at 
com.google.gwt.uibinder.rebind.CustomUiBinderGenerator.generate(CustomUiBinderGe
nerator.java:135)
[INFO]  at 
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48
)

Constructor of UiBinderWriter (gwt-2.2) is not have useSafeHtmlTemplates 
parameter.  

Original issue reported on code.google.com by [email protected] on 12 Jul 2011 at 3:03

Adapt library to gwt-2.5rc changes

The newly released gwt-2.5rc library has some changes in the UIBinderWriter API 
reason why, currently, the actual version of the gwt-customuibinder library 
can't be used anymore.

I've checked out the current version of the library and modified the classes so 
that the gwt-customuibinder performs well with gwt-2.5rc.
The files changed are in the attached archive.

Please make a small review on them, integrate them in the library and release a 
new version for it so that it can be used via maven.

Thanks in advance,
Marius.

Original issue reported on code.google.com by [email protected] on 9 Jul 2012 at 10:17

Attachments:

GWT Complie error

What steps will reproduce the problem?
1. IN Eclipse Indigo, right click on project name --> google --> GWT Compile 
--> Complie

I got error say" GWT compilation failed"

In Eclipse console window, I got error meaasge say"

Error: Could not find or load main class com.google.gwt.dev.Compiler "


What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
smartgwt 3.0, window 7.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Feb 2012 at 7:46

CustomUiBinder does not work with GWT 2.3

What steps will reproduce the problem?
1. Compile existing project using gwt-customuibinder and GWT 2.3

What version of the product are you using? On what operating system?
Version 1.0, Windows XP

The constructor of com.google.gwt.uibinder.rebind.UiBinderWriter changed in GWT 
2.3 and got a new boolean argument. This should be reflected in the 
com.google.gwt.uibinder.rebind.CustomUiBinderWriter's constructor.



Original issue reported on code.google.com by [email protected] on 5 May 2011 at 6:35

Compiler error with GWT 2.4

What steps will reproduce the problem?
1. compile a new project with GWT 2.4

What is the expected output? What do you see instead?
I obtain an Internal compiler error
java.lang.NoSuchMethodError: 
com.google.gwt.uibinder.rebind.messages.MessagesWriter.<init>(Ljava/lang/String;
Lcom/google/gwt/uibinder/rebind/MortalLogger;Ljava/lang/String;Ljava/lang/String
;Ljava/lang/String;)V

What version of the product are you using? On what operating system?
gwt-customuibinder-1.1.0.jar on Windows XP

Please provide any additional information below.

      [ERROR]  Internal compiler error
java.lang.NoSuchMethodError: 
com.google.gwt.uibinder.rebind.messages.MessagesWriter.<init>(Ljava/lang/String;
Lcom/google/gwt/uibinder/rebind/MortalLogger;Ljava/lang/String;Ljava/lang/String
;Ljava/lang/String;)V
    at com.google.gwt.uibinder.rebind.CustomUiBinderGenerator.generateOnce(CustomUiBinderGenerator.java:148)
    at com.google.gwt.uibinder.rebind.CustomUiBinderGenerator.generate(CustomUiBinderGenerator.java:135)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
    at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:647)
    at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:268)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:257)
    at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:96)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:173)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:139)
    at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:588)
    at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:97)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:52)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:569)
    at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
    at com.google.gwt.dev.Compiler.run(Compiler.java:232)
    at com.google.gwt.dev.Compiler.run(Compiler.java:198)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
    at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
    at com.google.gwt.dev.Compiler.main(Compiler.java:177)



Original issue reported on code.google.com by [email protected] on 4 Oct 2011 at 11:38

CustomUIBinder not running with Version 1.2, GWT 2.4 and GXT 2.2.5

What steps will reproduce the problem?

CustomUIBinder not running with Version 1.2, GWT 2.4 and GXT 2.2.5

GWT.xml

<module rename-to="engine">
  <inherits name="com.extjs.gxt.ui.GXT" />
  <inherits name="com.jhickman.web.gwt.customuibinder.CustomUiBinder" />
</module>

Jars:

gwt-customuibinder-1.2.0.jar
gxt-2.2.5-gwt22.jar
gwt-servlet.jar
gwt-log-3.1.5.jar

UILogin.ui.xml

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder 
    xmlns:ui="urn:ui:com.google.gwt.uibinder"
    xmlns:g="urn:import:com.google.gwt.user.client.ui"
    xmlns:gxt="urn:import:com.extjs.gxt.ui.client.widget">

    <gxt:LayoutContainer>
        <gxt:ContentPanel>
            <gxt:Label text="I should be centered" />
        </gxt:ContentPanel>
    </gxt:LayoutContainer>

</ui:UiBinder>

UILogin.java


import com.extjs.gxt.ui.client.widget.Component;
import com.extjs.gxt.ui.client.widget.Composite;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;

public class UILogin extends Composite {

    interface Binder extends UiBinder<Component, UILogin> {}
    private static Binder BINDER = GWT.create(Binder.class);

    public UILogin() {
        initComponent(BINDER.createAndBindUi(this));
    }
}

[DEBUG] [engine] - Rebinding xxxx.gwt.ui.UILogin.Binder
    [DEBUG] [engine] - Invoking generator com.google.gwt.uibinder.rebind.CustomUiBinderGenerator
        [ERROR] [engine] - Found unexpected child element Element <gxt:ContentPanel> (:9)

-------------

Are changes in the XML or something that is not in the wiki? 

Original issue reported on code.google.com by [email protected] on 7 Dec 2011 at 10:24

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.