Re: [gwt-contrib] Re: Infinite loop at compile time

2024-01-23 Thread Paul Robinson
will not get stuck in this > loop - the optimization loop won't run at all (see one frame up, > shouldOptimize will return false), and you'll instead experience a > stackoverflow at runtime. > > I didn't continue investigation of the problem further yet, but the linked > ticket

[gwt-contrib] Infinite loop at compile time

2024-01-22 Thread Paul Robinson
I just found an infinite loop while running the GWT compiler. There was a trivial bug in my code which resulted in an infinite loop at *runtime*. This is a method that was calling itself recursively. It was inside a generic class, and the method had a single line that was something like this:

Re: Is moving away from RPC a good idea?

2024-01-13 Thread Paul Robinson
One thing I really like about using JSON for my message formats is that they are human readable (YMMV). If you're wondering whether a problem is client side or server side, or when you just want to know exactly what information the client was given, being able to read the content of messages can

Re: GWT RPC call recognized as a Java Method Injection by Fortiweb

2023-07-21 Thread Paul Robinson
Having readable network messages is very useful for debugging. It's also easy to include more data in a GWT RPC messages than you really need unless you're careful with it. Regards, Paul On Fri, 21 Jul 2023, 15:43 Ralph Fiergolla, wrote: > I think I asked the question before: as a long-term

Re: [gwt-contrib] Asking for decision on DevMode embedded Jetty support

2021-04-18 Thread Paul Robinson
On Sat, Apr 17, 2021 at 7:45 PM eliasbala...@gmail.com < eliasbala...@gmail.com> wrote: > During development, > with "SuperDevMode"+"Jetty" and "Google Plugin for Eclipse", > GWT client-side code compilation (including the nocache.js files) is done > at runtime by DevMode. > > Any other scenario

Re: [gwt-contrib] Asking for decision on DevMode embedded Jetty support

2021-04-17 Thread Paul Robinson
Would it be plausible to split GWT into two projects - one as it is now but without Jetty built in, and another that adds the bits relating to Jetty? Then the GWT Jetty project could be maintained by those that require it. Paul -- You received this message because you are subscribed to the

Re: [gwt-contrib] Asking for decision on DevMode embedded Jetty support

2021-04-16 Thread Paul Robinson
Vassilis - I don't use the bookmarklet. It may still work (I don't know) but it's not needed in recent GWT versions. I just refresh my browser and it recompiles automatically if anything has changed. Paul -- You received this message because you are subscribed to the Google Groups "GWT

Re: [gwt-contrib] Asking for decision on DevMode embedded Jetty support

2021-04-15 Thread Paul Robinson
I used the built in Jetty server until a year or so ago. Occasionally I have to use the older version in development as we haven't upgraded everybody in production to the new version yet. >From a development perspective, I find running a separate code server and Jetty to be much more productive.

Re: GWT.create() is only usable in client code!

2019-06-30 Thread Paul Robinson
Try the shared version instead of the client versionn: com.google.gwt.core.shared.GWT Paul On Sat, 29 Jun 2019, 14:20 Evan Ferrell, wrote: > I am receiving the attached error when trying to run JUnit. Please advise. > > -- > You received this message because you are subscribed to the Google

Re: Stack trace not showing correct line number

2019-06-20 Thread Paul Robinson
I haven't seen proper stack traces in my app without emulation in Chrome, even in older versions of GWT. Is it possible there's a trick to making it show the real line instead of the function start, rather than a bug in 2.8.2? Paul -- You received this message because you are subscribed to the

Re: Unexpected behavior

2019-03-12 Thread Paul Robinson
I don't think you're showing us enough code. The exception indicates something is calling toString() on a null object, but there's nothing in what you've shown us that calls a toString() method. Try compiling in pretty mode with full stack traces. You'll see better error information. Paul On

Re: Deobfuscated stack trace message and line-specific stack traces

2018-11-05 Thread Paul Robinson
I always deploy a version compiled with emulated stack traces alongside the regular version so that if a problem can be replicated, I can get a proper stack trace. But I still share your pain. Trying to work out which line of obfuscated JavaScript could possibly have given a null pointer

Re: Upload a file gwt

2018-09-12 Thread Paul Robinson
You can store the file on the server in a temporary area, returning a key to the UI. Then, when the user is ready to submit the lot, the UI sends the file's key to the server as well as the other data. The server can then move the file data to a permanent home, or mark it as permanent. Paul

Re: Advice Needed - moving to GWT 2.8.2 from 2.7 compile error

