Re: GWT Compiler hangs

2018-08-18 Thread Ali Jalal
Infinite loop may be created when optimization level is 9 (default). So pass '-optimize 8' to GWT compiler to reduce optimization level and the risk of infinite loop. See: https://groups.google.com/forum/#!topic/Google-Web-Toolkit/oith5a0hSZ0 On Thu, Aug 16, 2018 at 2:07 AM Dmitry Skavish wrote:

SuperDevMode OutOfMemoryError

2017-12-23 Thread Ali Jalal
, SuperDevMode compile time is equal or greater than DevMode compile time. Is it normal? 3. How can I reduce SuperDevMode compile time? Regards, Ali. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop

Re: The long awaited GMD 2.0 is now available

2017-11-06 Thread Ali Jalal
Really great work! I have been used GWT Material in multiple projects. It's based on Materialize CSS which is a popular css-based implementation of Material Design pattern. Also GWT Material provides addin components, themes and data table which are not available in Materialize CSS. Thanks Kevin

Re: Typescript annotations to JsInterop java classes automatic generation tool ready

2017-09-30 Thread Ali Jalal
Really great tool for making GWT applications work with javascript/typescript tools with standard JsInterop API. Thank arnaud. On Fri, Sep 29, 2017 at 8:09 PM, Arnaud TOURNIER wrote: > Thanks for your message, > Very good idea about transpiling jquery! I was hoping to ship that > immediately bu

Re: Problem with RegularImmutableList and SingletonImmutableSet Deserialization

2017-09-17 Thread ahmed ali
I solved it by moving the dependencies for gwt & guava-gwt to parent project of client, server and shared pojects On Sunday, September 17, 2017 at 2:39:44 PM UTC+2, ahmed ali wrote: > > I have a question regarding GWT RPC calls > > I'm using guava & guava-gwt versio

Problem with RegularImmutableList and SingletonImmutableSet Deserialization

2017-09-17 Thread ahmed ali
I have a question regarding GWT RPC calls I'm using guava & guava-gwt version 22 and I inherited this module When I call any service and the return type is Set then if the server returns SingletonImmutableSet this exception is thrown "com.google.gwt.user.client.rpc.SerializationException: co

Eclipse plugin problem: GWT 2.8.1 with Guava 21

2017-05-16 Thread ahmed ali
I’ve migrated my project from GWT 2.7.0 to 2.8.1 and Guava 21.0 and in the first it doesn't want to compile until I added the following dependencies to my pom.xml com.google.errorprone error_prone_annotations 2.0.19 provided com.google.j2objc j2objc-annotations 1.1 provided

Java Web Frameworks Index by RebelLabs

2017-02-19 Thread Ali Jalal
Hi, *Link: https://zeroturnaround.com/rebellabs/java-web-frameworks-index-by-rebellabs/ * -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this grou

Re: GWT 2.8 RC1 - Could not merge 2 super sourced packages

2016-11-15 Thread Ali Jalal
.jar which exists in gwt-user.jar. In my case, java.util.Locale was the only one conflicting class which by deleting "com\googlecode\gwtx\java\util\emul\java\util\Locale.java" file from gwtx.jar, problem solved. Regards, Ali. On Tue, Nov 15, 2016 at 11:16 AM, Saurabh Joshi wrote: >

Re: jqm4gwt ver. 1.4.7 released

2016-10-29 Thread Ali Jalal
Thank you for contribution and helping open source community. On Sat, Oct 29, 2016 at 3:00 AM, Slava Pankov wrote: > jqm4gwt is an advanced wrapper over the jQuery Mobile framework > > GWT 2.8 is supported, see here https://github.com/jqm4gwt/jqm4gwt > > -- > You received this message because yo

Re: Troubleshooting compilation issues?

2016-10-01 Thread Ali Jalal
Hi, when the problem happened? In compilation process or in application loading and execution? If the problem is in compilation process, you could try '-optimize 8' (or lower optimization level) as gwt compiler parameter. There are some situations which cause gwt compile takes so long. You could

Re: Is GWT is Dead?

2016-09-06 Thread Ali Jalal
Hi, I think GWT is not dead, but its development rate is decreased. I think that last public product of Google which written in GWT was Inbox which announced in late 2014. But AdWords

Max optimization level (-optmize 9) causes an infinite loop with GWT 2.8-RC2

