Re: MVP dialog boxes

2011-04-07 Thread Ben Imp
allowing me to mock it out for testing purposes, since both the ApplicationFactory and the ChooseOneDialog are only known through their interfaces. The bundle itself is actually a concrete class, but all it does is contain interfaces, so it doesn't need mocking up. -Ben On Apr 7, 7:14 am, Terry

Re: MVP dialog boxes

2011-04-07 Thread Ben Imp
of functionality, which may or may not matter. -Ben On Apr 7, 9:08 am, Terry Bachard terram...@gmail.com wrote: Thanks for response. So you basically have a presenter invoking another presenter? Currently, the only way I communicate with other presenters is via events; they know nothing of each other

Re: Differences between Firefox and IE7

2011-04-07 Thread Ben Imp
http://code.google.com/p/google-web-toolkit/issues/detail?id=5612 -Ben On Apr 6, 11:23 am, Vicky solid@gmail.com wrote: I was going through the tutorial available on GWT website for StockWatcher application and testing the application as described in Step4: Manage Events on the Client

Re: Show progress of RPC call

2011-04-07 Thread Ben Imp
I've seen something like this. We kick off a long-running process, then have the browser ask for updates from the server every X seconds and update the user. This requires storing the progress bits in the session, or some other persistent store, which I generally avoid doing, but it works. -Ben

Re: Hint Text

2011-03-31 Thread Ben Imp
You could set the title attribute of the text field. http://www.w3schools.com/tags/att_standard_title.asp -Ben On Mar 31, 8:57 am, SVR svr...@gmail.com wrote: Ho to display hint text (like a date format, currency symbol etc) to a text field. Is there any built in feature to do this in GWT? I

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Ben Imp
method. -Ben On Mar 30, 10:35 pm, Vhann3000 vhann3...@gmail.com wrote: On Mar 30, 12:26 pm, Vhann3000 vhann3...@gmail.com wrote: Second, I may very well be wrong, but the way I understand it, if I don't override the ScrollPanel's iterator(), then it will return the VerticalPanel

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Ben Imp
might suggest reading up on the MVP pattern, which would help abstract away the details of the panels entirely. -Ben On Mar 31, 12:02 pm, Vhann3000 vhann3...@gmail.com wrote: On Mar 31, 11:53 am, Vhann3000 vhann3...@gmail.com wrote: 2- When the Button gets clicked, it should call

Re: 2.1 Version of documentation? / CellTable sorting

2011-03-30 Thread Ben Imp
http://code.google.com/webtoolkit/doc/2.1 You can twiddle the version in the upper left by clicking on it. -Ben On Mar 30, 11:12 am, cri chuck.irvine...@gmail.com wrote: We are currently at version 2.1 of GWT and I'm trying  to implement sorting of CellTables. The online (2.2) GWT

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-29 Thread Ben Imp
You shouldn't need to override any methods just to add scrollbars. Im curious as to why you want to do that. You should be able to just nest the panels, as you have done. -Ben On Mar 29, 12:40 am, Olivier Diotte oliv...@diotte.ca wrote: Hi, I am new to GWT (and not that expert in Java

Re: Returning URL from RPC

2011-03-29 Thread Ben Imp
I suppose the obvious thing to investigate would be whether ???/ myfolder/report.html is visible to http requests. That will depend on where exactly your code is writing this HTML file to and whether your app server and/or web server allow reading from that location. -Ben On Mar 29, 10:26 am

Re: RPC Problem with HashMap containing ArrayList Value

2011-03-28 Thread Ben Imp
can't get any more generic than that. -Ben On Mar 28, 3:58 pm, SergeZ comp1...@gmail.com wrote: What it means ? Is it bad or not ? I see nothing bad or just nothing that takes my attention to that ! Can you explain your point about serialization policy in more details ? What did you mean

Re: ORM or JDBC?

2011-03-23 Thread Ben Imp
and be done with it. Toplink has been my only real experience with such things, however, so perhaps I just got stuck with a crappy ORM. -Ben On Mar 23, 3:45 am, csaffi csaff...@gmail.com wrote: Hi everybody, I would like your opinion regarding the use of ORM in web applications built with GWT

Re: Working with third party client libraries in gwt

2011-03-23 Thread Ben Imp
is due to an attempt to use them on the client. -Ben On Mar 23, 8:27 am, Prashant er.prashants...@gmail.com wrote: Hi Guys, I'm very new to GWT and have basic experience in web development. Just started learning gwt and trying to build a web application  which would use client libraries