2018-05-04 Thread Paul Robinson
Check to see if you're mixing GWT versions. Maybe more than one GWT jar file in your path. Paul On Fri, 4 May 2018, 16:09 Rachel, wrote: > I couldn't find another post with this same error but if there is one I > apologize. > We are moving a project from GWT 2.7 to GWT

Re: compilerArgs setProperty multi values - [ERROR] Unable to parse JavaScript

2017-11-30 Thread Paul Robinson
We do both: release compiles have a permutation with native stack traces for normal use, plus a "debug" version which includes emulated stack traces. We deploy both of them, but don't tell real users about the debug version unless there's a good reason to do so. Sometimes it's useful for us to be

Re: How to contact www.gwtproject.org Website?

2017-07-11 Thread Paul Robinson
I'm not a security expert either, but doesn't https stop a man-in-the-middle attack? So the only way to cause you to download the wrong thing is to compromise gwtproject.org, in which case they could just put the sha1 for their altered file on there. That's much easier than creating an

Re: Debugging with developer tools

2017-06-14 Thread Paul Robinson
You can send the whole stack trace to the server and use StackTraceDeobfuscator to work out the real locations. See this recent thread: https://groups.google.com/forum/m/#!topic/Google-Web-Toolkit/z4Rg1G2MgCQ Paul On 14 Jun 2017 7:06 pm, "Harry Wagner" wrote: > Is

Re: Any issues running in detailed (or pretty) style in production?

2017-06-09 Thread Paul Robinson
We've done this for a long time now, and it does indeed work well. You don't get the exact line numbers, but rather the first line number of the method it's in, but that's usually enough. We also have an extra permutation for a "debug" build that sets compiler.stackMode to emulated. I set it up so

Re: [gwt-contrib] Re: Business proposition of GWT 3.0 - what is it good for vs. other solutions out there?

2017-05-20 Thread Paul Robinson
As a heavy user of GWT-RPC in a large app, I've become disillusioned with it. That's for three reasons: - I often need to see what data is being sent, and it's just not very good for that. It makes debugging harder than it could be. - it's not good for communicating from a mobile app. - it's

Re: JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

2016-12-30 Thread Paul Robinson
Have you tried modifying/simplifying the JSON to see what your odd behaviour is sensitive to? Paul -- 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

Re: DateTimeFormat issue

2016-09-19 Thread Paul Robinson
Looks to me like this bug: https://gwt-review.googlesource.com/#/c/14430/ which was (coincidentally?) mentioned today here: https://groups.google.com/d/msg/google-web-toolkit-contributors/33Zw3nP3q7o/eUSj5-eKEwAJ Paul On Mon, Sep 19, 2016 at 2:39 AM, Freddy Boucher

Re: CalenderUtil Date Math BUG - GWT 2.8 RC2

2016-09-01 Thread Paul Robinson
on August 31, and set the month to September, then you find you are on October 1. On Thu, Sep 1, 2016 at 10:01 AM, Daniel Kurka <kurka.dan...@gmail.com> wrote: > Does this code do the same thing in 2.7? > > On Wed, Aug 31, 2016 at 11:41 PM Paul Robinson <ukcue...@gmail.com>

Re: CalenderUtil Date Math BUG - GWT 2.8 RC2

2016-08-31 Thread Paul Robinson
You don't say what part of this you think is a bug. I presume it's the fact that Aug 31 plus one month is Oct 1. If so, this is not a bug. Adding one month should do literally that, so you get September 31. But there are only 30 days in September, so this automatically becomes October 1. Paul

Re: GWT RPC in GWT 3.0+

2016-07-13 Thread Paul Robinson
On 13 Jul 2016 9:17 a.m., "Kay Pac" wrote: > > Will the gwt serialization mechanism used in GWT-RPC remain? GWT object serialization has been plugged into the atmosphere (realtime communication/websockets) GWT extension. It would be useful to know if we should migrate away

Re: ProjectStruture

2016-02-19 Thread Paul Robinson
GWT RPC may not be supported beyond GWT 2.8, so I'd be wary of using it for a new project now. Paul On 19 Feb 2016 8:17 p.m., "Sam Wootton" wrote: > Thank you Gilberto, good advice. Im not sure it will reduce work or > achieve the 'minimal' server rewrite (or rather

Re: GWT-log 3.1.3 issues GWT 2.6.1 with

