Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-03-25 Thread Hilco Wijbenga
On 25 March 2013 02:22, Thomas Broyer t.bro...@gmail.com wrote: Preliminary documentation is available at https://github.com/tbroyer/gwt-maven-plugin Is it possible to combine multiple gwt-libs into a gwt-app without re-gwt-compiling everything? Because that would be awesome. :-) Note that

Re: PopupPanel.center() not centering content?

2013-03-22 Thread Hilco Wijbenga
On 22 March 2013 12:41, Ed Bras post2edb...@gmail.com wrote: Can somebody please test the above centering of the popup ? Let's confirm that it's not only me such that I can report it as a bug. I haven't tried your exact use case but I can confirm that centering does not always work. Sometimes

Re: I need link

2013-03-05 Thread Hilco Wijbenga
On 5 March 2013 08:03, Crease creaseinv...@gmail.com wrote: I´m developing an application and I want to do one link that when the user push over him then the browser open a new page in other tab, for example www.google.es but I don´t know do it, I don´t know what widget take You are probably

Re: How to invoke Java String methods from JSNI code

2013-02-15 Thread Hilco Wijbenga
On 15 February 2013 05:48, alucard slice.of.life@gmail.com wrote: Yes, but that was not the question. I'd like to be able to invoke methods from the Java String implementation. The code above is meant just as an example for the error I get. The format object.@Class::method(param;)(arg) you

Re: Running a Maven/GWT project

2012-11-12 Thread Hilco Wijbenga
On 12 November 2012 10:13, Magnus alpineblas...@googlemail.com wrote: Ok, I renamed the *.pom file into pom.xml and ran mvn without arguments. It downloaded about 1 million jar files, and ended up with this message: [INFO]

Re: rename-to module attribute and DevMode

2012-09-24 Thread Hilco Wijbenga
On 24 September 2012 12:59, Joseph Lust lifeofl...@gmail.com wrote: We've been working with rename-to so that our apps (many submodules) don't all have ugly, huge urls with the full package name in them. This is working well, however when we switch to DevMode, it won't run. DevMode appears

Re: GWT Compilation Time Performance Improvement

2012-09-04 Thread Hilco Wijbenga
On 3 September 2012 23:10, Niraj Salot salotni...@gmail.com wrote: 1) Will this help us in Improving the compilation time? No. 2) IF we change only Module 2 and then compile Module Main, will GWT still compile Module 1 as it is inherited by Module Main? Yes. Please share your views on

Re: building a GWT project with fails due to dependency on GWT 2.4.0 (at least 2.5.0-rc1 required)

2012-08-31 Thread Hilco Wijbenga
On 31 August 2012 12:13, koma k...@koma.be wrote: I can see I have two mvn plugins in my .m2 repo : ./org/codehaus/mojo/gwt-maven-plugin/2.4.0 and ./org/codehaus/mojo/gwt-maven-plugin/2.5.0-rc1 How do I tell maven from taken the correct one ? The plugin version for the GWT Maven plugin

Re: building a GWT project with fails due to dependency on GWT 2.4.0 (at least 2.5.0-rc1 required)

2012-08-31 Thread Hilco Wijbenga
On 31 August 2012 12:25, koma k...@koma.be wrote: adding this : plugin artifactIdgwt-maven-plugin/artifactId version2.4.0/version /plugin to the plugin section, does not help. Add the groupId? Still seeing this : [INFO] --- gwt-maven-plugin:2.5.0-rc1:compile (default) @ chosen-sample

Re: Using System.getProperty(User.Name) in GWT

2012-04-17 Thread Hilco Wijbenga
On 17 April 2012 09:40, Saty saty1...@gmail.com wrote: Thanks for your feedback! I am trying to get the logged in windows user id on the client side.I want to get the user name of the user that initiated the request from the browser. This is the code that I tried to use in onModuleLoad

Re: Using System.getProperty(User.Name) in GWT

2012-04-16 Thread Hilco Wijbenga
On 5 April 2012 07:33, Saty saty1...@gmail.com wrote: I would like to use System.getProperty(User.Name) in GWT. The server will be running on iSeries platform. I am looking for ways to do this without introducing new framework . If you mean on the server then it has nothing to do with GWT,

Re: How to make label auto click

2012-04-03 Thread Hilco Wijbenga
On 3 April 2012 10:57, Deepak Singh deepaksingh...@gmail.com wrote: I have wrapped a div into Label. Added clickhandler to label. Why? If you want to use a container, then I would suggest SimplePanel or FlowPanel. I would keep Labels for displaying simple text. Now i want that at some point of

Re: How to make label auto click