Re: problem with chart representation

2011-03-21 Thread Ben Imp
Perhaps if you provided details, people here might have something to go on to try and help you. As it stands, my only advice would be to use the IE developer tools and inspect the DOM elements where things look different. http://msdn.microsoft.com/en-us/library/dd565628%28VS.85%29.aspx -Ben

Re: Why does History.newItem clear my screen completely?

2011-03-21 Thread Ben Imp
As far as I am aware, adding a new history token only fires history events. Unless you are listening to them, it shouldn't do anything. I haven't used the GWT MVP framework, though. If you are using that, this may be the result of some baked-in behavior. -Ben On Mar 21, 10:11 am, Navigateur

Re: GWT menu item text alignment issue

2011-03-18 Thread Ben Imp
It looks like there is a setHTML method on the MenuItem. I'd imagine you could use that to put a table element in there, with a left and right cell, and then differently align the contents of those. I can't say I've tried to do this, mind you, but it seems like it should work. -Ben On Mar 18

Re: GWT-RPC Pass array of Serializable objects

2011-03-18 Thread Ben Imp
the array you will have a hard time tracking down where it gets used. All remote methods in the GWT application I maintain use a result object. I have found it to be well worth the extra bit of code and effort in order to gain the benefits. -Ben On Mar 18, 12:50 pm, ss.require ss.requ

Re: Need Help for gwt-rpc mysql database connectivity

2011-03-15 Thread Ben Imp
curious as to why OP can't see the logs in his server, though. If it happens in development mode, odds are the server console is right there in eclipse, full stack trace and all. -Ben On Mar 15, 7:20 am, Sean slough...@gmail.com wrote: This is more for Ben then the original poster, but you can make

Re: GWT application requires Plugin to be installed in browser

2011-03-15 Thread Ben Imp
/doc/latest/DevGuideDeploying.html -Ben On Mar 15, 7:57 am, BhaskerT bhasker.i...@gmail.com wrote: Hi All, I am new to GWT(2.0) development. Problem statement: While accessing a GWT based web application, IE ask me to install GWT plugin. Solution: If i instal the plugin then it works perfectly

Re: Getting child window(s)

2011-03-14 Thread Ben Imp
You can hold onto a handle in pure JS. http://www.w3schools.com/jsref/met_win_open.asp I don't believe GWT gives you a way to access this handle, however. -Ben On Mar 14, 2:19 pm, Ice13ill andrei.fifi...@gmail.com wrote: Is it possible to get a handle to the windows opened by a certain

Re: Need Help for gwt-rpc mysql database connectivity

2011-03-14 Thread Ben Imp
I am quite curious how it is that you can not have access to the server side stack trace. I suspect the answer to your question lies there. -Ben On Mar 14, 7:04 am, Dilip Rathod rathod...@gmail.com wrote: I can gwt-rpc communication with server sucessfully. but when i want to interact

Re: Cannot change CSS in dev mode

2011-03-04 Thread Ben Imp
I cannot say I've observed the same behavior. The browser may be caching your CSS, though. Hit refresh a few times and I'd wager you will see your changes. -Ben On Mar 4, 7:40 am, Andrey mino...@gmail.com wrote: When running GWT app in dev mode static web resources such as css- files cannot

Re: Is the Issue 5320 resolved ?

2011-03-04 Thread Ben Imp
The issue tracker is public. http://code.google.com/p/google-web-toolkit/issues/detail?id=5320 -Ben On Mar 4, 12:44 am, Deepak Singh deepaksingh...@gmail.com wrote: -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group

Re: Best practice for to maintain Big project

2011-03-04 Thread Ben Imp
that need to go out. -Ben On Mar 4, 12:31 am, Jiunarayan jiunara...@gmail.com wrote: What I meant was when the project is compiled and you are project is ready. But during maintenance, for a small changes the whole code has to be recompiled again instead for a particular change. Is there a way

Re: Issues with IE GWT compiled javascript is 11MB

2011-03-04 Thread Ben Imp
I believe GWT already does that. The browser should only be loading one of the permutations. You should look at code splitting. Cutting out code you dont need couldn't hurt either. -Ben On Mar 4, 11:18 am, sridevi macherla sridevimache...@gmail.com wrote:  Is there any mechanism to generate

Re: Development mode vs web mode URL discrepancy

2011-03-04 Thread Ben Imp
GWT has the concept of a history token to preserve your application's context. You shouldn't need to be parsing the URL. http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html -Ben On Mar 4, 11:20 am, cri chuck.irvine...@gmail.com wrote: I saw another post