2016-01-11 Thread Paul Robinson
On 11 Jan 2016 11:13 a.m., "vaibhav gwt" wrote: > Just upgraded to 2.6.1 and ran into the following when trying to > build with gwt-log-3.1.3.jar. Your gwt-log is too old. See the compatibility information here: https://github.com/fredsa/gwt-log/wiki/GettingStarted

Re: GWT Developer Plugin does not work in Chrome

2016-01-10 Thread Paul Robinson
It's not a bug. Chrome and Firefox removed support for the API that classic dev mode required. You can install an old browser, or embrace the future and go with super dev mode. There have been lots of discussions about this here before; the group archives will explain all the details if you want

Re: GWT Asynchronous callback and UI

2015-12-21 Thread Paul Robinson
You appear to be adding an item without also creating that item. That suggests the item already exists, and is possibly already displayed. You can't have the same widget appearing more than once. That may be your problem. Paul On Mon, Dec 21, 2015 at 9:02 AM, wrote: > Hello all,

Re: [gwt-contrib] Re: GWT 2.8.0-beta1 available for testing

2015-12-08 Thread Paul Robinson
On Mon, Dec 7, 2015 at 3:06 PM, Colin Alworth wrote: > If I could be permitted to slight restate what Julien just said: We will > make a note of it, as we have done in the past, such as when the default > moved from java6 to java7: >

Re: [gwt-contrib] Re: GWT 2.8.0-beta1 available for testing

2015-12-08 Thread Paul Robinson
Thanks for the clarification Thomas. On Tue, Dec 8, 2015 at 1:45 PM, Thomas Broyer <t.bro...@gmail.com> wrote: > > > On Tuesday, December 8, 2015 at 1:54:40 PM UTC+1, Paul Robinson wrote: >> >> >> >> On Mon, Dec 7, 2015 at 3:06 PM, Colin Alworth <ni

Re: [gwt-contrib] GWT 2.8.0-beta1 available for testing

2015-12-04 Thread Paul Robinson
Is it intentional/necessary that gwt-servlet.jar is compiled for Java 7 and not Java 6? On Fri, Dec 4, 2015 at 9:51 AM, Daniel Kurka wrote: > Hi all, > > we just finished testing for GWT 2.8.0-beta1. You can either download it > from goo.gl/62SeR5 or from maven central. > >

Re: [gwt-contrib] GWT 2.8 RC1

2015-10-28 Thread Paul Robinson
Speaking for myself, a GWT 2.8.0 release that works, but uses too much memory compiling code, to be followed by GWT 2.8.1 with the memory fix, is better than waiting for an unknown amount of time until JDT is fixed. On Wed, Oct 28, 2015 at 8:46 AM, 'Goktug Gokdogan' via GWT Contributors <

Re: ant devmode doesn't work

2015-09-12 Thread Paul Robinson
Have you installed ant? Have you googled that error message? For example, googling the error message gives this as the first result: http://stackoverflow.com/questions/9262712/ant-is-not-recognized-as-an-internal-or-external-command Paul On 12 Sep 2015 5:56 pm, "Priyanka"

Re: Important videos from GWT Meet-up 2015