2016-08-31 Thread Ali Jalal
​​ Hi, I have some big projects (with about 500 views) which their web-mode compilation was working with GWT 2.7 and their compilation were completed in about 3 minutes. After upgrading GWT to 2.8-RC2, their web-mode compilation were not completed after more than 60 minutes and it seems that crea

Re: gwt-material 1.6.0 is now available

2016-08-26 Thread Ali Jalal
Thank you mark! Great work. On Fri, Aug 26, 2016 at 10:14 AM, Alain Ekambi wrote: > Love it. > > On 26 August 2016 at 08:29, Francesco Izzi > wrote: > >> Yep gwt-material ! >> >> +1 >> >> Il giorno ven 26 ago 2016 alle ore 08:27 Frank >> ha scritto: >> >>> Nice work ! -- >>> You rece

Re: GWT 2.8 RC1 - Could not merge 2 super sourced packages

2016-08-02 Thread Ali Jalal
I compared emulated classes in 'java.util' and 'java.beans' packages of GWT and GWTx and I found *java.util.Locale.java* which emulated in both packages. By removing java.util.Locale.java from emulated classes of GWTx, problem solved. Thanks Thomas. On Tue, Aug 2, 2016 a

Re: GWT 2.8 RC1 - Could not merge 2 super sourced packages

2016-08-01 Thread Ali Jalal
Hi, I compiled project with -strict and almost same errors logged (I think GWT compiler does not merge 2 super-source packages like 'java.util' and 'java.beans'). Here is the stacktrace: [java] Compiling module com.test.sample.Sample [java]Tracing compile failure path for type 'com.

Re: GWT RPC in GWT 3.0+

2016-07-14 Thread Ali Jalal
Thanks Daniel for detailed post about GWT-RPC. On Thu, Jul 14, 2016 at 1:53 AM, Daniel Kurka wrote: > I summed up what I think about GWT RPC and it's future here: > http://blog.daniel-kurka.de/2016/07/gwt-rpcs-future.html > > On Thu, Jul 14, 2016 at 12:01 AM JonL wrote: > >> While I agree that

Re: GWT Material - Video tutorial #1

2016-06-12 Thread Ali Jalal
Great work Mark. Thanks. On Sun, Jun 12, 2016 at 3:39 PM, Stefan Falk wrote: > Awesome! Great work :) > > > On Friday, 10 June 2016 10:00:53 UTC+2, mark kevin ringor wrote: >> >> We've just released our gwt-material first video tutorial - Project >> Setup using gwt-material-archetype with Eclip

Re: Importing javascript functions to GWT using JSInteropr?

2016-05-14 Thread Ali Akhtar
What about handling the output of the callback? It returns a nested object like response.error.message. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-t

Re: Dear GWT

2016-05-14 Thread Ali Akhtar
Its happening for non-ui binder classes too, and i need restarts even on modification. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr.

Re: Dear GWT

2016-05-14 Thread Ali Akhtar
Sometimes I get the following error: [WARN] Some stale types ([com.foo.web.nav.MemberNavigator, com.foo.web.FooView_ViewUiBinderImpl$Widgets, com.foo.web.FooView_ViewUiBinderImpl, com.foo.web.FooView, com.foo.web.FooView$ViewUiBinder, com.foo.web.FooView$1]) were not reprocessed as was expect

Re: Dear GWT

2016-05-14 Thread Ali Akhtar
es. E.g, I'm editing a file called FooView.java which is a uibinder view file. As soon as I begin typing, I see this exception pop up in the SDM console: java.nio.file.NoSuchFileException: /home/ali/foo/src/main/java/com/gevald/web/FooView.java___jb_old___ at sun.nio.fs.UnixException.tran

Importing javascript functions to GWT using JSInteropr?

2016-05-14 Thread Ali Akhtar
Is it possible to import the API of a javascript library to GWT using JsInterop? E.g, stripe.js has methods such as: Stripe.card.validateCardNumber(number) which takes a string, and takes a boolean. I have a feeling that it should be possible to import this function using @JsMethod perhaps, bu

Re: Jsni replacement in 2.8?

2016-05-11 Thread Ali Akhtar
Is Jsni going to be deprecated / removed? On Thu, May 12, 2016 at 3:23 AM, Jens wrote: > > How much of that has been implemented? >> > > Everything in the 1.0 spec should work in 2.8 SNAPSHOT. > > -- J. > > > -- > You received this message because you are subscribed to a topic in the > Google Gr