Re: Development mode vs web mode URL discrepancy

2011-03-04 Thread Ben Imp
Oh, I missed the bit where you are accessing resources outside of the GWT app. Icky ... I punt. -Ben On Mar 4, 12:09 pm, Ben Imp benlee...@gmail.com wrote: GWT has the concept of a history token to preserve your application's context.  You shouldn't need to be parsing the URL. http

Re: Database jdbc

2011-03-03 Thread Ben Imp
Server-side GWT is just plain old java. I'd suggest reading up on the JDBC documentation. http://download.oracle.com/javase/6/docs/technotes/guides/jdbc/ -Ben On Mar 3, 3:14 pm, Mohammed Magdi moh_ma...@acm.org wrote: yes in Java thanks magdi On Thu, Mar 3, 2011 at 6:06 PM, Juan Pablo

Re: User roles in GWT applications

2011-03-02 Thread Ben Imp
good idea. A clients words are not to be trusted. -Ben On Mar 2, 7:31 am, Lukasz l.plotni...@googlemail.com wrote: I'm doing it by providing a self-implemented UserManager object on the client. It contains the currently signed in user and provides methods for access or role checks e.g

Re: Styeling a ListBox

2011-03-02 Thread Ben Imp
their appearance. -Ben On Mar 2, 9:27 am, K upadhya...@gmail.com wrote: Hi, I wish to change the way ListBox looks using CSS - Change the border color - Tried using the usual border-color:red. Worked on Firefox. No effect on IE Still the standard blue color - Change the Color of the arop down

Re: Hosting web application on production server.

2011-03-02 Thread Ben Imp
I'm pretty sure IIS can't handle Java servlets, at least not out of the box (someone please correct me if I am mistaken). I'd want to be testing on the same application server as I was deploying on anyway. -Ben On Mar 1, 11:07 pm, dg damaya...@bitscrape.com wrote: I will develop a web

Re: User roles in GWT applications

2011-03-02 Thread Ben Imp
what they should be displaying. -Ben On Mar 2, 11:10 am, zixzigma zixzi...@gmail.com wrote: could you please explain, why the check on client-side is necessary, if the server does the check ? and on the client-side, do you mean having a UserRoles object, which contains user's permission

Re: Method Reference Delegate or so

2011-02-28 Thread Ben Imp
for such a thing). As it was notified of each success, it could kick off the next. Alternatively, you might try kicking them all off, and whenever you get a pokeback from one of your children you could see if they are all done. -Ben On Feb 26, 2:43 pm, andi andi.ba...@googlemail.com wrote: Hi

Re: Can I set some piece of code to be ignored by GWT compiler

2011-02-25 Thread Ben Imp
There is GWT.isClient(). I'm not certain if the compiler will ignore the unused chunks, however. -Ben On Feb 25, 12:22 am, lalit lalit.bh...@gmail.com wrote: I know that certain methods in my class are never going to be used in client side. They are specific to server. Can I somehow notify

Re: Compiling GWT project from command line

2011-02-22 Thread Ben Imp
}/ pathelement location=${dist}/${proj.jar}/ pathelement location=${dist}/framework.jar/ /classpath /java -Ben On Feb 22, 10:45 am, shahid shahidza...@gmail.com wrote: I have a GWT project that I created using the WebAppCreator

Re: best practice for callbacks

2011-02-21 Thread Ben Imp
, thats significantly less elegant, but it would still work. -Ben On Feb 19, 9:20 am, frank t3devt...@googlemail.com wrote: Hi, I have the following Problem. From many  different methods (e.g. a Clickhandlers) I call the same async service on the server. In the callback I don´t have access

Re: Split points for method having return type other than void

2011-02-21 Thread Ben Imp
, and call a method on it with the result when its ready. -Ben On Feb 21, 1:08 pm, Deepak Singh deepaksingh...@gmail.com wrote: Hi, How to set code splitting for entire body of methods with return type other than void as void onSuccess() will not allow to return anything? public Object

Re: Serious Bug or some Type Erasure I don't understand ???

2011-02-21 Thread Ben Imp
It seems like you are using a singleton event bus. I would assume all three entities are registered with that bus to handle the SelectEntitiesEvent. If thats the case, then I don't see why all three wouldn't have their listeners triggered. The event they registered for did get fired. -Ben

Re: Serious Bug or some Type Erasure I don't understand ???

