Re: GWTCanvas and IE8

2010-12-07 Thread Nathan Wells
I would take a look at the demo source: http://google-web-toolkit-incubator.googlecode.com/svn/trunk/src/com/google/gwt/demos/gwtcanvas/client/ or http://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn/trunk/src/com/google/gwt/demos/gwtcanvas/client%3Fstate%3Dclosed On Dec 7,

Re: Window 7 IE8 Drop Down List Boxes open problem

2010-11-01 Thread Nathan Wells
Do you have a snippet of code that can reproduce this problem? this sounds like a browser issue to me. On Oct 28, 6:20 am, skippy al.leh...@fisglobal.com wrote: In this configuration, the drop down list boxes open with the top out of the top of the browser and no scrollBar. GWT 2.0.4 Has

Re: Enums in overlay types

2010-10-15 Thread Nathan Wells
getLevel() /*-{return th...@com.foo.bar.level.defaultlevelbean::level;}-*/; native void setLevel(final Level level) /*- {th...@com.foo.bar.level.defaultlevelbean::level = level;}-*/; } On Oct 13, 12:55 pm, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 13 October 2010 05:30, Nathan Wells nwwe

Re: Enums in overlay types

2010-10-13 Thread Nathan Wells
This is just a idea, but you may need to do the following (note that I skip error checking for brevity here): public Level getLevel() { return Level.valueOf(getNativeLevel()); } public void setLevel(Level level) { setNativeLevel(level.name()); } private native String

Re: GWT Designer

2010-09-23 Thread Nathan Wells
what happens when you try to ping dl.google.com? On Sep 22, 10:03 pm, Noor baken...@gmail.com wrote: I am using the correct version, I am already tried 6 times but in vain. There error is still An error occurred while collecting items to be installed session context was:(profile=SDKProfile,

Re: Using C / CGI for server-side programming still a reasonable thing to do?

2010-09-23 Thread Nathan Wells
It all depends on how productive YOU and your organization will be with any given set of technologies. C is archaic, as is CGI, but they still work. Some things you should know about CGI, though: http://en.wikipedia.org/wiki/Common_Gateway_Interface#Drawbacks The only reason I would see for

Re: GWT Flash Killer (beta)

2010-08-27 Thread Nathan Wells
For those waiting for a tutorial, you can always look at Flash's here: http://tv.adobe.com/show/learn-flash-professional-cs5/ On Aug 27, 3:03 pm, darkflame darkfl...@gmail.com wrote: Very impressive indeed. (A little cheeky too with some of it being very close to Flash's interface). Got a

Re: GWT 2.1 M3 is now available

2010-08-26 Thread Nathan Wells
Thanks Chris! Keep up the excellent work guys! On Aug 25, 3:51 pm, Chris Ramsdale cramsd...@google.com wrote: That's a great point, and we'll be there with M4. There's a Google snapshot repository that we'll be using for the next milestone and subsequent RCs. It's a single repo where we'll

Re: GWT 2.1 M3 is now available

2010-08-25 Thread Nathan Wells
Will milestone releases be put into the maven repo? This wasn't discussed AFAIK so far. I, for one, would really like to see it. On Aug 24, 11:25 pm, Gal Dolber gal.dol...@gmail.com wrote: Great news! 2010/8/25 Chris Ramsdale cramsd...@google.com Back in May, at Google IO, we announced

Re: why we probably won't use GWT for a large UI project

2010-08-10 Thread Nathan Wells
I would look into vaadin. We just looked at it recently, and I think it's a good alternative to straight GWT, but we can't switch because it's a pretty significant change. On Aug 10, 5:23 am, Shawn Brown big.coffee.lo...@gmail.com wrote: I'm looking to get this group's feedback before I present

[gwt-contrib] Re: GRIN scene graph for GWT

2010-07-28 Thread Nathan Wells
I'm a little confused... It seems like the project you link to has more to do with tv's and dvd's... is the browser the screen in this case? Also, what is Javelin? the Grin page links to it but it looks like an non-existent project? On Jul 27, 6:56 pm, ggeorg georgopoulos.georg...@gmail.com

Re: [gwt-contrib] Re: GRIN scene graph for GWT