2015-06-20 Thread Paul Robinson
I suspect most people here just haven't quite realised the magnitude of what's planned. The plans are quite reasonable for anybody that can start from scratch (which doesn't include me). Anybody invested in GWT will have a problem. That includes Google, although there are no obvious plans for a

Re: How to deal with large multi-module applications on GWT

2015-06-19 Thread Paul Robinson
All our developers have new core i7 machines with 8gb of RAM That's not enough. We used to use 16GB RAM for developers, but it was too constraining. We now use 32GB 64 bit machines. Having fast hardware makes a significant difference too. Paul On Fri, Jun 19, 2015 at 12:02 AM, Victor Krausser

[gwt-contrib] Stop calling it GWT 3.0

2015-06-13 Thread Paul Robinson
The GWT Meetup 2015 videos are very interesting. I can see why the proposals for GWT 3.0 have been made. However, we should be clear about the fact that GWT 3.0 is not just going to break a few little things that can easily be fixed, but break things to the point that it's a completely

[gwt-contrib] Re: Stop calling it GWT 3.0

2015-06-13 Thread Paul Robinson
On Saturday, 13 June 2015 12:18:37 UTC+1, Thomas Broyer wrote: it's expected that you could future-proof your application in GWT 2.8. Yes, except that if you're heavily invested in GWT widgets, then future-proofing means switching to a different rendering library and so almost a complete

Re: Gwt Editors: How to change a value programmatically

2015-03-12 Thread Paul Robinson
On 10 Mar 2015 18:56, Manuel develop.m...@gmail.com wrote: // Copy day/month/year to the datebox startDate.setYear(selectedDate.getYear()); startDate.setMonth(selectedDate.getMonth()); startDate.setDate(selectedDate.getDate()); Perhaps you

Re: GWT rebranding

2015-02-05 Thread Paul Robinson
+1 This would be a breaking change because all gwt package names should change. But it is probably worthwhile to have a Google-free name and brand. I think this appraisal of the website and especially in comparison to the scala-js website is correct. It's probably painful after the recent

Re: DART vs. GWT

2014-11-20 Thread Paul Robinson
I don't have an answer for you, but here's an interesting description of how Google's Inbox uses Java as a base for building Android, web (via gwt) and iOS (via j2objc) apps. Three separate native apps sharing about two thirds of the source code.

Re: Development Mode will not be supported in Firefox 27+

2014-11-03 Thread Paul Robinson
If you're using eclipse and chrome, then sdbg is good. It's not perfect, but it is *much* better than browsing Java source and setting break points in the browser. Paul On 3 Nov 2014 17:49, David Hoffer dhoff...@gmail.com wrote: I like where you might be going with your last paragraph (the

Re: Why Cookies will not be stored if setting Timeout = 30 days in GWT?

2014-07-30 Thread Paul Robinson
You're using integer arithmetic for a sum that overflows beyond the maximum positive value for an integer. So 1000*60*60*24*30 is negative. You could try 1000L*60*60*24*30 Paul On 31 Jul 2014 01:53, Tom henry...@gmail.com wrote: This is very weird. Ok, the below code works fine public void

Re: Overlay Instruction

2014-07-14 Thread Paul Robinson
Take a look at http://eemi2010.github.io/gwt-tour/ Paul On 14 Jul 2014 08:25, Vasu pandurang.pa...@gmail.com wrote: Hi, I am also looking for the same. Let me know if you come across any such a library. [image: Pandurang Patil on about.me] Pandurang Patil about.me/pandurangpatil

Re: ACE Editor for GWT

2014-07-14 Thread Paul Robinson
How does this compare or relate to https://github.com/daveho/AceGWT ? On Mon, Jul 14, 2014 at 6:56 PM, Alain Ekambi jazzmatad...@gmail.com wrote: The link s about the open source project. The demo is here : http://ahome-it.github.io/ahome-client-io/ The demo also show another library called

Re: symbolMap file : wrong source line number ?

2014-07-11 Thread Paul Robinson
It's probably the line number of the start of the method the exception occurred in. Paul On 11 Jul 2014 22:36, 'Thomas Lacroix' via Google Web Toolkit google-web-toolkit@googlegroups.com wrote: Hello, While in production mode, I would like to pinpoint the root cause of a given Trowable.

Re: GWT distributed builds

2014-07-06 Thread Paul Robinson
Do you really need all 23 permissions several times per hour? Building in parallel is a good idea, but avoiding unnecessary permissions is easy and makes a big difference while developing. Paul Good afternoon, we're using GWT in our application (to be precise, not the vanilla, but SGWT) and what

Re: Send a arraylist of objects through rpc

2014-06-06 Thread Paul Robinson
Unless each rpc call sends a large amount of data, chaining the rpc calls in the way you suggest will be much slower than sending a single ArrayList. It will also be more complicated code. So in general, you should send an ArrayList in a single rpc call. You'd have to have a good reason to do it

Re: SuperDevMode and APT

2014-05-24 Thread Paul Robinson
On 24 May 2014 05:03, Frank Ren renfeng...@gmail.com wrote: It's been two years. And, I was just push into this problem by Chrome dropping support for GWT plugin. i.e. I have to downgrade Firefox to version 24, or to struggle with super dev mode. However, both running a Firefox version 24, and

Re: How to use JavaScript to customize both the client and server in a consistent way?

2014-05-10 Thread Paul Robinson
You could let them write Java code instead and run it in the server only using BeanShell2. Then the syntax and interoperability issues go away. But you have to send results to the client rather than calculating directly on the client. HTH Paul -- You received this message because you are

Re: synchronization problem with rpc calls

2013-11-12 Thread Paul Robinson
In the callback for the click on the hyperlink, disable the hyperlink so it can't be clicked twice. In your RPC callback, you can enable it again in the onFailure method. Presumably it should stay disabled in your onSuccess method. That will stop people from asking for two games with a double

Re: gwt date B U G

2013-11-01 Thread Paul Robinson
The problem is this code: Date date = new Date(); date.setYear(Integer.valueOf(y) - 1900); date.setMonth(Integer.valueOf(m) - 1); date.setDate(Integer.valueOf(d)); You found this bug when you ran it yesterday, October 31st. That's pertinent because the first line above creates a new date

Re: [gwt-contrib] Re: Steering committee meeting on GWT 3.0 IE Java compatibility

2013-10-08 Thread Paul Robinson
This discussion has covered what the general rules for dropping support for browsers, APIs and JVMs should be. That's a good thing, but what I would really like is for GWT to specify the actual dates when it is expected that GWT will no longer support particular runtime server JVM versions and

Re: GWT changing style during drag event takes too long

2013-08-08 Thread Paul Robinson
Your English is very good. No problems there! I don't know the answer to your problem exactly as you're written it, but you could possibly achieve the same thing a different way. Take a look at the tree dag-and-drop method done here: https://code.google.com/p/gwt-dnd-tree/ It indicates the

Re: determine if running on client or server OR synchronize time on server/client?

2013-06-07 Thread Paul Robinson
Use com.google.gwt.core.shared.GWT.isClient() Paul On 07/06/13 15:34, Magnus wrote: Hi, my chess application should trust only the server time. However, I have a shared class that is used both on server and client. Within this class I determine the current time by creating a new Date

Re: Timezone difference issue

2013-05-29 Thread Paul Robinson
The date doesn't actually get changed. What's happening is that a java.util.Date represents an instance in time. Viewed from different timezones, that instance in time can be at different times of day and even a different day. But it's still the same instance in time. To avoid this, you might

Re: GWT 2.5.1-rc1 available

2013-02-14 Thread Paul Robinson
While it's good to get rid of long-deprecated things, is it really a good idea to do that in a point release like this? Shouldn't it wait until GWT 2.6? I'm thinking in particular of GWTShell and GWTCompiler. Paul -- You received this message because you are subscribed to the Google Groups

Re: The Chrome 24 Animation bug and unstable APIs in general

2013-01-30 Thread Paul Robinson
Even better than a command line switch would be a deferred binding switch. Then you could compile and deploy something with and without experimental APIs at the same time. If something breaks you can tell customers to switch to using a different host page that uses the version compiled without

Re: why some of the Checked RPC Exception fields arrive as nulls?

2012-12-29 Thread Paul Robinson
Your fooModel is a private member and nothing ever sets its value. The constructor takes a FooModel, but doesn't use it. Paul On 24/12/12 03:57, vitaliy...@gmail.com wrote: Hello, I have a checked exception FooModelValidationException which is declared in interface of an RPC service

Re: Java Generics in GWT-RPC

2012-12-19 Thread Paul Robinson
ListDataProvider.getList() returns a list implementation that is not GWT-serializable. https://developers.google.com/web-toolkit/doc/latest/DevGuideServerCommunication#DevGuideSerializableTypes If you look at the exception you received, it should tell you (in its own idiosyncratic way) that

[gwt-contrib] Re: Another approach to DevMode: taking advantage of browsers' remote debugging protocol

2012-12-14 Thread Paul Robinson
On 14/12/12 11:24, Thomas Broyer wrote: and there's also the issue with GWT-RPC serialization policies that make using SuperDevMode tricky (apparently, I don't use RPC). Tricky is too strong a word for it. It only takes a small amount of code, so that the RPC servlet's

Re: SuperDevMode not so super

2012-11-14 Thread Paul Robinson
I have about 250kloc, lots of RPC and no generators or UI binder. With decent hardware, a recompile is about 7-8 seconds. With a 3-4 year old computer, it was taking about 20 seconds. Paul On 14/11/12 14:34, Paul Stockley wrote: Our project is about 35,000 lines of client and server code. We

Re: Roadmap GWT?

2012-11-09 Thread Paul Robinson
On 09/11/12 10:01, Thomas Broyer wrote: no decision were made, except for welcoming JetBrains as a new SC member. That's a good example of something that should have been posted to the SC group. Paul -- You received this message because you are subscribed to the Google Groups Google Web

Re: GWT Commercial Support

2012-10-05 Thread Paul Robinson
Vaadin provide commercial GWT support: https://vaadin.com/gwt Paul On 05/10/12 13:53, vinayak wrote: I understand this is a old post and I have same question in Oct 2012. I am from similar kind of company. Is there anybody who provides commercial support for GWT ? On Friday, April

Re: Are you happy with GWT?

2012-10-05 Thread Paul Robinson
In a word: yes. You also need to decide whether to use a third party library like Sencha's GXT and SmartClient's SmartGWT. Personally, I chose vanilla GWT and have never once regretted choosing GWT or choosing not to use an external widget library. Paul On 05/10/12 16:53, Charlie Youakim

Re: Serializing different objects in one class that implements IsSerializable

2012-09-21 Thread Paul Robinson
You don't show the Polygon class, but from the error it looks like you haven't provided a zero-argument constructor. It must have one, even if it's private and you never call it. GWT-RPC needs it for anything that it serializes. Paul On 21/09/12 15:40, coffeMan wrote: I created a class that

Re: TextBox.setText remove the \n

2012-09-20 Thread Paul Robinson
TextBox is for single line text. Use TextArea for multiline text. On 20/09/12 10:16, tong123123 wrote: as shown in attached ContetWithReturnKey1.png, the content has \n before setText (content\ncontent), but after setText and then getText() again, the \n is disappear(contentcontent)!! How

Re: Future of GWT survey

2012-09-19 Thread Paul Robinson
One question missing from the survey that would have been interesting is the number of people using Maven with GWT. On 19/09/12 14:23, Joonas Lehtinen wrote: What is your opinion on the future of GWT? How should GWT develop? What technologies should it better support? ... We all would like

[gwt-contrib] *.rpc.log files

2012-09-19 Thread Paul Robinson
I went looking for the *.rpc.log files that get generated during the GWT compile yesterday, only to find that they don't get generated by default any more. After a bit of digging in the source code, it seems that you have to turn them on now with an argument of -logLevel DEBUG to the GWT

Re: Very Big JS

2012-09-18 Thread Paul Robinson
See https://developers.google.com/web-toolkit/doc/latest/DevGuideCodeSplitting Paul On 18/09/12 13:37, Néstor Boscán wrote: Hi I have a big application that is generating a 3 MB JS. Is there a way to divide this JS in multiple modules so they can be loaded if needed? Regards, Néstor

Re: How to see Runtime Exceptions in SuperDevMode?

2012-09-13 Thread Paul Robinson
For the purposes of getting stack traces, SuperDevMode is the same as production mode. For this, you have two options: (1) Deobfuscate your stack traces on the server (see StackTraceDeobfuscator) (2) Emulated stack traces When you do either or both of these, you still don't get something quite

Re: Ambiguity on javadoc (HTMLPanel - addAndReplaceElement() )

2012-09-12 Thread Paul Robinson
If you look carefully at the source code, you'll see that there are two methods called addAndReplaceElement(Widget, Element), it's just that one of them uses com.google.gwt.dom.client.Element and the other uses com.google.gwt.user.client.Element It's the com.google.gwt.user.client.Element

Re: GWT Compilation Time Performance Improvement

2012-09-06 Thread Paul Robinson
Maybe you should get more RAM...4GB isn't a lot when running all the things you need for GWT development. Alternatively, run some (or even all) of the required processes on another computer. Paul On 06/09/12 05:33, Niraj Salot wrote: Hi Members, Thanks for all your suggestion/comments. We

Re: ScrollPanel.scrollToBottom has no effect

2012-08-17 Thread Paul Robinson
One of the nice things about SuperDevMode in chrome is that as you step through it in the chrome debugger, you can see exactly what the browser does and when because the browser display updates as you step through your code. In other words, if you want to know what's actually happening, you can

Re: ScrollPanel.scrollToBottom has no effect

2012-08-15 Thread Paul Robinson
Try calling scrollToBottom after the event loop has finished by running it inside a call to Scheduler.get().scheduleDeferred(...) Paul On 16/08/12 06:15, Magnus wrote: Hello, I have a CellTable within a ScrollPanel with a fixed number of rows (40). Whenever the CellTable is filled with

Re: Where Is GWT Dev Plugin

2012-08-11 Thread Paul Robinson
I don't understand why so many people are using chrome for dev mode. It's much slower in dev mode than other browsers. On Linux, I'd use Firefox. But if you use super dev mode instead, then chrome is good. Paul On 11/08/12 20:50, Jens wrote: see:

Re: can i specify the filename when compiling ?

2012-08-10 Thread Paul Robinson
It's only safe for the browser to cache the file *because* it's got a name that changes every time something changes. Setting the name to something fixed would defeat this. Paul On 10/08/12 08:51, wahaha wrote: there are 3 files after GWT's compiling: hosted.html moduleName.nocache.js

Re: Java mysql GWT

2012-08-10 Thread Paul Robinson
On 10/08/12 21:46, xxJohnnyxx wrote: Hello, I want to connect to a mysql server from the server side of my GWT code, like this: Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) at