Re: Jsni replacement in 2.8?

2016-05-11 Thread Ali Akhtar
On Wednesday, May 11, 2016 at 5:27:04 PM UTC-4, Ali Akhtar wrote: >> >> In GWT 2.8, what should be used in place of Jsni methods? Such as for >> integrating a 3rd party js library? There was very sparse documentation >> available for JsInterop last time I checked, are

Jsni replacement in 2.8?

2016-05-11 Thread Ali Akhtar
In GWT 2.8, what should be used in place of Jsni methods? Such as for integrating a 3rd party js library? There was very sparse documentation available for JsInterop last time I checked, are there any more docs available now? -- You received this message because you are subscribed to the Googl

Re: Dear GWT

2016-05-11 Thread Ali Akhtar
I'm sure. In 2.8 beta1, everytime a new class is added, or a new uiBinder file, it requires a restart in order for it to be detected and not get a weird error like $mg_1 not found -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe fro

Dear GWT

2016-05-11 Thread Ali Akhtar
-- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, se

gwt-dev and javax-validation:validation-api

2016-04-14 Thread Ali Akhtar
Heya, I'm using Dropwizard and GWT in the same project. Problem is, Dropwizard relies on javax-validation:validation-api 1.1.0.Final and GWT uses an older version of the lib. With dependencyManagement, I've got the project to compile & run correctly. BUT, at test time, I get the following love

Re: Upgrade validation-api dependency to 1.1.0.Final

2016-04-12 Thread Ali Akhtar
Please consider making that hibernate upgrade a priority. We are hugely behind on that upgrade, Hibernate 4 was ages ago. Today I'm experiencing this problem, but a lot of people are going to experience this in future, because every project is going to be on a newer version of validation-api. If we

Re: Upgrade validation-api dependency to 1.1.0.Final

2016-04-12 Thread Ali Akhtar
It would make my workflow very complicated to have them in separate modules, as then I'd also need a 3rd project for shared code. It so happens that mostly DTOs would be in the shared code, and the DTOs would need to be annotated w/ Validation annotations. Where do they get these annotations, G

Upgrade validation-api dependency to 1.1.0.Final

2016-04-12 Thread Ali Akhtar
gwt-user has a dependency to an older version of javax-validation:validation-api. This is causing a lot of issues, and causing builds to break with Dropwizard. See: http://stackoverflow.com/questions/36568756/maven-dependency-management-being-ignored-at-test-time-works-at-runtime Please upgrad

Re: Launching SDM programatically from integrated tests

2016-04-10 Thread Ali Akhtar
Once CodeServer.main() has been run, is there a way to stop the code server, such as in the tear down method of the test? On Sun, Apr 10, 2016 at 4:40 AM, Jens wrote: > > How can that be done? Can anyone point me to which code class / method >> needs to be called for starting up SDM? >> > > Code

Re: Launching SDM programatically from integrated tests

2016-04-09 Thread Ali Akhtar
Thanks Jens. Wars are so old school. Fat jars are the thing these days :). In the integration test, I'm already creating an in-memory instance of the db which is injected into the server resources, so that part is covered. The only question now is how to setup GWT for doing browser based integra

Launching SDM programatically from integrated tests

2016-04-09 Thread Ali Akhtar
I'm attempting to figure out the best way to setup integrated testing in GWT. I've recently played with Rails where its really easy to launch the application and click on buttons / fill in fields, etc to simulate user behavior, and ensure the app works as expected. I'm looking for a similar sol

Testing client-side behavior of GWT Apps

2016-04-09 Thread Ali Akhtar
What's the preferred way of testing client-side behavior of GWT apps? E.g, say you want to load up the site, click a sign up button, click the submit button, and want to verify that errors are shown. What's the best way to verify that using GWT? It seems like this might be a case for regular s

Elemental example project

2016-04-04 Thread Ali Akhtar
I've heard (and seen a video) about future proofing GWT apps, and it was mentioned that UiBinder will be going away in favor of Elemental (or something to that effect). I've since tried long and hard, but haven't found much documentation or any examples of porting a UiBinder based view to Eleme

Re: GWT 2.8.0-SNAPSHOT jsinterop missing module