2012-04-03 Thread Hilco Wijbenga
On 3 April 2012 12:38, Boris_siroB boris.brud...@gmail.com wrote: GWT doesn't really support programmatically creating browser events. Not quite true. See this SO post. I wrote doesn't really, not doesn't. :-) Still, all this mucking about in the DOM is very hard to (unit) test. In most cases,

Re: Maven compilatiion error

2012-03-29 Thread Hilco Wijbenga
On 22 March 2012 16:36, developer avka...@gmail.com wrote: [INFO]             [ERROR] Unable to find type 'com.mycompany.web.dmt.gwt.client.DmtGwt' It seems you are missing a JAR (pom.xml) and/or a GWT module (*.gwt.xml). -- You received this message because you are subscribed to the Google

Re: Compiling GWT Trunk w/ Tests : Can't get past 50K tests passed

2012-03-17 Thread Hilco Wijbenga
On 16 March 2012 22:07, Joseph Lust lifeofl...@gmail.com wrote: For my personal edification I've setup TeamCity to build all new GWT updates from the Google SVN (yes, I checkout the tools folder too). Everything builds fine (7min), but when I enable the tests in Ant, per the official GWT build

Re: [gwt-contrib] Mavenizing GWT

2012-03-17 Thread Hilco Wijbenga
On 16 March 2012 20:26, Ray Cromwell cromwell...@google.com wrote: I agree with most of this, but I just wanted to mention that I think breaking up the dependency chain will be a little tricky for maven when it comes to tests. Maven general practice is that a given module contains its tests

Re: Differences between Dev Mode and Production Mode

2012-03-12 Thread Hilco Wijbenga
On 12 March 2012 09:49, Cristian Rinaldi csrina...@gmail.com wrote: I have two modules, each with your EntryPoint. Each EntryPoint initializes a part of the UI based on the IDs of element in the HostPage. Host Page: !doctype html html   head     meta http-equiv=content-type

Re: How to make Label as span

2012-02-28 Thread Hilco Wijbenga
On 28 February 2012 10:56, Deepak Singh deepaksingh...@gmail.com wrote: Label la = new label(); The above line when converted to java script generates into div. What i want is it should be converted in span. How can i achieve it ? Use InlineLabel or simply add display:inline. -- You

Re: [gwt-contrib] Internet Explorer issue with CssResource

2012-02-23 Thread Hilco Wijbenga
On 23 February 2012 06:39, Vijay Poojary vijay.pooj...@coaction.com wrote: Hi, I am using CSSResource to set style on the HTML element and I am also setting width on that element by doing setWidth(80px) to use ellipsis. The issue is on IE text is not getting wrapped to second line, which

Re: why hasn't GWT an interface for Node or Element?

2012-02-22 Thread Hilco Wijbenga
On 22 February 2012 04:34, salk31 sal...@gmail.com wrote: Do you mean something like: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/DOM.html http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/Element.html ? The OP

Re: get IP address

2012-02-06 Thread Hilco Wijbenga
On 6 February 2012 14:25, IHateSoda mguillaum...@gmail.com wrote: I'm trying to get my IP address (192.168..) but I always get the localhost IP (127.0.0.1). You are presumably running your appserver (Tomcat, Jetty, ...) as localhost. If you want the servlet to return something else then do

Re: Problemas con GWTP

2012-01-20 Thread Hilco Wijbenga
On 20 January 2012 11:42, Samuel Tasna wip...@gmail.com wrote: * The problem I have is with the persistence, before developing a small application starts using Netbeans, GWT 2.1, 0.5 gwtp all, hibernate, as the tool develops andofficial IDE is eclipse wanted to migrate the code to 

Re: Problemas con GWTP

2012-01-19 Thread Hilco Wijbenga
On 19 January 2012 07:44, wipay wip...@gmail.com wrote: hola amigos tengo problemas con gwt 2.4 me sale el siguiente error 19/01/2012 10:37:05 AM com.google.inject.servlet.GuiceFilter setPipeline ADVERTENCIA: Multiple Servlet injectors detected. This is a warning indicating that you have

Re: how to add external module WITHOUT Eclipse

2012-01-19 Thread Hilco Wijbenga
On 19 January 2012 13:37, Paul Shannon paul.thurmond.shan...@gmail.com wrote: I prefer not to do my GWT programming in Eclipse, nor in any IDE, even though that seems to be what most people use. Only the script kiddies. ;-)  I looked far and wide for instruction on how to add an external

Re: how to add external module WITHOUT Eclipse