2010-07-28 Thread Nathan Wells
Thanks for that summary. Very cool project! Nathan Wells On Wed, Jul 28, 2010 at 10:54 AM, ggeorg georgopoulos.georg...@gmail.comwrote: Yes hdcookbook project is a framework that helps seting up a blu-ray java developemnt enevironment (Blu-ray discs use JavaME for building menus based

Re: Sync AJAX ( instead of async)

2010-07-21 Thread Nathan Wells
There is only one case I know of where synchronous should be used: when you want to do a server call and get a response when the user is leaving the page. If you don't use synchronous here, you will fail to get the response from whatever asynchronous call you made when the page exits. On Jul 21,

Re: Sync AJAX ( instead of async)

2010-07-21 Thread Nathan Wells
used by a single user to do a single task. And if sync response is required to meet functional need than we got to do sync. It does not effect scalability of whole app ) Anyway any body used any hack to support sync. (Is JSNI the only way to go?) On Jul 21, 9:10 am, Nathan Wells

Re: Remove event handlers or not?

2010-07-21 Thread Nathan Wells
The answer is no, things should get garbage collected as they would in java. Modern JavaScript engines, ie6 included, use a mark and sweep gc. On Jul 21, 5:12 pm, Thomas Broyer t.bro...@gmail.com wrote: On Jul 22, 12:22 am, jay jay.gin...@gmail.com wrote: OK, I think this now gets into

Event Handler Registrations

2010-07-20 Thread Nathan Wells
What is the purpose of registering event handlers? I originally thought it was to avoid memory leaks, but that doesn't seem to be true, given that the whole point of the handler API was to avoid accidental memory leaks, making so that developers didn't have to worry about it. Is it just to allow

Re: How to simplify your GwtEvent classes and have fun doing it!