Re: SuperDevoMode and Source Maps

2012-08-08 Thread Paul Robinson
Have you enabled source map support in chrome? Click the settings cog/wheel thing in the bottom-right corner, and tick Enable source maps. Also, you must compile while the developer tools tab is open, or else it won't show the java source code. HTH Paul On 08/08/12 08:42, Adolfo Panizo Touzon

Re: Suggesting a new mode: instant in-place changes of GWT Javascript code?

2012-08-02 Thread Paul Robinson
Search for super dev mode. It's available now in GWT 2.5RC1 Paul On 01/08/12 15:23, Dieter K wrote: Dear all, This is hopefully starting a discussion that results in a GWT feature request. Maybe/probably this was suggested before and is currently in the works or it was rejected -- then I

Re: Setting Locale language dynamically initially

2012-07-31 Thread Paul Robinson
On 31/07/12 09:24, Rana wrote: Hello Jens, But, what if I don't want to use neither JSP nor PHP. Is there a way of doing it using GWT, or JavaScript? That'll be the whatever in Jens' email. You can generate a host html page with whatever server-side technology you're using. If you have a

Re: No source code is available problem for my server side code while testing

2012-07-17 Thread Paul Robinson
[ERROR] Line 13: No source code is available for type com.ag.sapwidgets.server.ExportDataToExcel; did you forget to inherit a required module? This is the problem. You are trying to convert to javascript the server class ExportDataToExcel. Either its package should be added to the set