2015-12-20 Thread Ali Akhtar
rote: > > > On Sunday, December 20, 2015 at 2:11:30 PM UTC+1, Ali Akhtar wrote: >> >> I'm also encountering this issue with sandbox. >> The /home/ali/.m2/repository/com/google/jsinterop/jsinterop/1.0.0-SNAPSHOT >> contains only pom files, no jars. >> &g

Re: GWT 2.8.0-SNAPSHOT jsinterop missing module

2015-12-20 Thread Ali Akhtar
sandbox = snapshot On Sunday, December 20, 2015 at 6:11:30 PM UTC+5, Ali Akhtar wrote: > > I'm also encountering this issue with sandbox. > The /home/ali/.m2/repository/com/google/jsinterop/jsinterop/1.0.0-SNAPSHOT > contains only pom files, no jars. I'm attempting to

Re: GWT 2.8.0-SNAPSHOT jsinterop missing module

2015-12-20 Thread Ali Akhtar
I'm also encountering this issue with sandbox. The /home/ali/.m2/repository/com/google/jsinterop/jsinterop/1.0.0-SNAPSHOT contains only pom files, no jars. I'm attempting to upgrade - anyone know which maven repository contains the snapshot version of the maven plugin, or does it

Re: Progress bar during GWT bootstrap process?

2015-10-27 Thread Ali Akhtar
t; > On Tue, Oct 27, 2015 at 8:11 PM, Ali Akhtar wrote: > >> It can take up to 10 seconds on slow connections. May be even more on >> mobile connections. >> On Oct 27, 2015 11:07 PM, "Vassilis Virvilis" wrote: >> >>> Just to make sure we are on

Re: Progress bar during GWT bootstrap process?

2015-10-27 Thread Ali Akhtar
t; > On Tue, Oct 27, 2015 at 6:43 PM, Ali Akhtar wrote: > >> This is what I am doing currently. But its not the most user friendly. >> >> I'd like to show a progress bar which indicates how much longer there is >> to go. >> >> Worst case, I can overr

Re: Progress bar during GWT bootstrap process?

2015-10-27 Thread Ali Akhtar
This is what I am doing currently. But its not the most user friendly. I'd like to show a progress bar which indicates how much longer there is to go. Worst case, I can override the Dom function for injecting a script, and use that to request the scripts over websockets, and update the progress w

Re: Progress bar during GWT bootstrap process?

2015-10-26 Thread Ali Akhtar
indicator. If you want progress as loads occur then you > can just update the progress level from each step in your EntryPoint. > HTH > > On Tue, Oct 27, 2015 at 10:54 AM, Ali Akhtar wrote: > > When GWT based sites are first loaded, the browser shows a loading > indicator >

Progress bar during GWT bootstrap process?

2015-10-26 Thread Ali Akhtar
When GWT based sites are first loaded, the browser shows a loading indicator as nocache.js is downloaded. But then, when nocache.js inserts the actual scripts, there's no loading indicator, and the user is left staring at an idle screen. Not a very good experience. Is it possible to show a prog

Re: Not finding Elemental classes

2015-08-01 Thread Ali Akhtar
Is there a way to use input element from a ui binder file, or add it to a panel? On Aug 1, 2015 10:22 PM, "Jens" wrote: > > Thank you. By the way, how can you get an elemental.html.File or FileList >> object from a gwt FileUpload widget or an widget? I.e if >> the user selects a file to upload,

Re: Not finding Elemental classes

2015-08-01 Thread Ali Akhtar
y, August 1, 2015 at 5:25:40 PM UTC+2, Ali Akhtar wrote: >> >> Hi, >> >> I'm not finding any of the elemental classes / code. I'm >> including gwt-user , gwt-dev , and gwt-servlet (all 2.8.0-SNAPSHOT) as >> dependencies. But, the elemental.dom and

Not finding Elemental classes

2015-08-01 Thread Ali Akhtar
Hi, I'm not finding any of the elemental classes / code. I'm including gwt-user , gwt-dev , and gwt-servlet (all 2.8.0-SNAPSHOT) as dependencies. But, the elemental.dom and elemental.dom imports are failing. Do I need to add another dependency in order toinclude Elemental's code? Thanks. --

Re: Allowing HTML within FormPanel?