2010-06-30 Thread Nathan Wells
And that could easily be resolved by keeping all your types in the same place: EventTypes.PLACE_CHANGE EventTypes.VALUE_CHANGE Could this pattern also be enhanced with a sense of payload? something like the following: public class GenericEventP extends GwtEventGenericEvent.Handler { public

Re: GWT Localistion for Large Enterprise apps

2010-06-11 Thread Nathan Wells
Actually, if it's a concern about bandwidth, it's even more of a moot point than Stefan indicated, since (1) you were going to be putting those labels in regardless of internationalization, and (2) GWT already extracts String constants into a tightly packed bunch of global variables with minified

Re: GWT Design Problem

2010-06-03 Thread Nathan Wells
I would suggest watching Ray Ryan's videos on architecture from Google I/O 2009 and 2010. That couple of hours will help you understand how to solve a lot of your architecture/design problems. On Jun 3, 4:22 am, ping2ravi ping2r...@gmail.com wrote: This post i am not asking a problem but

Re: GWT2.1, validation and roo

2010-06-03 Thread Nathan Wells
I'm guessing that the validation is mostly just hand waving at this point. If you have a specific use case, I would recommend adding a blip at or around that area. On Jun 3, 4:08 am, Stefan Bachert stefanbach...@yahoo.de wrote: Hi, Spring Roo and GWT seems not very stable, yet. I tried to

SafeHTML open sourced?

2010-06-03 Thread Nathan Wells
I just watched RR Google I/O talk and he mentioned that SafeHtml, the library Wave uses for injecting safe HTML into labels was being released to the community. Anyone know where it is? Googling all over the place didn't help :( -- You received this message because you are subscribed to the

[gwt-contrib] Re: 1.3.1 gwt-maven-plugin in 2.1.0 M1 ??

2010-05-20 Thread Nathan Wells
I understand that adding the maven artifact to the svn repo might not have been to help users. It would be nice to know what the GWTers are thinking about this... Is Maven integration on a roadmap? is it just being proposed/tested? It's okay if there's no promises, and if we shouldn't rely on

Re: gwitbus - The GWT Event Bus for non-GWT projects

2010-05-14 Thread Nathan Wells
Is there a reason you're not using the EventBus that was created by the Java community (primarily) for Swing? https://eventbus.dev.java.net/ On May 8, 7:28 am, dan twining dantwin...@gmail.com wrote: Hello everyone, I just wanted to let people know about gwitbus

Re: Server Communication

2010-04-30 Thread Nathan Wells
Not sure I understand the problem there requestBuilder is meant to build an httpRequest you point the request builder at the url of your php, adding parameters as necessary, then parse the response when the response comes back in the callback. On Apr 28, 10:12 pm, İNGİLTERE EMRE BEY

Re: Help me in understanding Binding Concept

2010-04-19 Thread Nathan Wells
Are you referring to Deferred Binding (http://code.google.com/ webtoolkit/doc/1.6/FAQ_Client.html#Deferred_Binding), or Beans Binding (https://beansbinding.dev.java.net/) They are two very different concepts. On Apr 19, 4:26 am, sridevi macherla sridevimache...@gmail.com wrote: Hi All, Can

Re: Rolebased authorisation in GWT

2010-04-19 Thread Nathan Wells
To optimize without the overhead of deferred binding, you might explore using the GWT.runAsync() method. On Apr 16, 10:47 am, Sripathi Krishnan sripathikrish...@gmail.com wrote: To easily hide/disable things from the user if he doesn't have access, we created a custom class 'SecurePanel'

Re: When does a reference to an interface force GWT to generate all its implementations?

2010-04-19 Thread Nathan Wells
It will force GWT to generate javascript for every java class that implements Iterator that is a source class. Typically, source classes are those in the client package, and anything in super source. In any case, how many elements are in your array? If there are not that many, I would just copy

Re: Problem doing POST with REST

2010-04-12 Thread Nathan Wells
Looks like you need to implement the toRepresentation method. ClientResource is not a GWT-provided class, so you may need to explain a bit better what your environment looks like. If ClientResource is a part of a library you're using, you might need to talk to the authors of the library, or find

Re: Documentation for GWT-RPC Format

2010-04-07 Thread Nathan Wells
For deRPC it's JSON. For the older GWT-RPC, it's a custom encoding that is, I think, undocumented. On Apr 6, 10:07 pm, Sripathi Krishnan sripathikrish...@gmail.com wrote: http://code.google.com/p/google-web-toolkit/wiki/RpcDirectEval --Sri On 7 April 2010 08:03, Subhrajyoti Moitra

Re: Menu Item and MVP

2010-03-31 Thread Nathan Wells
I created an EventFiringCommand class for instances like this. Basically, you put the event bus and the event to fire (or the code to generate the event) in the command. The Command should be a presenter- layer object, since it has no need to know about the view (and should be easy to unit test).

Re: Menu Item and MVP

2010-03-31 Thread Nathan Wells
Thomas, I've heard of your approach before, but I'm not clear on the implementation... are you passing the presenter itself into the view? or are you passing instances of event handlers? The difference seems trivial, but in practice (as I imagine it, anyway) seems large:

Re: DualList, showing lists inside a fieldset

2010-03-26 Thread Nathan Wells
I'm not clear on what you're trying to accomplish... do you have some sample code/html that we could start with? On Mar 26, 12:30 am, noob_boy acharya@gmail.com wrote: Will I have to override onRender and do something? Or will I have to create a totally new widget? On Mar 23, 4:58 pm,

Re: Determining Permutation on Server

2010-03-25 Thread Nathan Wells
On Mar 24, 11:42 am, Thomas Broyer t.bro...@gmail.com wrote: On Mar 24, 5:09 pm, Nathan Wells nwwe...@gmail.com wrote: You're correct, in more complex environments where a more robust property provider is necessary, my approach wouldn't do much good. But then, I'm not talking about

[gwt-contrib] ServerMessenger Design Review

2010-03-25 Thread Nathan Wells
Hey, I brought this up in the user's forum, but I forgot to post it here! I'm working on designing a wrapper for all server communications. I have a preliminary design doc here:

Re: Determining Permutation on Server

2010-03-24 Thread Nathan Wells
document.implementation.hasFeature. There's no way to do it on server. Next, code can't be on-fly-generated because ~some~ compilation can take more than 30 seconds, even for just on permutation. Olivier On 23 March 2010 14:41, Nathan Wells nwwe...@gmail.com wrote: Is there a reason you

Determining Permutation on Server

2010-03-23 Thread Nathan Wells
Is there a reason you wouldn't want to determine which permutation to send on the server rather than the client? What I'm thinking is that you could eliminate the need for the selector script entirely if you had a smart enough server. You could even auto generate the code using a linker, I would

Re: Determining Permutation on Server

2010-03-23 Thread Nathan Wells
? On Mar 23, 9:25 am, Ian Bambury ianbamb...@gmail.com wrote: How would you determine if the current code had been cached on the client or not? Ian http://examples.roughian.com On 23 March 2010 14:41, Nathan Wells nwwe...@gmail.com wrote: Is there a reason you wouldn't want to determine

Re: Class Observer/Observable not emulated

2010-03-22 Thread Nathan Wells
Can't speak for the GWT team here, but this could be a reason: http://forums.sun.com/thread.jspa?threadID=5336733 On Mar 20, 10:43 am, jcb jcbpa...@gmail.com wrote: I am very satisfied with gwt, and I am making a simple gwt app with just client side code. I  want to separate model and view,

Re: Using -noserver option in GWT project

2010-03-22 Thread Nathan Wells
Well, since you asked so nicely: http://www.screaming-penguin.com/node/4500 Note that I found this site using Google. The search engine. I typed gwt noserver. You're welcome :) On Mar 20, 11:52 pm, shree bmshej...@gmail.com wrote: Can anyone help me to understand that how to use -noserver

Re: gwt-dispatch, gwt-presenter, mvp4g

2010-03-22 Thread Nathan Wells
I've just started designing something new for client-server communications: https://wave.google.com/wave/#restored:search:group%253Agoogle-web-toolkit-contributors%2540googlegroups.com,restored:wave:googlewave.com!w%252BdUS_imAjA I'd love to get feedback on the ideas I put down there. On Mar

Re: gwt-dispatch, gwt-presenter, mvp4g

2010-03-22 Thread Nathan Wells
not the only person in this case ! :) Do you have a link publicly available ? On 22 mar, 16:10, Nathan Wells nwwe...@gmail.com wrote: I've just started designing something new for client-server communications: https://wave.google.com/wave/#restored:search:group%253Agoogle-web-to... I'd

Re: Specifying -bindAddress 0.0.0.0 with gwt-maven-plugin

2010-03-19 Thread Nathan Wells
Just an FYI for linux users: the workaround above works only if you use single quotes rather than double quotes. Nathan Wells On Tue, Mar 9, 2010 at 1:57 AM, Fotos Georgiadis gfo...@gmail.com wrote: This issue has been already reported in the gwt-maven-plugin and a patch is pending: http

Re: Selenium RC and OutOfMemory DevMode error

2010-03-19 Thread Nathan Wells
I get similar problems, but they are related to restarting the server, rather than refreshing the browser, and only while developing, not in a Selenium server. You might be able to resolve your issue by way of the -noserver option. I haven't yet looked for documentation about it, but it allows

Re: Dropping IE6 support

2010-03-17 Thread Nathan Wells
Dropping IE6 support would be a really great way to fork the GWT project. One would be focused on enterprise applications (w/ IE6 support), while the other would be focused on the more traditional GWT- ey things (like making things go really really fast). And when I say really great way, I mean

Re: GWT Grid vs. SmartGWT grid

2010-03-12 Thread Nathan Wells
I would say you are correct on the disadvantages of SmartGwt. There are those (most notably the author(s)) who I know disagree with me. GWTers recognize the need for a more robust, data-backed table solution, and it's currently in the works, targeted for 2.1. Our company decided to go with

Re: GWT 2.0.x and Maven

2010-03-08 Thread Nathan Wells
You should also be aware of the gwt-maven-plugin here: http://mojo.codehaus.org/gwt-maven-plugin/ That site has some good examples with archetypes to get you up and running. On Mar 7, 7:08 pm, Ignat Alexeyenko ignatalexeye...@gmail.com wrote: Hi, Steve! I'm using maven with GWT2.0 but I'm

Re: Supported Browsers

2010-03-08 Thread Nathan Wells
OK... so what do you need? A list of supported browsers with their relevant market share? IE6-8 FF2-3.6 Safari (not sure on versions) Opera (latest) http://en.wikipedia.org/wiki/Usage_share_of_web_browsers On Mar 6, 9:28 pm, Ken evotur...@gmail.com wrote: I know this was posted over a month

Re: Supported Browsers

2010-03-08 Thread Nathan Wells
Right, so GWT supports multiple browsers what this means is: 1) Significant pain of cross-browser compatibility is eased 2) GWT doesn't prevent you from writing browser-specific code. 3) Regardless of number 1, you still need to know about cross-browser issues, in order to avoid number 2 On