Re: No source code is available problem for my server side code while testing

2012-07-17 Thread Paul Robinson
On 17/07/12 15:07, Venkat wrote: how can I test my server side logic in GWT. GWT is client-side technology. To test server code, set up tests that are independent of GWT. That is, just create regular junit tests that check your server classes work properly. Paul -- You received this message

Re: No source code is available problem for my server side code while testing

2012-07-17 Thread Paul Robinson
(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Thanks, On Tuesday, July 17, 2012 10:20:57 AM UTC-4, Paul Robinson wrote: On 17/07/12 15:07, Venkat wrote: how can I test my server side logic in GWT. GWT is client-side

Re: No source code is available problem for my server side code while testing

2012-07-17 Thread Paul Robinson
On 17/07/12 16:24, Venkat wrote: I have removed the client side code from the test case, the exception is gone. But I got one exception that is below. I am guessing this is because I did not specified the test folder in my Module. If yes, can you please tell me how can I do that. Usually

Re: No source code is available problem for my server side code while testing

2012-07-17 Thread Paul Robinson
wrote: I have done that, now it is giving me the inherit issue, can you tell me I can inherit all the classes that I want to inherit like this. Can I use * to inherit all. inherits name=com.google.gwt.* / On Tuesday, July 17, 2012 12:14:52 PM UTC-4, Paul Robinson wrote: On 17/07/12 16:24

Re: Super Dev Mode: Is there a way to start the Super Dev Mode with a server other than the embedded Jetty?

2012-07-16 Thread Paul Robinson
On 14/07/12 19:34, Brian Slesinsky wrote: On Thursday, July 5, 2012 9:42:26 AM UTC-7, Thomas Broyer wrote: On Thursday, July 5, 2012 10:28:06 AM UTC+2, monkeyboy wrote: Thanks Thomas for the clarification. I now understand that I must have two servers running one for

Re: Date Serialization

2012-07-13 Thread Paul Robinson
. Daniel (And sorry for the late answer.) Am Dienstag, 3. Juli 2012 23:41:08 UTC+2 schrieb Paul Robinson: On 03/07/12 21:41, Daniel F. wrote: Am Dienstag, 3. Juli 2012 14:42:11 UTC+2 schrieb PhiLho: On 30/06/2012 16:37, Daniel F. wrote: I need to parse serialized

Re: [gwt-contrib] Re: SuperDevMode CodeServer extensions

2012-07-05 Thread Paul Robinson
On 11/06/12 12:01, Thomas Broyer wrote: How about customizing the CrossSiteIframeLinker instead? Customizing either the computeUrlForResource or loadExternalStylesheets to no longer be relative to the module base url (but rather to, say, the host page base url). Or if you need it to be

Re: Date Serialization

2012-07-03 Thread Paul Robinson
On 03/07/12 21:41, Daniel F. wrote: Am Dienstag, 3. Juli 2012 14:42:11 UTC+2 schrieb PhiLho: On 30/06/2012 16:37, Daniel F. wrote: I need to parse serialized *java.util.Date* values in Python. Where can I find information on the timestamp that represents date and time in the

Re: How to use Super Dev Mode

2012-07-02 Thread Paul Robinson
On 23/06/12 12:30, Jens wrote: I think currently the codeserver only serves the compiled JavaScript of your app. So you still have to use a server that serves your server side code. No, it serves source too. As Brian said, use -src arguments to the code server. 3.) copy your apps host html