2012-01-19 Thread Hilco Wijbenga
On 19 January 2012 15:35, Paul Shannon paul.thurmond.shan...@gmail.com wrote: Thanks, Hilco, for offering to help out. (It may be that, working in true-beginner learning mode as I am, that using Lukas Laag's gwt-svg library as my test case, as the external module I wish to include in my

Re: how to add external module WITHOUT Eclipse

2012-01-19 Thread Hilco Wijbenga
On 19 January 2012 19:22, Paul Shannon paul.thurmond.shan...@gmail.com wrote: You were right, Hilco:  I misspelled the module name.  Fixing that got me a bit further, but alas, linking problems continue. Just for the record, it really is quite simple. Add the JAR (+ sources) to your classpath

Re: RequestFactory: How to retrieve an EntityProxy within another EntityProxy?

2011-12-12 Thread Hilco Wijbenga
On 12 December 2011 10:39, Alexander Orlov alexander.or...@loxal.net wrote: I've got sth. like: @ProxyFor(value = Report.class, locator = CommonLocator.class) public interface ReportProxy extends EntityProxy {     // ...     Integer getUserId(); // works     void setUserId(Integer userId);

Re: gwt uibinder in an abstract parent class

2011-12-08 Thread Hilco Wijbenga
On 8 December 2011 02:18, Ed post2edb...@gmail.com wrote: Even do you you might create the above lazily and only when needed, I would still never put an initWidget() method in my constructor: the constructor should be light weight (general sun rule), and you make the code unit-testable if you

Re: Error :No source available ..

2011-11-16 Thread Hilco Wijbenga
On 16 November 2011 08:58, learning coding learning.codin...@gmail.com wrote: Hi i have added some external jar file in  web application When i compile it its show me eror related to all the jar file which i am using in application        error Line 12: No source code is available for type

Re: EntityProxy equals

2011-11-14 Thread Hilco Wijbenga
On 14 November 2011 08:47, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 14 November 2011 06:33, Robert Quinn quinn.rob...@gmail.com wrote: Equality works as Thomas mentioned, so one basic question leaps to mind: Why are you comparing EntityProxys from different contexts or with different

Re: Is there a way to include arbitrary .java files into my gwt module?

2011-11-14 Thread Hilco Wijbenga
On 14 November 2011 17:50, Stephen Buergler sixcorn...@gmail.com wrote: I want to use java files in the libraries that I am using with my gwt module. Is there a way to include them without copying them into an emul directory and using super-source? How does gwt-user.jar get included? I am

EntityProxy equals

2011-11-13 Thread Hilco Wijbenga
Hi all, I was trying to check the presence of an EntityProxy in a SetEntityProxy [i.e. set.contains(proxy)]. This returned false even though the proxy was an element of the set. As it turns out EntityProxy.equals() doesn't work, or, more precisly, it seems to behave as the default equals() and

How to determine *at runtime* which permutation is used?

2011-11-09 Thread Hilco Wijbenga
Hi all, It would be helpful to see which permutation is being downloaded by the browser. Is there a way to determine *at runtime* which permutation (or at least which browser permutation) is being used? It would be fine if extra work is needed during the build to generate this information.

Re: How to determine *at runtime* which permutation is used?

2011-11-09 Thread Hilco Wijbenga
On 9 November 2011 17:37, Danny Kirchmeier da...@kirchmeier.us wrote: You can use GWT.getPermutationStrongName() Thank you. Unfortunately, this gives me: F0A79CA92B424357F8F0A6170AD004B9. Is there a way to turn this into something readable? -- You received this message because you are

Re: Maven compilation error

2011-11-04 Thread Hilco Wijbenga
On 4 November 2011 06:29, Anton Grinenko anton.grine...@gmail.com wrote: I use gwt 2.4 and maven 3.0.1 with  gwt-maven-plugin 2.4.0 in my application. During compilation I got an error: snip/ The most strange thing that this error occurs not always. Sometimes maven build my project

Re: How to change GWT.xml with maven profile by a GWT project

2011-11-02 Thread Hilco Wijbenga
On 2 November 2011 06:20, Kotuboy aliyu...@googlemail.com wrote: Currently, i am working on a gwt-maven project. As every GWT project, it has the following gwt.xml     module rename-to='myProject'     !-- Inherit the core Web Toolkit stuff. --     inherits name='com.google.gwt.user.User' /  

Re: How to change GWT.xml with maven profile by a GWT project

2011-11-02 Thread Hilco Wijbenga
On 2 November 2011 12:15, Gary S agilej...@earthlink.net wrote: It's not clear. gwt-maven-plugin user's guide http://mojo.codehaus.org/gwt-maven-plugin/user-guide/project.html has a screenshot eclipse package explorer of gwt.xml in src/main/ resources then under Multi-project setup a text

Re: Findbugs problem by GWT Project.

2011-10-31 Thread Hilco Wijbenga
On 31 October 2011 07:37, Kotuboy aliyu...@googlemail.com wrote: I have a maven GWT project and i am using findbugs to analyze the code. plugin                 groupIdorg.codehaus.mojo/groupId                 artifactIdfindbugs-maven-plugin/artifactId                 version2.3.2/version    

Re: Clarifying Understanding of Presenter Interface

2011-10-31 Thread Hilco Wijbenga
On 31 October 2011 10:52, Ari ari.brandeis.k...@gmail.com wrote: After reading Large scale application development and MVP, I'm a bit unclear on the Presenter interface and I'd appreciate help in clarifying my understanding. Specifically I'm unclear as to whether each Presenter is supposed to

How to guarantee HTML-safety of the template?

2011-10-18 Thread Hilco Wijbenga
Hi all, I have been getting the warning below for quite some time now and I decided I finally wanted to do something about it. [WARN] Template with variable in URL attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use

Re: [RequestFactory] Updating a proxy

2011-09-30 Thread Hilco Wijbenga
On 30 September 2011 00:54, Thomas Broyer t.bro...@gmail.com wrote: Why would BasicUserService ( = GizmoService?) be called if you invoke UserRequest#persist(UserProxy) ( = ThingRequest#persist(ThingProxy) ?) Because BasicUserProxy is part of UserProxy. It's hard to follow what you're

Re: [RequestFactory] Updating a proxy

2011-09-30 Thread Hilco Wijbenga
On 30 September 2011 15:08, Thomas Broyer t.bro...@gmail.com wrote: On Friday, September 30, 2011 9:26:22 PM UTC+2, Hilco Wijbenga wrote: On 30 September 2011 00:54, Thomas Broyer t.br...@gmail.com wrote: Why would BasicUserService ( = GizmoService?) be called if you invoke UserRequest

Re: [RequestFactory] Updating a proxy

2011-09-30 Thread Hilco Wijbenga
On 30 September 2011 16:08, Thomas Broyer t.bro...@gmail.com wrote: If you edit() and persist User (what you did in the code sample you sent), then the mutableUser will be frozen at the time you fire() the request, and if all goes well (i.e. in the Receiver's onSuccess), you could then just

[RequestFactory] Updating a proxy

2011-09-29 Thread Hilco Wijbenga
Hi all, Let's say I have a ThingProxy which has a GizmoProxy (and other stuff): interface ThingProxy { GizmoProxy getGizmo(); void setGizmo(GizmoProxy gizmo); ... other getters and setters ... } I need an instance of ThingProxy everywhere so I keep one available. At some point I need to

Re: [RequestFactory] Updating a proxy

2011-09-29 Thread Hilco Wijbenga
On 29 September 2011 01:33, Thomas Broyer t.bro...@gmail.com wrote: The first approach should be the good one. Have you checked what goes on the wire? Are there really no operations being sent (look for an O property in the JSON)? (FYI: in RF, there are operations on proxies, and invocations

Re: [RequestFactory] Updating a proxy

2011-09-29 Thread Hilco Wijbenga
On 29 September 2011 12:27, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 29 September 2011 01:33, Thomas Broyer t.bro...@gmail.com wrote: The first approach should be the good one. Have you checked what goes on the wire? Are there really no operations being sent (look for an O property

Re: how create project from pom??

2011-09-23 Thread Hilco Wijbenga
On 23 September 2011 09:53, cri chuck.irvine...@gmail.com wrote: The uptick post is very outdated. It will only confuse folks I'm afraid. A much better place to start is the link I posted. (http:// code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven). Developing GWT in conjunction with

Re: gwt 2.4.0 and maven

2011-09-20 Thread Hilco Wijbenga
On 20 September 2011 10:16, EMan eric.nis...@gmail.com wrote: I am trying to get GWT 2.4.0 to work.  my project is currently using GWT 2.3.0.  is there a GWT maven plugin available yet that is compatible with 2.4.0?  The highest version Is see is 2.3.0-1. Have you tried it? It seems to work

Re: [gwt-contrib] Re: Convert DynaTableRF to use maven. Clean up the docs in the other two (issue1537803)

2011-09-08 Thread Hilco Wijbenga
On 8 September 2011 09:41, Ray Ryan rj...@google.com wrote: On Thu Sep 08 08:52:42 GMT-700 2011, drfibona...@google.com wrote: LGTM No changes needed. Nice Mavenizing! Thanks. I can copy and paste with the best of them.

Wanted: Missing Interface - Is the GWT compiler too aggressive?

2011-08-30 Thread Hilco Wijbenga
Hi all, I have the following: interface Api { void api(); } interface Init { void init(); } class Impl implements Api, Init { void api() { ... } void init() { ... } } In the GWT module: module ... inherits .../ replace-with class=impl.Impl when-type-is class=api.Api/

Re: Wanted: Missing Interface - Is the GWT compiler too aggressive?

2011-08-30 Thread Hilco Wijbenga
On 30 August 2011 12:59, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: Hi all, I have the following: interface Api {  void api(); } interface Init {  void init(); } class Impl implements Api, Init {  void api() { ... }  void init() { ... } } In the GWT module: module

Re: Custom implementation of the EventBus

2011-08-29 Thread Hilco Wijbenga
On 29 August 2011 13:03, Stefan sbara...@gmail.com wrote: Hello Everybody From what I see the application developer is not suppose to be able to create a custom implementation of the EventBus type. The main reasons are the protected void dispatch(H handler) and packaged void setSource(Object

Re: Custom implementation of the EventBus

2011-08-29 Thread Hilco Wijbenga
On 29 August 2011 15:32, Stefan Ollinger stefan.ollin...@gmx.de wrote: Why do you want to create your own event bus? Read my email and the discussion that your namesake linked to. Am 29.08.2011 22:21, schrieb Hilco Wijbenga: On 29 August 2011 13:03, Stefansbara...@gmail.com  wrote: Hello

Re: (perplexing + frustrating) CSS image not found

2011-08-23 Thread Hilco Wijbenga
On 22 August 2011 23:14, Shawn Brown big.coffee.lo...@gmail.com wrote:  HI, Why can I directly access them using the url that it is being reported GWT can not find them at. I mean: /images/panel/top.gif  --- is found /images/panel/bottom.gif -- is not found by gwt but can be accessed by

Re: SimpleEventBus : why such a non-predictive behavior implementation ?

2011-08-05 Thread Hilco Wijbenga
On 27 July 2011 08:48, david.herv...@gmail.com david.herv...@gmail.com wrote: Even if multithreaded my implementation is (normally)  done. I really don't know why they have used such a mecanism... There may be a use case I'm missing On 27 juil, 17:28, Sixin Zhang sixin.zh...@gmail.com wrote:

Re: UiBinder.useSafeHtmlTemplates

2011-08-04 Thread Hilco Wijbenga
On 4 August 2011 05:43, Brian Reilly brian.irei...@gmail.com wrote: Put the line to set the configuration property after inheriting com.google.gwt.uibinder.UiBinder, which you're probably inheriting indirectly by way of com.google.gwt.user.User. Ah, that's the trick. After adding an inherits

Re: UiBinder.useSafeHtmlTemplates

2011-08-03 Thread Hilco Wijbenga
On 29 July 2011 19:50, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: Hi all, I'm sure you're familiar with the warning Configuration property UiBinder.useSafeHtmlTemplates is false!. I did the obvious, I added set-configuration-property name=UiBinder.useSafeHtmlTemplates value=true

UiBinder.useSafeHtmlTemplates

2011-07-29 Thread Hilco Wijbenga
Hi all, I'm sure you're familiar with the warning Configuration property UiBinder.useSafeHtmlTemplates is false!. I did the obvious, I added set-configuration-property name=UiBinder.useSafeHtmlTemplates value=true/ to the lowest level GWT module I have (it gets included directly or indirectly

Lots of DIVs

2011-07-28 Thread Hilco Wijbenga
Hi all, I've been wondering about this for a long time. I thought it was about time I asked. When I create even the simplest widget, I see div style=position: absolute; z-index: -32767; top: -20cm; width: 10cm; height: 10cm;nbsp;/div div style=position: absolute; left: 0px; top: 0px; right:

Re: Eclipse: Depending on a non-GWT project

2011-07-27 Thread Hilco Wijbenga
On 26 July 2011 16:11, Steve Wedig stevewe...@gmail.com wrote: Hello, I've only used Java for GWT purposes, so sorry in advance if this is a dumb question :) In Eclipse, I would like to have my GWT project depend on code in a non-GWT project (so I don't think GWT module inheritance will

Re: Eclipse crashes when starting GWT Designer View

2011-07-10 Thread Hilco Wijbenga
On 9 July 2011 13:02, Mark rausch.pi...@gmail.com wrote: Hello, I did install Eclipse Indigo (3.7) and the Google Plugin for Eclipse 3.7. Everytime I try to start a design view of a *.ui.xml file Eclipse crashes. Is there anotherway to get more debug information? Have you any hints or

Re: GWT Developer Job Openings

2011-07-10 Thread Hilco Wijbenga
On 10 July 2011 17:35, Jeff jeffrey.burn...@gmail.com wrote: However, your negative response was quite unnecessary when the link alone would do. Thanks for that by the way. Clearly he was being sarcastic. He was actually agreeing with your posting here since there is currently no real

Re: Same origin policy with subdomain

2011-07-07 Thread Hilco Wijbenga
On 7 July 2011 10:05, ag87 g.aurel...@gmail.com wrote: Is there any way to avoid the SOP ? Just run a proxy on your server. Everything uses the same server:port so no SOP issues and the server (i.e. your proxy) figures out where to send the request. Jetty does this quite nicely for development.

Re: how to handle resources on server side (maven gwt)

2011-07-04 Thread Hilco Wijbenga
On 4 July 2011 08:35, tanteanni tantea...@hotmail.com wrote: i need some files on sever side but the normal: put it in resources-Folder(i created one because webappcreator didn't) and use MyClass.class.getResourceAsStream(/ + filename); does not work?! i allways get null. usind FileInputStream

Re : @ImageOptions [Solved]

2011-06-22 Thread Hilco Wijbenga
On 21 June 2011 18:56, Thomas Broyer t.bro...@gmail.com wrote: Could it rather be about how you *use* the ImageResource? See http://code.google.com/p/google-web-toolkit/issues/detail?id=6145 Ah, good call. And I even remember looking at those issues. This should really be flagged by the

@ImageOptions

2011-06-21 Thread Hilco Wijbenga
Hi all, I've been using @ImageOptions to scale (PNG) images. This mostly worked in GWT 2.2 but now that I've moved to GWT 2.3 most images fail quietly and don't display (meaning that src=# instead of the inlined image at runtime). public interface MyResources extends ClientBundle {

Re: No source code is available for type java.lang.NoSuchFieldError

2011-06-20 Thread Hilco Wijbenga
On 20 June 2011 11:59, Nathan Klatt n8kl...@gmail.com wrote: I've inherited a GWT project and I'm receiving the following compiler error (more info below): [java] [ERROR] Line 51: No source code is available for type java.lang.NoSuchFieldError; did you forget to inherit a required module?

Re: FireFox 5.0

2011-06-13 Thread Hilco Wijbenga
On 13 June 2011 06:59, john destefano jjdest...@gmail.com wrote: Just updated my OS (Ubuntu 11.04 -64) and got the latest version of firefox which is 5.0. The GWT plugin no longer works. Says that it's not compatible with 5.0. Any idea when a compatible version will be released? AFAIK, FF5 is

Re: Problems using RequestFactory

2011-06-07 Thread Hilco Wijbenga
On 6 June 2011 11:02, Ryan McFall mcfall.r...@gmail.com wrote: I am migrating an application which used Gilead as the go-between between Hibernate and GWT to use RequestFactory.  I am having a problem where the RequestFactoryGenerator doesn't want to generate a RequestFactory for my service.  

Re: Massive increase in compile time with GWT 2.3

2011-05-19 Thread Hilco Wijbenga
On 19 May 2011 00:37, googelybear googelyb...@gmail.com wrote: This build I am trying to optimize is compiled on our build server by the continuous integration tool (hudson in our case triggered after every commit). It is mainly used to run unit tests and for general testing by the developers

Re: RequestFactory error

2011-05-17 Thread Hilco Wijbenga
On 17 May 2011 19:36, Pavel Byles pavelby...@gmail.com wrote: For some reason I'm getting this error while trying to set up my code to use RequestFactory: No source code is available for type com.google.web.bindery.requestfactory.shared.RequestT; did you forget to inherit a required module?

Re: RequestFactory not working when upgrade from 2.2 to 2.3

2011-05-16 Thread Hilco Wijbenga
On 16 May 2011 03:26, icamts ica...@gmail.com wrote: Add gwt-servlet-deps.jar to your project. It comes with gwt sdk distribution. I don't see this JAR on Maven Central. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: how to move GWT-code into a reusable library?

2011-05-15 Thread Hilco Wijbenga
On 15 May 2011 06:14, Magnus alpineblas...@googlemail.com wrote: I have mutiple GWT projects and a lot of classes that are the same in each project. How can I move them out of the projects into a library (jar) that I can reuse in the projects? I think there is something special in GWT

Re: how to move GWT-code into a reusable library?

2011-05-15 Thread Hilco Wijbenga
On 15 May 2011 21:34, Magnus alpineblas...@googlemail.com wrote: Thanks! I already have a library (jar) for my server side code. Can I also put the GWT stuff in it, e. g.: - org/acme/stuff/server - org/acme/stuff/gwtlib Sure, it's an ordinary JAR, you can put in anything you like. As long

Re: how to move GWT-code into a reusable library?

2011-05-15 Thread Hilco Wijbenga
On 15 May 2011 22:22, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 15 May 2011 21:34, Magnus alpineblas...@googlemail.com wrote: Thanks! I already have a library (jar) for my server side code. Can I also put the GWT stuff in it, e. g.: - org/acme/stuff/server - org/acme/stuff/gwtlib

Re: RequestFactory not working when upgrade from 2.2 to 2.3

2011-05-14 Thread Hilco Wijbenga
On 13 May 2011 16:26, Joshua Kappon shuky.kap...@gmail.com wrote: Hi All I'm trying to upgrade my project to use GWT 2.3 I changed all the imports and xml project and web.xml to point to the new packages locations. but RequestFactory calls still don't work. when running in dev mode I get

Re: How to debug a GWT app in hosted mode, which depends on an external servlet (Same Origin Policy)

2011-05-14 Thread Hilco Wijbenga
On 13 May 2011 01:44, Rich south...@gmail.com wrote: Hi, We have a GWT application which draws some resources from a separate servlet via javascript. In production this poses no problems as both the producer servlet and the consumer GWT app will reside on the same server, however for

Re: apache commons-math

2011-05-08 Thread Hilco Wijbenga
On 8 May 2011 20:28, Sydney sydney.henr...@gmail.com wrote: [ERROR] [portfolio] - Line 82: No source code is available for type org.apache.commons.math.fraction.FractionFormat; did you forget to inherit a required module? [ERROR] [portfolio] - Line 83: No source code is available for type

Re: Debugging Maven Project in Eclipse ( Tutorial )

2011-04-22 Thread Hilco Wijbenga
On 22 April 2011 00:33, Metronome Basic metronome.ba...@worldonline.fr wrote: Any suggestion for debugging in Eclipse Use mvn gwt:debug (instead of mvn gwt:run) and attach your debugger in Eclipse (use Remote Java Application). -- You received this message because you are subscribed to the

Re: Where placeholders in uibinder?

2011-03-17 Thread Hilco Wijbenga
On 17 March 2011 17:20, ss.require ss.requ...@gmail.com wrote: Let's assume I need to paste some piece of html in my page: e.g. div    Hello, MAX  /div Where MAX is a parameter. If I would do that in the code I would make the next function: public String getHtmlTemplate(String parameter){

Re: ui:style src attribute causes error in the Google Eclipse plugin

2011-03-08 Thread Hilco Wijbenga
On 8 March 2011 06:56, Philippe Beaudoin philippe.beaud...@gmail.com wrote: A quick update on my progress on this... As you suggested, adding src/main/resources as source in Eclipse works fine. The problem is that m2eclipse automatically adds excluding=** in .classpath for any resource folder.

Re: ui:style src attribute causes error in the Google Eclipse plugin

2011-03-04 Thread Hilco Wijbenga
On 3 March 2011 21:31, Philippe Beaudoin philippe.beaud...@gmail.com wrote: Hi! I'm using Maven to build my GWT project, together with the standard Maven directory layout. That is, sources are in src/main/java while resources (such as CSS files) are in src/main/resources. Now, in one of my

Re: ui:style src attribute causes error in the Google Eclipse plugin

2011-03-04 Thread Hilco Wijbenga
On 4 March 2011 12:02, Thomas Broyer t.bro...@gmail.com wrote: There's a deeper question there: are UiBinder ui.xml, LocalizableResources properties, ClientBundle css, images, etc. resources or sources? From Maven's point of view: yes, they are resources, not sources. Sources contain source

Re: ui:style src attribute causes error in the Google Eclipse plugin

2011-03-04 Thread Hilco Wijbenga
On 4 March 2011 19:53, Brian Reilly brian.irei...@gmail.com wrote: There's a deeper question there: are UiBinder ui.xml, LocalizableResources properties, ClientBundle css, images, etc. resources or sources? From Maven's point of view: yes, they are resources, not sources. Sources contain

Re: help sending emails in GWT

2011-03-01 Thread Hilco Wijbenga
On 1 March 2011 17:29, Greg Dougherty dougherty.greg...@mayo.edu wrote: From isn't your email account, From is which half of your application, the client, or the server? You can NOT send email from the client, but that so0und't like what you're trying to do. *OF COURSE* you can send an email

Re: help sending emails in GWT

2011-03-01 Thread Hilco Wijbenga
On 1 March 2011 02:27, Graham Haroldson gharold...@gmail.com wrote: Again,  im not quite sure what im trying to send emails from,  i can probably use my email, which is a gmail account.  I tried that and i also tried adding my account and password to the properties but it still does nothing

Re: help sending emails in GWT

2011-03-01 Thread Hilco Wijbenga
On 1 March 2011 19:38, Dougherty, Gregory T. dougherty.greg...@mayo.edu wrote: Wow, so you're saying you think that randomly picked up bits of JavaScript should be able to take over your computer and send emails from your computer to whomever they want? Every spammer in the world must love

Re: Very strange long assignment issue

2011-02-25 Thread Hilco Wijbenga
On 25 February 2011 15:06, shahid shahidza...@gmail.com wrote: I have the following piece of test code in my application (using GWT 2.1.0):                        Date expiry = new Date();                        long expiryTime  = expiry.getTime();                        expiryTime =

Re: UiBinder + HTMLPanel + css = Loss of hair???

2011-02-19 Thread Hilco Wijbenga
On 19 February 2011 03:43, pete superp...@geekcity.de wrote: Hallo, I have a weird problem, in my UiBinder template (suppose it's the template for TestWidget) I have sth like the following code ui:style    .fullSize {        height: 100%;        width: 100%;    } /ui:style

Re: gwt-maven-plugin: missing module HTML CSS with version 2.1.0+ of the plugin

2011-02-14 Thread Hilco Wijbenga
On 14 February 2011 00:40, Henry henry.rotz...@googlemail.com wrote: Unfortunately, after I upgrading to the new version of the plugin, the internal Jetty can't find the module HTML (with the reference to the GWT js file) as well as the coresponding CSS and web.xml file anymore. It seems that

Re: Call external main program

2011-02-13 Thread Hilco Wijbenga
On 13 February 2011 11:10, daniela iervolino daniela.ie...@gmail.com wrote: Ok. I have a GWT web app and a Java project with a main() method and I don't know how to communicate with this java proj from my gwt application... That doesn't answer the question. Should it run on the client or on

Re: Debug - Maven - Eclipse

2011-02-11 Thread Hilco Wijbenga
On 11 February 2011 13:48, mortsahl morts...@gmail.com wrote: Thanks .. I've got the plugin installed .. but that still doesn't answer my question on how to debug in eclipse when using a maven project (I refuse to go back 10 years and use ant) Just run mvn gwt:debug and attach a debugger in

Re: Debug - Maven - Eclipse

2011-02-11 Thread Hilco Wijbenga
On 11 February 2011 14:55, mortsahl morts...@gmail.com wrote: I'll give that a shot, thanks ... I was hoping to somehow configure a debug launch configuration to work ... so far, I haven't figured out the magic. I have been unable to get it to work from inside Eclipse. Eclipse seems to be

Re: No Source code is available for type client.Utilityt, did you forget to inherit a required module?

2011-02-08 Thread Hilco Wijbenga
On 8 February 2011 10:20, NAARAYANA REDDY NANDIGAMA nandigam...@gmail.com wrote: I am talking about two buttons having the same text message in java. private Button validateButtonOne = new Button(); private Button validateButtonTwo = new Button(); validateButtonOne.setText(Validate);

Re: Separate Widgets CSS+JS

2011-02-08 Thread Hilco Wijbenga
On 4 February 2011 14:03, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 4 February 2011 11:21, Thomas Broyer t.bro...@gmail.com wrote: GWT.getModuleBaseURL() + my-image.png ? Mmmh, yeah, something like that (GWT.getModuleName() + /my-image.png) works. But that means I'm changing

Re: No Source code is available for type client.Utilityt, did you forget to inherit a required module?

2011-02-07 Thread Hilco Wijbenga
On 5 February 2011 21:14, Dallas007 nandigam...@gmail.com wrote: Hi, i am new to GWT so need help please. I'm am not able to compile my code due to below error. Here are my project details, I have added a new class Utility.java which is out side of Client package. I have instantiae the

Re: No Source code is available for type client.Utilityt, did you forget to inherit a required module?

2011-02-07 Thread Hilco Wijbenga
On 7 February 2011 17:41, NAARAYANA REDDY NANDIGAMA nandigam...@gmail.com wrote: I have another requirement.. I have two buttons with same name validate. I need to identify which button is clicked when I user click on any one of validate buttton. I thought i can use button.getText but both

Re: Separate Widgets CSS+JS

2011-02-04 Thread Hilco Wijbenga
On 4 February 2011 11:21, Thomas Broyer t.bro...@gmail.com wrote: GWT.getModuleBaseURL() + my-image.png ? Mmmh, yeah, something like that (GWT.getModuleName() + /my-image.png) works. But that means I'm changing the image's url at runtime. I'd like to avoid that. I was hoping for something I

Re: @UiHandler and method scope

2011-02-03 Thread Hilco Wijbenga
On 3 February 2011 16:05, Christopher hunt...@gmail.com wrote: I've noticed in the examples that @UiHandler annotated methods are declared with no scope - so I'm assuming that its regular practice to rely on protected scope. Is this correct? You mean package private scope? The UiHandler

Re: @UiHandler and method scope

2011-02-03 Thread Hilco Wijbenga
On 3 February 2011 18:12, Christopher hunt...@gmail.com wrote: Thanks. I'll declare them explicitly as protected (package private). Just to be clear: protected != package private. Making your UiHandlers protected will work fine, though. -- You received this message because you are subscribed

  1   2   >