Re: Frameworky, Design Patterny question

2010-03-05 Thread Nathan Wells
It's really a matter of opinion, but I would say there is something to be gained from an explicit distinction between client-server communication and client-only communication. In reality, both are asynchronous forms of communication, so modeling it the way you are isn't wrong. However, server

Re: Specifying -bindAddress 0.0.0.0 with gwt-maven-plugin

2010-03-05 Thread Nathan Wells
Very nice :) I wonder if they realize the hack is there? Nathan Wells On Fri, Mar 5, 2010 at 1:22 AM, Filip Balejko filip.bale...@gmail.comwrote: While waiting for support from gwt-maven-plugin, you can use this elegant solution: logLevelINFO' -bindAddress 0.0.0.0 -logLevel 'INFO/logLevel

Re: silly post about modules

2010-02-24 Thread Nathan Wells
I may be wrong, but I don't think modules have much to do with performance. The reason I say this: At compile time, your modules are all mashed together and made into one big source for the various JS outputs. Using runAsync would definitely have more of a performance benefit than splitting code

Specifying -bindAddress 0.0.0.0 with gwt-maven-plugin

2010-02-22 Thread Nathan Wells
Have any of you maven users out there (or anyone at all, really) figured out how to specify a bindAddress argument in the gwt:run goal? I would like to be able to connect to the gwt server from a VM on my machine, but can't find a way to do that, currently. Is there some way of specifying