Re: SuperDevMode and APT

2012-06-15 Thread Paul Robinson
con Sparrow http://www.sparrowmailapp.com/?sig Il giorno giovedě 14 giugno 2012, alle ore 11:33, Paul Robinson ha scritto: On 13/06/12 18:53, Andrea Boscolo wrote: I can confirm that copying the CodeServer's .gwt.rpc files in the local war dir, works but it's a pain: every time they change

Re: GWT Application Patches

2012-06-15 Thread Paul Robinson
On 15/06/12 04:10, jfiallo wrote: I'm fairly new to developing with GWT. I was wondering if there's a way to 'patch' an existing gwt application, that is: update just a portion of an app that a customer might already be using (ex. a java class that was modified). The simple answer is no. It's

Re: SuperDevMode and APT

2012-06-14 Thread Paul Robinson
On 13/06/12 18:53, Andrea Boscolo wrote: I can confirm that copying the CodeServer's .gwt.rpc files in the local war dir, works but it's a pain: every time they change, they need to be copied. There's an alternative to copying gwt.rpc files. I've changed my app so that when it looks for the

[gwt-contrib] SuperDevMode CodeServer extensions

2012-06-11 Thread Paul Robinson
The new superDevMode is *very* impressive. Well done! I don't know how unusual my use-case is, but I require custom handling of some CSS files to make things work properly. For example, I allow customers to skin my app, and that requires CSS in a database. So there's a CSS file referenced in