2015-03-24 Thread Ali Akhtar
if (onSubmit != null) onSubmit.call(null); } } On Tuesday, March 24, 2015 at 6:18:21 PM UTC+5, Ali Akhtar wrote: > > Is it possible to allow HTML within a form panel, same as a HTML panel? > > Or to set onSubmit events to a HtmlPanel whose tag is "form"?

Re: Creating a widget that can accept HTML + Widgets in UiBinder (Without using HTMLPanel)

2015-03-24 Thread Ali Akhtar
IMO that parser interface should be made external and it should allow any widget that implements this interface to have html within UiBinder. I'm surprised it wasn't done that way to begin with. On Tue, Mar 24, 2015 at 9:11 PM, Jens wrote: > > Surely UiBinder isn't hard-coded to only allow HtmlP

Creating a widget that can accept HTML + Widgets in UiBinder (Without using HTMLPanel)

2015-03-24 Thread Ali Akhtar
Hi, I'm trying to create a container widget which can accept html within uibinder files, without extending from HTMLPanel. If I try to implement `HasHTML`, then I can only pass in HTML without being able to pass any widgets. If I try to extend from ComplexPanel and override the add(Widget chil

Allowing HTML within FormPanel?

2015-03-24 Thread Ali Akhtar
Is it possible to allow HTML within a form panel, same as a HTML panel? Or to set onSubmit events to a HtmlPanel whose tag is "form"? There doesn't seem to be an event for onSubmit, so I can't seem to be able to do Event.sinkEvents( panel.getElement(), EVENT.ONSUBMIT) -- You received this mess

Re: GSS @alternate errors for duplicate selectors

2015-03-21 Thread Ali Akhtar
That sucks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we

GSS @alternate errors for duplicate selectors

2015-03-21 Thread Ali Akhtar
If you have the following lines in a .gss file : background: transparent; background: rgba(0, 0, 0, 0.5); You're greeted with this compile error: [ERROR] Error in xxx/css/foundation.gss[line: 4921 column: 20]: Detected multiple identical, non-alternate declarations in the same ruleset.

Simple tool for generating CssResource files from css/gss stylesheets

2015-03-21 Thread Ali Akhtar
Its often a pain to have to generate CssResource files from .css / .gss stylesheets. Intellij has a tool that works reasonably well, but it seems unable to handle classes with hyphens or numbers in them. E.g it converts both "foo-bar-1" and "foo-bar-2" to "fooBar()", which results in compile er

Re: Unable to get SDM to use detailed mode for showing stacktraces

2015-02-13 Thread Ali Akhtar
Thanks Jen. Using your class, the method names of the exceptions are still obfuscated, but at least it shows the class name and line number, which can be clicked to get to the source. While we're on the topic, is there a similar workaround for debugging (setting break points, etc)? If a breakpoin

Unable to get SDM to use detailed mode for showing stacktraces

2015-02-13 Thread Ali Akhtar
So I have the following set in my module.gwt.xml: I also have : DETAILED set in pom.xml in the config of the maven plugin. But still, in sdm, when an error happens, the stacktrace I get is obfuscated: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeErro

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-09 Thread Ali Akhtar
So AutoBeans seem to be working now, however I'm still getting the 'xxx_classlit_xx not defined' exception when I try to use other gwt classes. For instance the following method: public Clerk setEvents(HasValue... fields) { for (HasValue f : fields) { f.addVal

Re: SDM bug when using AutoBean

2015-02-08 Thread Ali Akhtar
This seems to be a bug with IntelliJ. When I run SDM outside of IntelliJ (via the gwt:run-codeserver goal of the maven plugin), everything works. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop rece

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-08 Thread Ali Akhtar
Thanks for the pointer Jen. When I run SDM directly rather than via intellij (using gwt:run-codeserver goal of the maven plugin), everything works. Whew. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-08 Thread Ali Akhtar
Any ideas what the issue might be then? Do you use intellij for running SDM? And, can you repro the issue if you clone the repo I linked in the other post? On Feb 9, 2015 3:42 AM, "Jens" wrote: > This issue was fixed when i switched from 2.7.0 to 2.8.0-Snapshot . >> However, in the snapshot, bean

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-08 Thread Ali Akhtar
This issue was fixed when i switched from 2.7.0 to 2.8.0-Snapshot . However, in the snapshot, beans which have only primitives and Strings work. But, beans that have any collections ( lists / maps) don't work, giving a similar error as this. I've posted a stacktrace and made a test project to b