2011-02-21 Thread Ben Imp
or in the translated JavaScript. As you mention, generics in Java work on erasure, which means they don't really exist at runtime. You would have to make them separate classes in order for the event bus to treat them as distinct. http://en.wikipedia.org/wiki/Generics_in_Java#Type_erasure -Ben On Feb 21, 2:29

Re: Split points for method having return type other than void

2011-02-21 Thread Ben Imp
The code split would likely still work, depending on how you reference things. Try it and see. -Ben On Feb 21, 2:51 pm, Deepak Singh deepaksingh...@gmail.com wrote: @Phillipe, Void? Could you pls tell about this. It is also not recognised by program. @Ben So if i put some lines

Re: How about do the UI in the Java-Swing way?

2011-02-17 Thread Ben Imp
Sounds like an awful lot of extra work to simply avoid learning CSS. Don't get me wrong, CSS is kind of clunky, but I find it hard to imagine that this new solution would be significantly more elegant. -Ben On Feb 16, 8:31 pm, Kurtt kurtt@gmail.com wrote: GWT 2.2 introduces the Canvas

Re: Production bugs that don't exist in development mode

2011-02-17 Thread Ben Imp
. -Ben On Feb 16, 10:13 pm, Sky myonceinalifet...@gmail.com wrote: I created a GWT issue for this here:http://code.google.com/p/google-web-toolkit/issues/detail?id=6036 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group

Re: SuggestBox can't set Oracle

2011-02-17 Thread Ben Imp
I find it awkward as well. I have worked around it by providing a delegating oracle on creation of the suggest box. Not exactly ideal, but a rather simple fix. -Ben On Feb 17, 1:29 pm, Eric edimickeast...@gmail.com wrote: So, SuggestBox.setOracle(SuggestOracle oracle) is private.  I can't

Re: radio button listener/handler issue on IE8.

2011-02-15 Thread Ben Imp
Use Firebug Lite, or IE's development tools to look at the names on the elements. That should give you the answers. -Ben On Feb 14, 2:24 pm, NAARAYANA REDDY NANDIGAMA nandigam...@gmail.com wrote: Yes it was assigned to different names. Here is the logic to set group names. String groupName

Re: GWT runasync