Re: Alternative for Class.isAssignableFrom() ?

2010-02-19 Thread Nathan Wells
I think you'll probably end up implementing your own version of a map that would look something like this: MapClass?, ListListener? handledEventClasses; T extends Event ListListenerT get(ClassT eventClass) { ListListenterT result = new ArrayListListenerT for ( EntryClassT, ListListenerT

[gwt-contrib] SelectionEvent protected constructor

2010-02-19 Thread Nathan Wells
Is there a reason SelectionEvent has only a protected constructor? Usually, when GWT APIs seem unnecessarily restrictive, it's because you want us to think before doing something that might be stupid. If that's the case here, can anyone explain why? It's not like it actually prevents me from

Re: MVP question

2010-02-16 Thread Nathan Wells
Let me be clear: I'm not suggesting that any particular version of a presentation layer is the right way. Different environments call for different patterns. What I was suggesting with the app state in the view thing was that if you allow model objects in your view it makes the mistake of managing

Re: MVP question

2010-02-15 Thread Nathan Wells
The main reason (for me) for removing and dependencies on the model from the view is that as you add dependencies, you will also add state. You will then be managing your application state in your view, which is (1) something you would want to use JUnit for, and (2) a major reason for the

Re: [gwt-contrib] Re: Add the ability to change the default HandlerManager of a Widget

2010-02-12 Thread Nathan Wells
Thinking outload... What about allowing ctors to take a HM. The other ctors use the default implementation. If you dont care for a HM then use the ctors without HM in the parameter list. That way The problem with this is that you then have to add HM to the ctor for every extension of

Throwing RuntimeExceptions vs. assert

2010-02-11 Thread Nathan Wells
I've noticed that a lot of GWT code uses asserts rather than RuntimeExceptions (like IllegalArgumentException and IllegalStateException). I would go ahead an follow that template, but I want to be sure I understand why it's done. To that end: 1) Are any other GWT developers using asserts rather

Re: Throwing RuntimeExceptions vs. assert

2010-02-11 Thread Nathan Wells
in production for it. Nathan Wells wrote: I've noticed that a lot of GWT code uses asserts rather than RuntimeExceptions (like IllegalArgumentException and IllegalStateException). I would go ahead an follow that template, but I want to be sure I understand why it's done. To that end: 1

[gwt-contrib] Re: Add the ability to change the default HandlerManager of a Widget

2010-02-11 Thread Nathan Wells
I'd say that if you wanted to implement a HandlerManager stack, it would probably be best to do that internal to the HandlerManager, rather than forcing a Widget to know how events are handled. Assuming that is possible given the current Widget implementations (others more expert than I would

Re: How to configure my web.xml

2010-02-09 Thread Nathan Wells
If you are running in hosted mode or OOPHM, you should only have to restart the web server, not trigger compilation. It should work like this: Change server source file = restart web server Change client source file (hosted mode) = reload page Change any source file (compiled mode) = recompile

[gwt-contrib] Re: Add the ability to change the default HandlerManager of a Widget

2010-02-09 Thread Nathan Wells
As a developer I absolutely agree with Mr. Ryan here... I hope that this isn't taken the wrong way, but it's so difficult to customize any given tool that GWT hands us. The eventual answer always seems to be make a custom build which is extremely hard to sell to anyone other than a GWT developer.

Re: Hiding server-side code from the client?

2010-02-06 Thread Nathan Wells
Please start this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3769q=ServerOnly On Feb 5, 5:00 pm, Gal Dolber gal.dol...@gmail.com wrote: Yes... I just had a case of that... now I understand your problem 2010/2/5 Axel Rauschmayer aurausc...@googlemail.com The