Re: SDM bug when using AutoBean

2015-02-08 Thread Ali Akhtar
When I switch to 2.8.0-SNAPSHOT, then serializing the bean to json works. However, deserializing it from json fails. Updated code: Factory factory = GWT.create(Factory.class); Test test = factory.test().as(); GWT.log("Created bean"); Map testMap = new Hash

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-08 Thread Ali Akhtar
Hi Alberto, Were you running this in SDM mode? I've found that the bug I encounter is in SDM, but in regular / production, it runs without issue. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop re

SDM bug when using AutoBean

2015-02-08 Thread Ali Akhtar
In SDM mode, I can't seem to use AutoBean on beans that have a Map as one of their properties. Example bean + factory: public interface Test extends Serializable { public Map getTest(); public void setTest(Map test); } public interface Factory extends AutoBeanFactory { AutoBean tes

Re: GWT 2.7.0 is here

2015-02-06 Thread Ali Akhtar
There appears to be a bug in autobean deserialization in 2.7.0 : https://groups.google.com/forum/#!topic/google-web-toolkit/RzsjqX2gGd4 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving e

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-06 Thread Ali Akhtar
When I downgrade to gwt 2.6.0 , the code above works without any modification. It seems that this is a bug within 2.7.0 which appears to be fixed in trunk. Is there a way to upgrade to the trunk version via maven? -- You received this message because you are subscribed to the Google Groups "G

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-06 Thread Ali Akhtar
tValue()); > --- > > > Browser console: > Decode 1 > SuperDevModeLogger.java:71 Decode 2: com..._MyBeanAutoBean$2@1 > SuperDevModeLogger.java:71 Result: ciao > > - > > > Cheers, >A. > > On Fri Feb 06 2015 at 2:32:42 PM Ali

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-06 Thread Ali Akhtar
Seems like this error only occurs when I try to access a property of the deserialized bean. I changed my code to the following: Console.debug("Response-- " + response.getText()); AutoBean ab = AutoBeanCodex.decode(factory, MyBean.class, response. getText()); Console.debug("Decode 1"); InitRe

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-06 Thread Ali Akhtar
Seems like this error only occurs when I try to access a property of the deserialized bean. I changed my code to the following: AutoBean ab = AutoBeanCodex.decode(factory, MyBean.class, response. getText()); Console.debug("Decode 1"); InitResult result = ab.as(); Console.debug("Decode 2: " + re

Re: Improve Productivity Using GWT?

2015-02-06 Thread Ali Akhtar
Without knowing more about what type of component it is, its hard to make any suggestions. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-too

Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-06 Thread Ali Akhtar
I'm trying out AutoBean for the first time. Serializing a DTO to json on server works great, however when I attempt to deserialize it on the client side, I get this error: com.google.gwt.core.client.JavaScriptException: (ReferenceError) : Ljava_util_List_2_classLit_0_g$ is not defined Console.

Re: SDM incremental recompiles in non-servlet projects?

2015-02-03 Thread Ali Akhtar
CodeServer and it > will output a *.nocache.js in there that triggers a recompile on page load. > > > On Monday, February 2, 2015 at 2:30:40 PM UTC+1, Ali Akhtar wrote: >> >> I'd like to use GWT with SDM in a project that doesn't use servlets, >> instead its

Re: SDM incremental recompiles in non-servlet projects?

2015-02-02 Thread Ali Akhtar
Replacing the link to ModuleName.nocache.js with: http://127.0.0.1:9876/recompile-requester/ModuleName";> in dev mode, triggers a recompile, and works perfectly. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from thi

Re: SDM incremental recompiles in non-servlet projects?

2015-02-02 Thread Ali Akhtar
> localhost:1978 Sorry, that should've been: localhost:9876 On Monday, February 2, 2015 at 6:30:40 PM UTC+5, Ali Akhtar wrote: > > I'd like to use GWT with SDM in a project that doesn't use servlets, > instead its using the vert.x framework, with IntelliJ. &g

SDM incremental recompiles in non-servlet projects?

2015-02-02 Thread Ali Akhtar
I'd like to use GWT with SDM in a project that doesn't use servlets, instead its using the vert.x framework, with IntelliJ. Currently, I have two run configurations in IntelliJ. The first one starts the vert.x web framework which listens on port 80, and on http://localhost , it sends my host.h

Re: GWT 2.7.0 is here

2014-11-20 Thread Ali Akhtar
I've just updated to 2.7.0 through maven, and each time I run it, the browser gets stuck on the 'Compiling [ModuleName]' screen. In chrome's console, I see this error: Uncaught ReferenceError: moduleName is not defined :9876/ModuleName/ModuleName.recompile.nocache.js:349 I've tried stopping

Finding all classes with a particular annotation in a GWT generator

2014-11-15 Thread Ali Akhtar
I'm hitting a bit of a roadblock. I have a bunch of classes in the gwt client/shared annotated as @Foo (custom annotation), and I have a FooGenerator which is being called via in my gwt.xml file. What I'd like FooGenerator to be able to do, is to find all the @Foo annotated classes, and then

Re: SDM doesn't recompile generator files outside client package

2014-11-14 Thread Ali Akhtar
Actually, if you change any files in webapp/ directory, and 'update' the web server, those changes show up when you next reload the app (e.g changing something in the host page). But changing any class in com.foo.rebind and updating doesn't seem to have the same effect. -- You received this me

Re: SDM doesn't recompile generator files outside client package

2014-11-14 Thread Ali Akhtar
ugh IntelliJ (see > https://www.jetbrains.com/idea/help/reloading-classes.html and > https://www.jetbrains.com/idea/help/debugger-hotswap.html) or using tools > like JRebel. > > On Friday, November 14, 2014 1:38:38 PM UTC+1, Ali Akhtar wrote: >> >> I have a pro

SDM doesn't recompile generator files outside client package

2014-11-14 Thread Ali Akhtar
I have a project at com.foo, with a com.foo.client package, and a com.foo.rebind package. Rebind contains generators which are used in the module.gwt.xml file, e.g: The problem is, when I run this through IntelliJ as a normal GWT configuration, using 2.7.0-RC1, then on reload, while s

Re: Copying SDM's output to Phonegap's www directory for easier phone development?

2014-11-13 Thread Ali Akhtar
Update: Due to being a moron, I had forgotten to update phonegap's www/index.html file which was causing the issues from my last message. After updating index.html to use the method described at: https://github.com/mgwt/mgwt/wiki/SuperDevMode-with-PhoneGap Everything now works as expected. When

Re: Copying SDM's output to Phonegap's www directory for easier phone development?

2014-11-13 Thread Ali Akhtar
Appreciate your help. Here's where I'm at so far: 1) Using the steps outlined at: https://github.com/mgwt/mgwt/wiki/SuperDevMode-with-PhoneGap I'm able to run my app on my phone, through Chrome, and if I reload it, that causes it to recompile through SDM and my changes are fetched. 2) Howe

Re: Copying SDM's output to Phonegap's www directory for easier phone development?

2014-11-13 Thread Ali Akhtar
If I specify the user-agent through , then it would only generate one permutation for that user agent. What I want to do instead is, I want to specify 2-3 user agents, and have SDM generate permutations for all 3 of those user agents with each refresh. That way, I can see a refresh for desktop

Re: Copying SDM's output to Phonegap's www directory for easier phone development?

2014-11-13 Thread Ali Akhtar
Niloc132 on IRC has pointed out an important issue: If you re-compile from the desktop, it will use the desktop's user agent and the permutation specified will be for the desktop. Is there any way to tell GWT to generate a few permutations, for the specified user agents (i.e for desktop & phone

Re: Copying SDM's output to Phonegap's www directory for easier phone development?

2014-11-13 Thread Ali Akhtar
e > updated code to the phonegap app, if SDM is enabled in the compiled app, it > will automatically redirect to the codeserver. You could look at how GWT > turns on SuperDevMode with the old bookmarklets and do something similar by > injecting javascript into the webpage. > >

Copying SDM's output to Phonegap's www directory for easier phone development?

2014-11-12 Thread Ali
There is a way to have a very fast compile -> refresh cycle for phone app development, i.e hitting 'Compile' for SDM, and having the app refresh on your phone. This can be done through Phonegap's app ( http://app.phonegap.com/ ) which monitors your www folder. Each time you make any changes, th

Re: AsyncCallback's methods are not called after rpc request is made.

2014-08-30 Thread Ali
I fixed this, but the behavior seems to be a bug. I was making the request, and right after making it, I was calling some code which does History.fireCurrentHistoryState(); to handle the current url token (this happens on first page load, within the entryPoint). So 1) making the request, then 2