2011-02-15 Thread Ben Imp
into the world? -Ben On Feb 15, 5:05 am, Gambo mark.vanv...@gmail.com wrote: Hi Ben, thanks a lot for your quick reply. I have one question(very basic :-)) how do I put them in a list without instantiating them? Just adding strings of the class names and later on using Class.forName(test

Re: replacement for String.format in GWT?

2011-02-15 Thread Ben Imp
If you are trying to format a date, which appears to be the case, you can use DateTimeFormat. -Ben On Feb 15, 12:36 pm, Magnus alpineblas...@googlemail.com wrote: Hi, I need String.format: String r = String.format(%2d %2d:%2d:%2d,d,h,m,s); Since GWT does not support this method: What can

Re: GWT runasync

2011-02-14 Thread Ben Imp
in a callback so it can get a handle on the view when its done loading. -Ben On Feb 14, 10:09 am, Gambo mark.vanv...@gmail.com wrote: Hi there, I have a question regarding GWT's runAsync feature. We have a complete list of all views within the application. What I understand each time a user

Re: is using DivElement instead of Label recommended?

2011-02-14 Thread Ben Imp
Sounds like some Cell Widgets might be a perfect fit for you. http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html -Ben On Feb 14, 8:51 am, denis56 denis.ergashb...@gmail.com wrote: Hello, I wonder if it is a usual practice to use Element objects instead of Widgets in GWT

Re: radio button listener/handler issue on IE8.

2011-02-14 Thread Ben Imp
Did you give each of your radio button sets different names? Radio button groups are defined by their names. -Ben On Feb 13, 2:13 pm, Dallas007 nandigam...@gmail.com wrote: Hi, I have installed IE8 yesterday and Win XP OS. The problem is radio button selection is not working properly. I

Re: IE warning message in web mode

2011-02-11 Thread Ben Imp
. A web application without the web bit sounds quite silly. It seems like something a plain old desktop app is better suited for. -Ben On Feb 10, 3:39 pm, othman othmanelmou...@gmail.com wrote: unfortunately our gwt app is client only and we don't use any server side functionality.our app

Re: IE warning message in web mode

2011-02-10 Thread Ben Imp
get the same warning. -Ben On Feb 10, 2:27 pm, othman othmanelmou...@gmail.com wrote: Hello, I'm using GWT 2.1 and IE to test the default hello world GWT app. I compile the default Hello world GWT app and then go to HTML file and open it with IE. I get a red warning message Your web browser

Re: IE warning message in web mode

2011-02-10 Thread Ben Imp
You could run a local web server. I always deploy my application to a local Tomcat server for testing. -Ben On Feb 10, 3:09 pm, othman othmanelmou...@gmail.com wrote: Thanks Ben, So there is no solution other to accept and live with this security restriction in IE? On Feb 10, 8:52 pm, Ben

Re: Developing a large scale GWT app and MVP

2011-02-07 Thread Ben Imp
I have an application factory that gets passed into all of my presenters. This factory has methods on it for creating the various kinds of popups that will occur in the application, and covers them all in a nice clean interface. Seems to work quite well. -Ben On Feb 5, 10:57 pm, TigerFox

Re: how can i add my voice in my gwt application as time of registration

2011-02-03 Thread Ben Imp
I don't believe a web browser will let you access anything like a microphone. A flash plugin can access such things, but thats about it. -Ben On Feb 2, 11:08 pm, dhruti dhruti...@gmail.com wrote: hi i m gwt designer. i working with app in which i want to enroll users voice at the time

Re: Calculate age

2011-02-03 Thread Ben Imp
Indeed. The alternative of sending all date operations to the server is ... incredibly inconvenient at best. -Ben On Feb 3, 7:20 am, Jeff Schwartz jefftschwa...@gmail.com wrote: I think you will find that you are not alone in your opinion regarding using deprecated methods and that you

Re: How to add datetimepiker in GWT

2011-02-03 Thread Ben Imp
As far as I am aware, there is no such widget. You will have to make one. -Ben On Feb 3, 3:24 am, sujit mishra sujit.u...@gmail.com wrote: Hi ,      I need help regards datetimepicke widget . I am using GWT but not found any widget that able to capture date and time both at a      time

Re: How to add datetimepiker in GWT

2011-02-03 Thread Ben Imp
I think you missed the bit about capturing the time portion as well. -Ben On Feb 3, 8:47 am, Jeff Schwartz jefftschwa...@gmail.com wrote: Using UiBinder in some ui.xml file: ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder     xmlns:g=urn:import:com.google.gwt.user.client.ui     xmlns:dp

Re: History.replaceItem?

2011-02-03 Thread Ben Imp
. -Ben On Feb 3, 12:23 pm, Jason jason.siem...@namsys.com wrote: Before I start, I'm working with GWT 2.1.1 In the example below the user goes to a list, pages through results, views a record and then clicks Back.  Everything works as expected, the user is viewing page 4, clicks a row and views

Re: Formatting data - best on the server, or client?

2011-01-31 Thread Ben Imp
. The server generates no HTML, which is good, as I have found that to be extremely painful on most occasions. -Ben On Jan 30, 6:42 pm, tachoknight tachokni...@gmail.com wrote: Hi all- I am writing a site that generates an HTML-based report that uses some pretty complex table formatting (think

Re: GWT Web Application testing...

2011-01-28 Thread Ben Imp
done a very limited amount of full on integration testing, however. Most of our testing is in the form of unit tests. -Ben On Jan 28, 10:32 am, SBParks scott.b.pa...@gmail.com wrote: Folks,  Hello. I'm new to the group, but I've been working with a GWT based application for roughly 4 months now

Re: Use hosted mode existing tomcat server and not with embadded jetty server

2011-01-28 Thread Ben Imp
Its in the FAQ. In fact, its the first result when you search for Tomcat on the GWT site. I highly recommend reading through the all of the docs there. http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT%27s -Ben

Re: GWT Activities, Places with Event Bus ??????

2011-01-20 Thread Ben Imp
Events allow you to synchronize two concurrently active presenters. If you never have more than one presenter active in your application at a given time, then this becomes less of an issue. -Ben On Jan 20, 8:01 am, ailinykh ailin...@gmail.com wrote: Why do you need events? Each Activity

Re: Out of stack space

2011-01-20 Thread Ben Imp
Sounds like classic infinite recursion to me. I can't see the code, but if your service call simply calls itself again on failure, and you don't track a failure count anywhere, I could see that spinning around infinitely and blowing up. -Ben On Jan 20, 1:24 pm, mike b mbaker.t...@gmail.com

Re: Unable to set the text of a HTML element with a string, advice Please!!

2011-01-20 Thread Ben Imp
You never seem to actually set the 'tml' variable to anything besides null, so I'm guessing that's your issue. -Ben On Jan 20, 3:45 pm, AmaraSat amara.forthewo...@gmail.com wrote: static HTML tml = null; String HeatParametersString = ; for (int i = 0; i Properties.length; i

Re: GWT Activities, Places with Event Bus ??????

2011-01-19 Thread Ben Imp
haven't used the place/activity thing yet, so I don't know how those work exactly, but I would imagine there should be a way to hand them an application resource bundle on creation. -Ben On Jan 19, 7:59 am, SergeZ comp1...@gmail.com wrote: Hello everybody! Can someone help me to sort things out

Re: DateTimeFormat

2011-01-19 Thread Ben Imp
Welcome to the wonderful world of Java dates. Dates without a time component don't exist in this strange place, so the simplest solution I've found is to just create your own date class and store three integers. -Ben On Jan 19, 2:46 am, Sreekanth Nambiar pk.sreeka...@gmail.com wrote: Hi

Re: Client en Server side validation

2011-01-19 Thread Ben Imp
directions. I should mention that most of the applications I have dealt with are internal to an organization, so a rogue client isn't as big of a risk there. -Ben On Jan 19, 2:06 pm, Jeroen Wolff jeroen.wo...@gmail.com wrote: Hi, there has been a lot of discussion already in this group about

Re: GWT best practices and GUI libraries

2011-01-18 Thread Ben Imp
a standard java swing application. As long as Google supports it (which, admittedly, is a bit of a worry), I will be happy to use it. Probably. Well, I might be angry, but that likely wont be GWTs fault. -Ben On Jan 18, 4:55 am, Kristjan kristjan.ko...@gmail.com wrote: Hi... I am also interested

Re: Issues creating new web application project

2011-01-18 Thread Ben Imp
It looks like you either have an old version of Java installed (pre 1.5) or (more likely) your Java compiler compliance settings in eclipse are set up to not allow 1.5+ syntax. -Ben On Jan 18, 5:38 am, Jamie jamie.ma...@skybet.com wrote: When creating a new web application project I get

Re: GWT project layout question featuring git, maven and 100 developers

2011-01-18 Thread Ben Imp
with that much code monkey? -Ben On Jan 18, 11:15 am, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: Hi, thanks for your interest. Unfortunately we already have all developers :) My question is only technology related and not workforce related :) Sorry Cheers, Raphael On Tue, Jan

Re: Who handles UI rules...the Activity?

2011-01-17 Thread Ben Imp
in an MVP design is the presenter. All application logic resides there, and its only knowledge of the outside world is via the set of interfaces handed to it by whatever constructs your presenters. -Ben On Jan 17, 5:50 am, Jeroen Wolff jeroen.wo...@gmail.com wrote: Hi, i try to figure out where

Re: onKeyPress called twice on a single keypress

2011-01-17 Thread Ben Imp
. -Ben On Jan 17, 5:40 am, . . paulton...@gmail.com wrote: Hi, i am writing a customized suggestionBox which works on RichTextArea. On debug, as i press a single key on keyboard, it calls the SimpleEventBus.class and the handlers ArrayList is filled with 2 handlers causing the onKeyPress method

Re: Right different handler code on same button

2011-01-14 Thread Ben Imp
You could attach two ClickHandlers to it, instead of subclassing the widget and overriding methods. I generally try to avoid subclassing a widget if at all possible. -Ben On Jan 14, 4:48 am, Vik vik@gmail.com wrote: Hie I have an address component which is a vertical panel with state

Re: Right different handler code on same button

2011-01-14 Thread Ben Imp
(of all kinds, not just ClickHandlers) to the UI elements instead seems to be a much more sane way of managing events, and allows you to put your view behind an interface, so your application logic is separate, testable, and way prettier. And as programmers, we should be all about the pretty. -Ben

Re: GWT External JARs and use on the Client Side

2011-01-14 Thread Ben Imp
And, as a minor addendum, the code in those jars can only use the parts of the JRE that GWT has implemented. Hence why I cannot have the Apache commons utils on the client, even though the source is available. -Ben On Jan 14, 1:00 pm, nacho vela.igna...@gmail.com wrote: You can include JARs

Re: Extend AsyncCallback or ServiceInterfaceProxyGenerator

2011-01-14 Thread Ben Imp
I'd recommend simply extending the AsyncCallback. Its undoubtedly more work up front, but its also not a hack, which is a Good Thing. Its easy to understand, and future maintainers of the program will thank you for that. Also, karma will likely stab you in the eye if you don't. -Ben On Jan 14

Re: How to Programmatically go to the previous place (back), without explicitly specifying the name of the place ?

2011-01-14 Thread Ben Imp
I'm not sure how it works with Places (haven't used them), but with normal GWT history its just History.back() and you're done. -Ben On Jan 14, 4:24 pm, zixzigma zixzi...@gmail.com wrote: how can we programmatically go to the previous place, similar functionality like browser back button