[gwt-contrib] Re: Server-side Class object on client-side

2010-01-29 Thread Nathan Wells
Les, Your methodology ends up using the same basic idea as what I'm currently using: annotations. The problem is that I end up having a class on the client for every procedure on the server. Maybe I could consolidate them into one big class with a bunch of tiny inner classes. In any case, it

Re: [gwt-contrib] Re: Server-side Class object on client-side

2010-01-28 Thread Nathan Wells
Thanks Ian! Nathan Wells On Thu, Jan 28, 2010 at 9:33 AM, Ian Petersen ispet...@gmail.com wrote: Nathan, You might want to have a look at super-source, if it's still called that. If you are willing to put empty definitions of your server-side classes on the client, then you could

[gwt-contrib] Re: Server-side Class object on client-side

2010-01-27 Thread Nathan Wells
don't think that is the case, but I would love to know for sure what can be done and what can't. Thanks, Nathan On Jan 26, 9:30 am, Nathan Wells nwwe...@gmail.com wrote: Sony, I disagree with taking an event-based approach to RPC, but this isn't really the forum for that discussion John, My

[gwt-contrib] Re: Server-side Class object on client-side

2010-01-27 Thread Nathan Wells
for, but when I can do a getClass() on any client-side object without a problem, It's hard for me to see why I can't have an instance of class on the client-side, which has data referencing the server-side. On Jan 27, 2:05 pm, John Tamplin j...@google.com wrote: On Wed, Jan 27, 2010 at 3:57 PM, Nathan Wells

[gwt-contrib] Re: Server-side Class object on client-side

2010-01-26 Thread Nathan Wells
merely extend RemtoteRequestEvent and RemtoteRequestEvent and make sure any member content you add is serializable. Sony On Jan 25, 10:33 am, John Tamplin j...@google.com wrote: On Mon, Jan 25, 2010 at 11:26 AM, Nathan Wells nwwe...@gmail.com wrote: So, is it possible to get this sort

[gwt-contrib] Server-side Class object on client-side

2010-01-25 Thread Nathan Wells
Hey, I would like to be able to reference a server-side class on the client side. My reason for doing this is as a wrapper for RPC that would allow me to specify the Server-Side procedure I would like to execute. For instance, I would like an API like this: interface RpcService { void

Marketized Strings

2010-01-15 Thread Nathan Wells
Is there a way to generate constants based on something other than locale? For instance, we have a webapp that manages Widgets. One of our customers calls it a FooWidget while another calls it a BarWidget. Therefore, we would like to extract it into something like a subinterface of Constants, but

Re: GWT Incubator Status Update and Schedule

2010-01-15 Thread Nathan Wells
John, Is there a way we can get visibility into everything the GWTers are planning for each release (i.e. the roadmap)? If you guys take the position that you don't want to set expectations that won't be met... can you send me a copy personally? I promise not to build up my expectations :) On

Re: RPC vs HTTP requests

2010-01-03 Thread Nathan Wells
I don't agree about the separation of concerns factor with GWT-RPC. GWT has gone to great lengths (to the point of being annoying in my case) to ensure that a developer knows exactly where the code is that is being written. As far as the RPC vs RESTful debate, I think most everyone would agree

Re: SuggestBox MVP problem