AsyncCallback's methods are not called after rpc request is made.

2014-08-30 Thread Ali
I'm attempting to make an RPC request. The request is made successfully on the server, and the output is returned, however neither of my asyncCallback's methods (either onSuccess or onFailure) are called. This is my code for making the request: Console.debug("making request " + request)

Re: [Urgent] GWT RPC requests being made to code server rather than web server in Super dev mode

2014-06-03 Thread Ali
Hi Thomas, Thanks for the reply. I am using 2.6.0 and I have these settings set: I'm trying to set the base url as you said, via: http://localhost:8081/MyModule"; /> I have that right above the

[Urgent] GWT RPC requests being made to code server rather than web server in Super dev mode

2014-06-03 Thread Ali
I have a code server running at http://localhost:9876/, and I have a web server running at http://localhost:8081/. If I load the nocache.js file from the web server (http://localhost:8081/), then trying to compile by clicking the bookmarklet shows 'no modules found on this page'. So, I'm fetchi

Required... Java developer with Struts 2.0

2013-08-14 Thread NAVEED ALI KHAN
• Ability to work will under pressure and execute on aggressive deadlines*** * • Flexible in a changing work environment and driven to succeed in a fast paced atmosphere Thanks and Regards, * * *Naveed Ali Khan* *nav...@itintellects.com* IT Intellects Inc. 1125 Victoria Blake Ln Belmont, NC