Re: Can I build a graphic widget on server side and send it to the client?

2011-01-13 Thread Ben Imp
. The client would then inspect the data to figure out what it needs to build. -Ben On Jan 13, 10:48 am, Jack giacomo.gali...@gmail.com wrote: Hi all. I'm using GWT 2.0 In my application I have to render on the browser an html form with a lot of input widgets such as textfield, checkbox, and so

Re: Window 7 IE8 Drop Down List Boxes open problem

2011-01-13 Thread Ben Imp
I am running IE8 / Windows 7 and have not had any issues with the GWT combo boxes. -Ben On Jan 13, 1:49 pm, skippy al.leh...@fisglobal.com wrote: Any chance anyone else has this problem? On Dec 15 2010, 12:46 pm, skippy al.leh...@fisglobal.com wrote: This is atill a problem. However

Re: GWT External JARs and use on the Client Side

2011-01-13 Thread Ben Imp
The GWT compiler requires the Java source for any class you want to use on the client side, as part of its job is to translate that Java code to JavaScript. -Ben On Jan 13, 3:20 pm, Ryan Rathsam rrath...@gmail.com wrote: Hi All, Have a quick question. We're currently trying to use some

Re: where is the best place to put client-side global constants ?

2011-01-12 Thread Ben Imp
of code. You may wish to consolidate all of that into a XxxPlaceTokenizer class who will live and breathe only for constructing and interpreting those tokens. I apologize for my outburst. My sister was bitten by a duplicate constant once. [/unwanted-design-comments] -Ben On Jan 12, 1:44 pm