2009-12-21 Thread Nathan Wells
The way (I think) we do it is our View has a method: pre HasText getSuggestBox(SuggestOracle oracle) { if (oracle != this.oracle || this.suggestBox == null) //create a new suggest box with the oracle createOrReplaceSuggestBox(oracle); } return suggestBox; } /pre This

[gwt-contrib] Re: now.. afetr GWT 2.0?

2009-12-17 Thread Nathan Wells
+1 to widget improvements +1 to removing listeners - though this is a breaking change on a minor release? +1 to bug fixes - all bugs, especially the ones I've starred :) +1 to data binding + validation On Dec 17, 5:28 am, DanielK dkim...@googlemail.com wrote: Version 2.0 tackled nearly all

Canvas, SVG, VML, and Visualization

2009-12-12 Thread Nathan Wells
I want to draw stuff. Circles, rectangles, dodecahedrons, etc... What are people using for this? I know about the following: Incubator's GwtCanvas. gwt-visualization-api Are there others out there? What's best? Why do you prefer the one you use? Sample code is welcome. Any little problems you've

Re: Extending Splitter related widgets

2009-12-09 Thread Nathan Wells
#ce54ccf9c32b5e67 Nathan Wells On Wed, Dec 9, 2009 at 10:55 AM, lemaiol lema...@gmail.com wrote: Sorry Nathan, which discussion? Have you submitted a link? Thanks, Alberto On Dec 9, 7:20 am, Nathan Wells nwwe...@gmail.com wrote: Well, I don't disagree with you. I just found this discussion, where

Re: Extending Splitter related widgets

2009-12-08 Thread Nathan Wells
Creating and maintaining custom widgets is discouraged Really? I had the opposite impression. I understand why it might be discouraged, but from everything I've heard the GWTers tend to assume that they are only providing basic building blocks in the widgets package. I could be wrong (and I would

Re: Extending Splitter related widgets

2009-12-08 Thread Nathan Wells
Well, I don't disagree with you. I just found this discussion, where Sumit responds to these concerns (a few months ago, even). I suppose that starring the issue he mentions is probably your best course of action. Nathan Wells On Tue, Dec 8, 2009 at 2:48 PM, lemaiol lema...@gmail.com wrote

Re: Is it possible to seamlessly display an ajax spinner for every GWT RPC call?

2009-12-03 Thread Nathan Wells
tin, you might consider using an RPC wrapper... check this library out: http://code.google.com/p/gwt-dispatch/ It takes one approach to this. Another library http://code.google.com/p/gwt-command-pattern/ which I wrote, takes a different approach. Note that I have since abandoned my project

Re: java.util.List

2009-11-23 Thread Nathan Wells
1) Is your class in a client package? by that, I mean does the parent package have a *.gwt.xml file, and does it declare the SmartQueue package as a source package? If you haven't already, you might want to read this: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html along

Re: GWT 2.0 RC1

2009-11-17 Thread Nathan Wells
No thank you... I deal with enough frameworks already, each one trying to force me into more bad assumptions than the last. I am an engineer: as such I need tools, not a prefab framework for mass customization. See this blog for a good run-down of the toolkit vs. framework discussion:

Re: How can I disable context menu in RichTextArea?

2009-11-03 Thread Nathan Wells
Taimur, not sure why Michael solution isn't working for you... try this out: protected void blockBrowserContextMenu(Element elem) { elem.setAttribute(oncontextmenu, return false;); } HTH On Nov 3, 5:22 am, Taimur Mirxa taim...@gmail.com wrote: I have checked the

[gwt-contrib] Compiler Optimization Thought: Class merging

2009-11-03 Thread Nathan Wells
As I was developing this morning, I came across a trade-off that I wasn't happy with. Namely, as I create handlers and other interface implementations in a given class, the implementations create new classes, which adds additional, unnecessary code into the compiled output. One way around this

[gwt-contrib] Re: Compiler Optimization Thought: Class merging

2009-11-03 Thread Nathan Wells
UIBinder more. In the mean time, am I to understand that your @UiHandler annotations should be in your presenter classes? Some samples I've looked at haven't worked this way. Is there a UIBinder example that does this? Nathan Wells On Tue, Nov 3, 2009 at 2:31 PM, Ray Ryan rj...@google.com wrote

[gwt-contrib] Re: Compiler Optimization Thought: Class merging

2009-11-03 Thread Nathan Wells
it to kick in for the exact case you're trying to solve. Scott On Tue, Nov 3, 2009 at 11:43 AM, Nathan Wells nwwe...@gmail.com   wrote: As I was developing this morning, I came across a trade-off that I wasn't happy with. Namely, as I create handlers and other interface implementations

Re: The output directory for the project should be set to /Hello/war/WEB-INF/classes

2009-10-30 Thread Nathan Wells
look at this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3583q=build%20folder vote for it, please. On Oct 26, 1:03 pm, thirdnormal thirdnor...@gmail.com wrote: I am setting up the Hello sample GWT project using the Google Plugin for Eclipse. However when I change the

Re: OOPHM and Server Side Page

2009-10-30 Thread Nathan Wells
In the US, at least, the URL is http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT's On Oct 27, 9:58 am, Thomas Broyer t.bro...@gmail.com wrote: On 27 oct, 15:10, Gabriel guz...@gmail.com wrote: Hi, I am

Re: Can GWT alone make a good application?

2009-10-12 Thread Nathan Wells
I'm not sure that I understand the question, since GWT does very little to nothing on the server side. The little it does is GWT-RPC. Personally, as a Java guy, I would prefer Java to PHP... but it's really a matter of what's practical for your application. Oh, and RPC doesn't make any