Re: GWT - So terribly slow that makes development hard ... very hard ... extremely hard ...

2013-04-24 Thread Syed Atif Ali
Perhaps the GWT team should look into making a special browser (Chromium) version specifically for debugging GWT applications. That way, the team will not have to keep up with the constant changes in browsers, the developers will be able to quickly prototype, and test/deploy on real browsers af

Re: The Future of GWT Report 2012 Published

2012-12-05 Thread Ali Jalal
Many thanks to Vaadin, Steering Committee and GWT community for such a useful report. On Wed, Dec 5, 2012 at 6:56 PM, Ryan Shillington < ryan-googlegro...@onlyinsight.com> wrote: > I just wanted to thank you for taking the time to make this so consumable. > I found it very interesting to read.

Re: Generated class only appearing in one permutation

2012-11-29 Thread Asif Ali
Thanks 4r your great suggestion. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@google

Re: GWT and Comet

2012-11-19 Thread Ali Jalal
Hi, There is a pretty good solution for Comet or WebSocket problems: ATMOSPHERE: https://github.com/Atmosphere/atmosphere It has a complete example of a chat application with GWT. I test it and it works very well. See its wiki: https://github.com/Atmosphere/atmosphere/wiki I wait for its next r

Re: GWT 2.5 GA is Here!

2012-10-26 Thread Ali Jalal
ct 26, 2012 at 2:57 PM, Thomas Broyer wrote: > > > On Friday, October 26, 2012 1:04:14 PM UTC+2, Ali Jalal wrote: >> >> Great news ! >> And I'm looking for latest news about steering-committee decisions... >> > > BTW, what kind of decision are you expecting

Re: GWT 2.5 GA is Here!

2012-10-26 Thread Ali Jalal
Great news ! And I'm looking for latest news about steering-committee decisions... Good luck. On Fri, Oct 26, 2012 at 5:06 AM, Daniel Mauricio Patino León < ceo.lion@gmail.com> wrote: > Nice > > > 2012/10/25 Juan Pablo Gardella > >> Great!!! >> >> >> 2012/10/25 unnurg >> >>> Hey all, >>> >

Error on Upgrating GWT to 2.4

2012-07-15 Thread Ali Al-Zayer
Line 49: ConstraintDescriptor cannot be resolved to a type [java] Line 50: ConstraintDescriptor cannot be resolved to a type I don't know what to do. Please any help. Thanks and regards, Ali -- You received this message because you are subscribed to the Google Grou

MenuBar: position and z-index

2012-07-05 Thread Ali Thabet
Hello, Is there a way to change how GWT define the position and the z-index of submenus? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this gr

  1   2   >