Re: GWT Compiler Output and Virus Scanners

2011-01-11 Thread Ben Imp
I've experienced similar issues with virus scanners and developing in general. I've found that just telling the scanner to ignore the eclipse folder and the workspace folder will take care of pretty much everything. -Ben On Jan 10, 12:16 pm, GeeDee daniel.wh...@gmail.com wrote: Hi, We've

Re: UiBinder, designer, spring roo which one

2011-01-11 Thread Ben Imp
.Net days, which will now go by the name Dark Times. -Ben On Jan 11, 9:40 am, dreamer venugopal.vasire...@gmail.com wrote: Hi, I am reading documentation and struck at reading as I could not decide which approach is best to develop GWT app. Sure as time goes these things will be streamlined

Re: HandlerManager is deprecated and theres no removeHandler(...) method at SimpleEventBus class

2011-01-10 Thread Ben Imp
cleaned up. -Ben On Jan 10, 8:40 am, Mike mikematsum...@gmail.com wrote: Hi everybody, This is my scenario. My app is designed using Tabs concepts. Sometimes the Tab 1 wanna be notified about something that happens on Tab 2-N. For that, I have a singleton instance of HandlerManager. Now

Re: History, Is An Alternate Implementation Possible?

2011-01-06 Thread Ben Imp
to represent the current top item on all of the stacks. Or perhaps some other method that additional caffeine intake might bring about would work as well. -Ben On Jan 6, 7:14 am, cmarsh...@avenue100.com cmarsh...@avenue100.com wrote: We have been experimenting with GWT and with the MVP design

Re: GWT Cookies returning null

2011-01-06 Thread Ben Imp
It looks like you aren't setting the expiry date on the cookie. I believe by default those expire when the session dies. That might be your issue. -Ben On Jan 6, 7:23 am, Noor baken...@gmail.com wrote: I am becoming almost mad with the GWT Cookies, in one of my application I set the cookie

Re: Does SuggestBox.setOracle(SuggestOracle) have to be private?

2011-01-06 Thread Ben Imp
, otherwise explosions aplenty. -Ben On Jan 6, 10:56 am, Patrick Tucker tucker...@gmail.com wrote: Thats a good idea, I will look into doing that instead. The SuggestBox isn't going to have any problems with the SuggestOracle being changed even though, if implemented this way, it doesn't know

Re: Logging in shared code