Re: [gwt-contrib] Re: SuperDevMode CodeServer extensions

2012-06-11 Thread Paul Robinson
to the module base url, add a linker to emit the appropriate CSS files in the module output dir (where the Super Dev Mode's will find them). On Monday, June 11, 2012 12:16:19 PM UTC+2, Paul Robinson wrote: The new superDevMode is *very* impressive. Well done! I don't know how unusual my

Re: [gwt-contrib] Re: Move Super Dev Mode to the open source repository. (issue1727804)

2012-06-08 Thread Paul Robinson
I've just tried SuperDevMode for the first time. I have around 250KLOC, of which around 200KLOC are translated to javascript. The code server reported 3 minutes for the initial compile (with 2 permutations), then 37 seconds for the first compile from the browser, and then consistently 18-19

Re: [gwt-contrib] Re: Move Super Dev Mode to the open source repository. (issue1727804)

2012-06-08 Thread Paul Robinson
I'm not using UiBinder or Gin. I am using GWT RPC, I18N and ImageResource. I have approximately: - 100 methods across several ClientBundles returning an ImageResource. - 700 I18N methods spread over about 30 interfaces (my initial 2 permutations were for the default locale) - for GWT RPC, I

Re: Resolving client issues when emulated stack trace is not available

2012-05-31 Thread Paul Robinson
You can deobfuscate non-emulated stack traces. Check out com.google.gwt.logging.server.StackTraceDeobfuscator You need to arrange for the symbol maps created at compile time to be available. Note that you can also set up another permutation so that you have emulated stack traces or not, and

Re: item with hover menus

2012-05-22 Thread Paul Robinson
You can add a MouseOverHandler to find out when the mouse becomes over a widget, and then show a pop-up menu inside the handler. If each item can have a different menu, then maybe you need the handler to ask the item for its menu. If you're using widgets that don't have an addMouseOverHandler

Re: Firefox 12 release

2012-04-30 Thread Paul Robinson
On 30/04/12 15:23, Piergrossi, Mark J wrote: Alan: Just wanted to say thank you man. The plug-in works great. It is a shame that Google couldn't create these in a timely manner. Your effort is greatly appreciated -- especially from those of us that have to get real work done. Alan is a

  1   2   3   4   5   >