Re: Is it possible to send generic types over RPC?

2009-10-10 Thread Nathan Wells
Try this project: http://code.google.com/p/gwt-dispatch/ On Oct 9, 12:17 pm, andreas_b andreas.borg...@gmail.com wrote: Hi. Thanks for your answer. That bug sure seems similar, but some of the comments suggest that my usecase has been solved. Not sure if it's the same error either. Isn't

Re: How can I reference files under war/ in a RemoteServiceServlet?

2009-10-07 Thread Nathan Wells
is this what you're looking for? http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String) On Oct 6, 3:19 am, Andreas Kahl andreas_k...@gmx.net wrote: Hello everyone, I wrote a RemoteServiceServlet fetching XML from a remote Service,

Re: GWT InvocationException with Siteminder's embedded SMPostPreserve INPUT tag

2009-10-06 Thread Nathan Wells
It might help if you posted some sample code, but from what I understand you are doing something like - //user clicked on some control, open cognos report. Frame cognosReport = new Frame(cognosUrl); RootPanel.get(frameContainer).add(cognosReport); Is this accurate? Is this where you're seeing

Re: GWT InvocationException with Siteminder's embedded SMPostPreserve INPUT tag

2009-10-06 Thread Nathan Wells
SiteMinder's configuration. HTH Nathan Wells On Tue, Oct 6, 2009 at 8:32 AM, JohnnyGWT j...@johnw.com wrote: Thanks for responding. I do open a cognos report in the fashion you displyed. It is not making a gwtrpc call. My issue is that subsequent gwtrpc calls to our database (for non- report info

Re: Project Structure in GWT-2.0

2009-09-30 Thread Nathan Wells
I think the issues everyone is describing have been reported and are being discussed. See issue 3583 http://code.google.com/p/google-web-toolkit/issues/detail?id=3583q=maven I would suggest that you all go and star that issue (don't add a comment unless you have something meaningful to add, as

Re: How to determine if a GwtTestCase is necessary

2009-09-18 Thread Nathan Wells
Thanks! That's exactly what I was looking for! Nathan Wells On Fri, Sep 18, 2009 at 7:17 AM, Thomas Broyer t.bro...@gmail.com wrote: On 18 sep, 14:48, Nathan Wells nwwe...@gmail.comhttps://mail.adaptivecomputing.com/zimbra?app=mailview=composeto=nwwe...@gmail.com wrote: What exactly

[gwt-contrib] Re: IsSerializable in 2.0 : deprecate ?

2009-09-10 Thread Nathan Wells
Could someone please update the article at http://code.google.com/webtoolkit/doc/1.6/FAQ_Server.html#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable to indicate that IsSerializable is deprecated (or de facto deprecated, or will be deprecated, or whatever)? When I read this

[gwt-contrib] Re: IsSerializable in 2.0 : deprecate ?

2009-09-10 Thread Nathan Wells
Thanks Ray, that's comforting to hear, after having built an application on the assumption that IsSerializable is a recommended way to do gwt-rpc. Not that it would be a huge problem... just probably a day of refactoring and adding @SupressWarning annotations. Thanks again :) Nathan Wells

Re: Designer

2009-09-09 Thread Nathan Wells
Danny, (1) This is an English forum. If you want people to respond to your request, please at least post a computer-assisted translation. (2) This is a developer forum. If you are looking for a graphic designer, please use the many many sites available for this. If there aren't any specific to

Re: Making a widget as big as possible (but no bigger!)

2009-09-08 Thread Nathan Wells
grateful. Ian http://examples.roughian.com 2009/9/7 David Given d...@cowlark.com Nathan Wells wrote: Using absolute positioning: This method requires that (1) the container must have dimensions set (i.e. width: x% or px or whatever). (2) the child box has position:absolute

Re: Making a widget as big as possible (but no bigger!)

2009-09-08 Thread Nathan Wells
I think the main requirement (that often get missed) is that the parent element must have a width and height set. Nathan Wells On Tue, Sep 8, 2009 at 10:58 AM, David Given d...@cowlark.com wrote: Nathan Wells wrote: I realize this example is rather naive, but I think we can use

Re: Making a widget as big as possible (but no bigger!)

2009-09-07 Thread Nathan Wells
Using absolute positioning: This method requires that (1) the container must have dimensions set (i.e. width: x% or px or whatever). (2) the child box has position:absolute set. If the above are true, you simply set the left, right, top, bottom, width and height attributes of the child. Note

  1   2   >