2011-01-05 Thread Ben Imp
GWT.isClient(). http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/core/client/GWT.html -Ben On Jan 5, 9:02 am, nacho vela.igna...@gmail.com wrote: I have a similar issue with translations in shared code. Is there any way to know if the code is running on server side

Re: DatePicker now starting with Monday, used to be Sunday

2011-01-05 Thread Ben Imp
I experienced this as well. I noticed it right after I upgraded to GWT 2.1, so I assume that must have done it. I've ignored it so far, as no one in my organization seems to care, but I must admit, I am curious as to the cause. -Ben On Jan 5, 9:51 am, Dan danpr...@gmail.com wrote: My

Re: How to delete the time spinner on CellView

2011-01-05 Thread Ben Imp
I believe if you additionally set the row count to 0, it will stop the spinner. -Ben On Jan 5, 10:56 am, Néstor Boscán nesto...@gmail.com wrote: Hi When I add a new CellView Widget without any rows I get a time spinner inside the CellView. Is there a way to eliminate the time spinner

Re: Development Mode not displaying properly

2011-01-05 Thread Ben Imp
click events, although at one point I did get inconsistent key press events. The issue still lives on: http://code.google.com/p/google-web-toolkit/issues/detail?id=5557 So, yes, some of the browser inconsistencies are still passed down to we lowly programmers to deal with. -Ben On Jan 5, 12:36

Re: SelectionCell is displaying empty combo box

2011-01-04 Thread Ben Imp
Perhaps you just snipped out the code, but in the bit you posted here I don't see anything adding any strings to the picUps ArrayList. The selection cell uses that array to build its options, so if that collection is empty, then that would explain your empty combo box issue. -Ben On Jan 4, 10

Re: Message: For security purposes, this type will not be deserialized.

2011-01-04 Thread Ben Imp
I'd hazard a guess that it means that your GameStatus class doesn't implement the IsSerializable interface, which GWT requires of objects you try to send across the wire. -Ben On Jan 4, 11:35 am, Magnus alpineblas...@googlemail.com wrote: Hi, I receive the following error message: Server

Re: Message: For security purposes, this type will not be deserialized.

2011-01-04 Thread Ben Imp
Serializable should work, post GWT 1.4 anyway. http://code.google.com/webtoolkit/doc/1.6/FAQ_Server.html#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable Check the Javadoc for that exception and you should see a list of the other possible things that could cause it. -Ben On Jan

Re: client using older version of gwt

2011-01-04 Thread Ben Imp
, and our typical deployments are during hours when users are not in the system. -Ben On Jan 4, 2:52 pm, Magnus alpineblas...@googlemail.com wrote: How can one track the version numbers? Which methods should be called? Thanks Magnus -- You received this message because you are subscribed

Re: Date/Time support on client side

2011-01-04 Thread Ben Imp
://code.google.com/p/google-web-toolkit/issues/detail?id=603 -Ben On Jan 4, 9:41 am, Tom Rada tom.r...@gmail.com wrote: Hi, let me apologize in advance for my trivial post, but I really don't know any better place to ask the question: I want to have a widget consisting of three list boxes

Re: GWT in custom applications

2010-12-30 Thread Ben Imp
the firewall anyway. -Ben On Dec 29, 11:59 pm, zia usman@gmail.com wrote: Hi experts at Google !    I am very very much intrigued by the wide range of API's offered by google. My question is that can we use GWT and Google APIs to build applications that we deploy on third party app servers like

Re: GWT - Thin or Fat Client

2010-12-29 Thread Ben Imp
lend one to doing the heavy lifting on the server, and therefore be more of a thin client than not, but that seems like a bit of a stretch. -Ben On Dec 29, 11:58 am, Ian Bambury ianbamb...@gmail.com wrote: Well, you can do the computational stuff on the server, but there is little point if all

Re: Choosing a file in local directory

2010-12-28 Thread Ben Imp
You would be looking for the FileUpload widget, which just wraps a html file input element. -Ben On Dec 28, 2:15 am, jc jc.chan...@gmail.com wrote: Hi, i am new to GWT, but i know java. I am using GWT in Eclipse. for selecting a file in local directory in java, we use JFileChooser. but i

Re: DateTimeFormat problem with parsing

2010-12-28 Thread Ben Imp
Two pieces of information seem to be absent that would greatly aid others in helping you: the exception details and the input string. -Ben On Dec 27, 5:19 pm, Luka Matovic matovicl...@gmail.com wrote: Hi guys, I have a little, stupid problem but it seems that  I can't find solution for it. I

<    1   2   3   4   5   >