Re: Million access to GWT Appl ??

2010-06-23 Thread Blessed Geek
You know that cows (and deer too) chew their cud. Cows have a secondary stomach, so it could store whatever grass it has chewed off the field in the 2ndary stomach. Then it could regurgitate the stored cud and chew on it afterwards. Your question is akin to saying that you read an article that

StackLayoutPanel within a ScrollPanel

2010-06-23 Thread Roy
I want a StackLayoutPanel with a bar for each letter of the alphabet. The idea is that Contacts will be organised within the appropriate bar. All works fine, except when I try to put my SLP within a ScrollPanel so that I can have a shorter window. When I do this, I see the A bar only, the rest of

Re: Maven is obfuscating and GWT2.1 should not depend on it

2010-06-23 Thread Blessed Geek
Chris, I am working on it now because I need that feature really badly - it's a do or die situation because I have so many forms to crud. Please write to my gmail id: blessedgeek. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Error: Permission denied for domain2 to get property Location.href from domain1.

2010-06-23 Thread Jeff
Ok, I'm sorry not having be able to help you more than this... Good luck for your app Regards, Jeff On 22 juin, 17:53, randasin r4nd7...@gmail.com wrote: Created a bug report:http://code.google.com/p/google-web-toolkit/issues/detail?id=5049q=s... On Jun 22, 10:32 am, randasin

Re: blank page in IE8

2010-06-23 Thread Asier
El 23/06/2010 7:02, kais blah escribió: Hi, I have problem on my GWT application. its working correctly under chrome and Firefox but not IE. can someone help me to troubleshoot it, is it CSS problem or scripts problem? Perhaps you can try to enable the Compatibility View? Regards -- You

Unsinking mouse over/out/move events for a CellList/Tree/Table

2010-06-23 Thread Paul Schwarz
Summary: in a CellList I want to sink the ONCLICK and ONCONTEXTMENU events to be handled by my Cell's onBrowserEvent method, but I don't want any mouse over/out/move events, but cannot seem to unsink them. In 2.1 M1 we have CellList. If you look at the constructor of CellList you'll see on line

Re: Data Presentation Widgets Help

2010-06-23 Thread KenJi_getpowered
I am trying to find the same doc, so far it is a bit empty. http://stackoverflow.com/questions/2891803/how-to-use-gwt-2-1-data-presentation-widgets http://groups.google.com/group/google-web-toolkit/browse_thread/thread/357ab22364b0bcea?pli=1 That is all i found but I have not tested that code

Re: Inserting an external HTML/JSP Page in GWT

2010-06-23 Thread Gaurav Munjal
Thanks On Jun 18, 8:05 pm, Stefan Bachert stefanbach...@yahoo.de wrote: Hi Gaurav, as you say, just use the Widget Frame which is an html iframe The method is setUrl () Stefan Bacherthttp://gwtworld.de On Jun 16, 2:43 pm, Gaurav Munjal mail2gauravmun...@gmail.com wrote: Is there an

FYI: Element .getTagName() returns uppercase tag names, like DIV, LABEL, SPAN

2010-06-23 Thread Paul Schwarz
Using 2.1 M1 I noticed that Element has the method hasTagName, which looks like this: public final boolean hasTagName(String tagName) { assert tagName != null : tagName must not be null; return tagName.equals(getTagName()); } Almost synonymous with this:

Re: Data Presentation Widgets Help

2010-06-23 Thread Paul Schwarz
I got started by using antony.trupe's examples given in: http://stackoverflow.com/questions/2891803/how-to-use-gwt-2-1-data-presentation-widgets/2944454#2944454 It doesn't have a CellTree example, and since my project doesn't include a Tree I haven't delved into that yet. I needed something that

Dynamic Label from database.

2010-06-23 Thread cody
Hi, Any idea how to create a label which text is retrieve from database? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email

Re: Dynamic Label from database.

2010-06-23 Thread Jeff
Is your database situated on the server-side or on the client-side ? If on server-side, I see no other way than this : Prepare your Java logic on your server (extract the data you want from the DB) , and then expose this method, the same way it's done in the greeting sample project. If on

Re: compile problems with GWT 2.1

2010-06-23 Thread KenJi_getpowered
Thanks BlessedGeek, It works perfectly with that line inherits name='com.google.gwt.requestfactory.RequestFactory'/ My app is totally functionnal and I was even able to add the new Data Presentation Widget. FYI: Correction is not yet included in the GWT 2.1 M1 version On 25 mai, 15:34,

Re: FYI: Element .getTagName() returns uppercase tag names, like DIV, LABEL, SPAN

2010-06-23 Thread Thomas Broyer
On 23 juin, 11:05, Paul Schwarz paulsschw...@gmail.com wrote: Using 2.1 M1 I noticed that Element has the method hasTagName, which looks like this:   public final boolean hasTagName(String tagName) {     assert tagName != null : tagName must not be null;     return

Re: Why appear OPTIONS instead of POST in my RPC calls?

2010-06-23 Thread enTropy Fragment
Thanks for your comment, it helped me a lot. Indeed that's the problem. I guess the next step is to create a good response so the RPC works. Or is there any better solution? (I can't avoid the cross-site situation) I've overriden the doOptions method in the servlet with the following code:

Re: FYI: Element .getTagName() returns uppercase tag names, like DIV, LABEL, SPAN

2010-06-23 Thread Paul Schwarz
Thanks Thomas. Read and understood. Would it not be helpful to put that in the comments block of getTagName() just to make it very clear to the users who haven't come across that section in the HTML spec? On Jun 23, 1:16 pm, Thomas Broyer t.bro...@gmail.com wrote: On 23 juin, 11:05, Paul Schwarz

Re: Safari 5 - (RangeError): Maximum call stack size exceeded

2010-06-23 Thread Thomas Broyer
On 23 juin, 03:52, Pascal zig...@gmail.com wrote: Hi, Has the workaround been included in the codebase somewhere? Is there a chance that there will be a point release soon? There's been a change at the compiler-level instead: http://code.google.com/p/google-web-toolkit/source/detail?r=8300

Re: Unsinking mouse over/out/move events for a CellList/Tree/Table

2010-06-23 Thread Thomas Broyer
On 23 juin, 10:51, Paul Schwarz paulsschw...@gmail.com wrote: Summary: in a CellList I want to sink the ONCLICK and ONCONTEXTMENU events to be handled by my Cell's onBrowserEvent method, but I don't want any mouse over/out/move events, but cannot seem to unsink them. In 2.1 M1 we have

Re: Unsinking mouse over/out/move events for a CellList/Tree/Table

2010-06-23 Thread Paul Schwarz
Thanks Thomas, Test and works as suggested. The class owning my CellList extends Composite and I now have overridden the onLoad method like this: @Override protected void onLoad() { myCellListView.unsinkEvents(Event.MOUSEEVENTS); } ... and no longer are the mouse over/out/move events

Re: compile problems with GWT 2.1

2010-06-23 Thread Jim
When I run bikeshed, I got the following error. I can not fix this problems by following Eclipse.readme and turorials from DataNucleus. Can somebody kindly provide the working bikeshed source code in Eclipse project so I can learn GWT 2.1 without wasting my time on DataNucleus. I appreciate your

Re: Order in new CellTable

2010-06-23 Thread bond
Thanks very much Jaroslav!! best regards Daniele On 20 Giu, 19:48, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: The reason why I proposed adding single event-handler on whole table was due to performance concerns. I read somewhere in GWT-docs that large number of event-handlers might

Re: blank page in IE8

2010-06-23 Thread kais
Hi actually it was a DOCTYPE options, I removed the -//W3C//DTD HTML 4.01 Transitional//EN and it works. !DOCTYPE HTML PUBLIC thanks On Jun 23, 11:58 am, Asier avsg...@gmail.com wrote: El 23/06/2010 7:02, kais blah escribi : Hi, I have problem on my GWT application. its working

Grid - controlling pixel sizes

2010-06-23 Thread Magnus
Hello, I would like to build a Grid (to represent a chess board) with predictable pixel sizes. For this I need to know: Given a single cell has pixel sizes (x, y), what's the pixel size of the whole grid? How can I compute this? In this context I tried to set every cell to an exact pixel size:

JsonpRequestBuilder onFailure

2010-06-23 Thread randasin
I just start using JsonpRequestBuilder. I understand for the most part what to return for a successful response, but under what circumstances is AsyncCallback.onFailure method invoked? In other words, what should I return in my JSON response (on the server side) to indicate a failure? -- You

Pass a method as parameter in GWT

2010-06-23 Thread Thiago Miranda de Oliveira
Hi. Im building a logic here that a class A instantiate a object of another class B. B has a specified clickHandler that does a animation. I want that the class A can pass a method to the class B as a parameter to do the animation and some extra stuff that I wanna do in the class A. So I was

Re: server side entry point to open/close database?

2010-06-23 Thread Magnus
Hello, after your post I would open/close my db within each service call. If I would do it with a pool, I would need 2 entry points, one to open the pool and one to close it. If I would go this way, would these entry point exist (is there a deinit)? Thanks Magnus On 20 Jun., 15:58, roji

Re: JsonpRequestBuilder onFailure

2010-06-23 Thread randasin
nevermind just found the API http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html#setFailureCallbackParam%28java.lang.String%29 On Jun 23, 9:42 am, randasin r4nd7...@gmail.com wrote: I just start using JsonpRequestBuilder.  I understand

Re: UIBinder Benefits?

2010-06-23 Thread Stefan Bachert
Hi, On Jun 22, 3:36 pm, Andrew Hughes ahhug...@gmail.com wrote: Almost all of the problem's listed below are bad advice and I suggest you disregard them. Do you, or others, have any valid arguments (opinions are no valid arguments) I am not going to do things the wrong or the poor way just

Socket Permissions on GAE

2010-06-23 Thread Big_Ali
Hi, I'm kinda new to GWT but I've been using Java for a long time. I'm trying to develop a program that requires talking to sockets. But it looks like that the application engine does not allow that. I defined a java policy file and put it in my GAE plugin folder of eclipse but it does not change

How to make a TabBar with images on the tabs (GWT 2.0)

2010-06-23 Thread James Walkup
As a GWT newbie, I struggled with placing images on TabLayoutPanel (or DecoratedTabPanel?) tabs in place of text labels. The solution is elegant and VERY simple. TabLayoutPanel tabPanel = new TabLayoutPanel( 8.5, com.google.gwt.dom.client.Style.Unit.EM );

Re: Million access to GWT Appl ??

2010-06-23 Thread Mady
There are many GWT applications handling more then million users like Gmail, Google Wave, Orkut etc... so can't believe that some one has raise such concern. On Jun 21, 1:25 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: What was such claim based on? It does sound weird to me.

Code after History.fireCurrentHistoryState() will execute any more?

2010-06-23 Thread mahesh
hi, I have an MVP app, on which i'm showing different views on the same container as per the history token. So one of my view has a context checking logic, that checks whether the logged in cookie is there or not. If no cookie, I need to redirect to the login view by changing the history token.

Java Preferences API impl. for GWT

2010-06-23 Thread amos
Hello, is there any suitable implementation of Java Preferences API for GWT? Or at least some thought about it? I mean mainly considering client server asynchronous nature of GWT and what could be possible storage engine for this kind of service. I know there is Cookies class, but it's bound to a

Information about PHP + MySQL E-book

2010-06-23 Thread J3p
Hi, I need some Information from you. Someone told me to buy E-book about PHP + MySQL in http://php-mysql-ebook.blogspot.com Does anyone have experience about this? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: GWT Application does not work in IE8 at all?

2010-06-23 Thread Jyaif
Hi, I found your initial post on stackoverflow, and came here hoping for answers... I have the exact same problem you have, except it's under IE7. I have no problem under IE8. For me, the error comes from: function entry0(jsFunction, thisObj, arguments_0){ var initialEntry; initialEntry =

Re: unable to lode moduloe entry point class

2010-06-23 Thread Ravi kumar
Can any one help me i am new to the GWT. I just started it 2 days back and this is my first example tutorial and i am not finding any solution to this error . Tnx in advance Regards, Ravi Kumar Chaurasia Dept of Information Technology NIT,Durgapur On Tue, Jun 22, 2010 at 11:54 AM, Ravi Kumar

Hiding fully qualified class name sent to the browser

2010-06-23 Thread moorsu
Hi, Would it be possible to obfuscate the fully qualified class name which is visible at the browser if you use firebug?. I would like to see it as a.b.c.d instead com.mycompany.myproduct.mypackage.MyClassName. Also I do not use the same domain object as model but use Lists and Maps to send data

Is this the correct way to add an Widget directly to DOM ?

2010-06-23 Thread kuku
Heres my example (a custom widget): public class TestWidget extends Composite { private static TestWidgetUiBinder uiBinder = GWT .create(TestWidgetUiBinder.class); interface TestWidgetUiBinder extends UiBinderWidget, TestWidget { }

Re: TabPanel broken in new Chrome version

2010-06-23 Thread mistermueller
filed a bug at adblockforchrome for the gwt showcase page: http://code.google.com/p/adblockforchrome/issues/detail?id=3729 On 3 Mai, 08:40, Frank frank.wyna...@gmail.com wrote: I starred it and added a reply with my findings about the issue. On 30 apr, 15:23, Steve strat...@gmail.com wrote:

unable to lode moduloe entry point class

2010-06-23 Thread Ravi Kumar
Unable to load module entry point class 11:29:28.742 [ERROR] [stockwatcher] Unable to load module entry point class com.google.gwt.sample.stockwatcher.client.StockWatcher (see associated exception for details) java.lang.NullPointerException: null at

Re: unable to lode moduloe entry point class

2010-06-23 Thread Ravi kumar
well i don't know what was the reason for this error I have fixed it...Here is the steps i have done to fix it. 1. i did not set the JAVA_HOME variable and its value. And i forgot to add the path also so added the path and set the Java_Home variable and its value now its is working fine.

Re: Information about PHP + MySQL E-book

2010-06-23 Thread Jaroslav Záruba
Wrong group? On Tue, Jun 22, 2010 at 6:16 PM, J3p jeffry.kantawi...@googlemail.comwrote: Hi, I need some Information from you. Someone told me to buy E-book about PHP + MySQL in http://php-mysql-ebook.blogspot.com Does anyone have experience about this? thanks -- You received this

Re: GWT Application does not work in IE8 at all?

2010-06-23 Thread Jyaif
I have exactly the same error, except that it happens in IE7. The application runs fine in IE8. The application is built with GWT 2.0.3. For the record, the faulty generated code is: function entry0(jsFunction, thisObj, arguments_0){ var initialEntry; initialEntry = entryDepth++ == 0; try

NumberFormat on integer

2010-06-23 Thread Patrick Tucker
Why does GWT not have a getIntegerInstance() in NumberFormat?? It seems simple enough to implement and it is part of java... Is it implemented somewhere else? Thanks, Pat -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Pass a method as parameter in GWT

2010-06-23 Thread Thiago Miranda de Oliveira
Plz, someone? On Jun 23, 10:45 am, Thiago Miranda de Oliveira thiago...@gmail.com wrote: Hi. Im building a logic here that a class A instantiate a object of another class B. B has a specified clickHandler that does a animation. I want that the class A can pass a method to the class B as a

Re: Java Preferences API impl. for GWT

2010-06-23 Thread Lothar Kimmeringer
amos schrieb: is there any suitable implementation of Java Preferences API for GWT? Or at least some thought about it? I mean mainly considering client server asynchronous nature of GWT and what could be possible storage engine for this kind of service. I know there is Cookies class, but

Re: Dynamic Label from database.

2010-06-23 Thread Stefan Bachert
Hi, String valueFromDatabase = ...; Label label = new Label (); label.setText (valueFromDatabase); What is the problem? Stefan Bachert http://gwtworld.de On Jun 23, 11:25 am, cody lse...@gmail.com wrote: Hi, Any idea how to create a label which text is retrieve from database? -- You

Re: Pass a method as parameter in GWT

2010-06-23 Thread olivier nouguier
keep cool ;) You can pass a Runnable (Command) as parameter ... like a clikHandler On Wed, Jun 23, 2010 at 4:29 PM, Thiago Miranda de Oliveira thiago...@gmail.com wrote: Plz, someone? On Jun 23, 10:45 am, Thiago Miranda de Oliveira thiago...@gmail.com wrote: Hi. Im building a logic

Re: Socket Permissions on GAE

2010-06-23 Thread Sripathi Krishnan
You can't open sockets if you are using GAE, and there is no way around it. But GWT is completely independent of GAE. If you disable GAE, you can use sockets on your server side. --Sri On 22 June 2010 08:25, Big_Ali ali.fatol...@gmail.com wrote: Hi, I'm kinda new to GWT but I've been using

right way to create a link handler?

2010-06-23 Thread Vik
Hie seems the code final Hyperlink adminLink = new Hyperlink(); adminLink.setText(Admin); adminLink.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { // Instantiate the popup and show it. loginPopup = new LoginPopup();

Re: cursor while server processing

2010-06-23 Thread Stefan Bachert
Hi Ivan, in general server calls running asynchron in background. However, i rare situations, where you wont allow to user to doint anything (for example: after entering credentials) you may put a glass panel over the browser window. Stefan Bachert http://gwtworld.de On Jun 22, 8:06 pm, Iván

Re: GWT Application does not work in IE8 at all?

2010-06-23 Thread Olivier Monaco
Hi, You added a catch block. What is the caught exception? Can you add a uncaught exception handler using GWT.setUncaughtExceptionHandler in the constructor of your EntryPoint? Do you catch an exception? Do you have a small project with this error? Olivier On Jun 13, 6:48 pm, Xandel

Re: Hiding fully qualified class name sent to the browser

2010-06-23 Thread Olivier Monaco
Hi, If your problem comes from class name included in the JavaScript files (and affected to some properties of JavaScript object), you can try to use the following optimization: http://code.google.com/p/google-web-toolkit/wiki/NoClassMetadataOptimization Olivier On Jun 22, 3:55 pm, moorsu

how can I start a HttpServlet in an Eclipse GWT project?

2010-06-23 Thread Ken Yap
I'm using GWT 2.0 with Eclipse Galileo (3.5). Currently the project works fine, but it's all client side interaction at the moment. I want to use HTTP as the data transfer method, because that's what will be used in production, together with JSON. I want a HttpServet for testing in my Eclipse

Re: Irony: GWT Showcase demo does not work with Chrome

2010-06-23 Thread mistermueller
filed a bug in adblockforchrome: http://code.google.com/p/adblockforchrome/issues/detail?id=3729 -- Forwarded message -- From: neshaug nesh...@gmail.com Date: 10 Apr., 00:10 Subject: Irony: GWT Showcase demo does not work with Chrome To: Google Web Toolkit Same for me 5.0.372.0

Error in Presentations page on

2010-06-23 Thread vb75
Apologize if this mail is in the wrong ml. Just could not figure out how to send feedback to webmaster. In the Google Web Toolkit page on code.google.com, the Presentations Page(link at the bottom left) is not working. The following is the link to the page.

How to use one service from several GWT-Apps

2010-06-23 Thread newnoise
Hi, I'm currently trying to add some printing functions to a map-software. If the user hits the print-button a new browser-window, which's dimensions fit to a normal sheet of paper, is opened. As the user usually wants to print stuff like a route or so the new window needs to use the same

Re: Safari 5 - (RangeError): Maximum call stack size exceeded

2010-06-23 Thread Chris Ramsdale
On Wed, Jun 23, 2010 at 6:50 AM, Thomas Broyer t.bro...@gmail.com wrote: On 23 juin, 03:52, Pascal zig...@gmail.com wrote: Hi, Has the workaround been included in the codebase somewhere? Is there a chance that there will be a point release soon? There's been a change at the

Re: Safari 5 - (RangeError): Maximum call stack size exceeded

2010-06-23 Thread Chris Ramsdale
Just trying to get some scope around this issue. How many developers are still on 1.7.x (or prior) and experiencing this problem? Basically, would a 2.0.4 fix a majority (if not all) of the current issues? If not, how feasible would it be to have you upgrade to 2.0.4 from a 1.x release to fix

Re: right way to create a link handler?

2010-06-23 Thread Thomas Broyer
On 23 juin, 16:46, Vik vik@gmail.com wrote: Hie seems the code final Hyperlink adminLink = new Hyperlink(); adminLink.setText(Admin); adminLink.addClickHandler(new ClickHandler() {       public void onClick(ClickEvent event) {         // Instantiate the popup and show it.      

Re: UIBinder Benefits?

2010-06-23 Thread Blessed Geek
Looking at your annotation, I find that I have to learn yet another language. I mean learning the annotation style as a language. UiBinder is in XML and if you are familiar with XML, it's a breeze to understand what's going on. For the many many years doing distributed computing in industrial

Re: UIBinder Benefits?

2010-06-23 Thread jocke eriksson
Great post! Jocke 2010/6/23 Blessed Geek blessedg...@gmail.com Looking at your annotation, I find that I have to learn yet another language. I mean learning the annotation style as a language. UiBinder is in XML and if you are familiar with XML, it's a breeze to understand what's going

Re: Pass a method as parameter in GWT

2010-06-23 Thread Thiago Miranda de Oliveira
Thanks man. Well I've solved it by creating a interface in the B class and calling it in the A class. On Jun 23, 11:36 am, olivier nouguier olivier.nougu...@gmail.com wrote: keep cool ;) You can pass a Runnable (Command) as parameter ... like a clikHandler On Wed, Jun 23, 2010 at 4:29 PM,

Re: UIBinder Benefits?

2010-06-23 Thread Chris Boertien
That has to be the most disturbing use of annotations I have ever seen... on so many levels... On Wed, Jun 23, 2010 at 11:52 AM, jocke eriksson jock...@gmail.com wrote: Great post! Jocke 2010/6/23 Blessed Geek blessedg...@gmail.com Looking at your annotation, I find that I have to learn yet

Re: Disable the default contextmenu in richtext editor

2010-06-23 Thread Paul Schwarz
You are on the right track with these: event.preventDefault(); event.stopPropagation(); But firstly, are you clear about the difference between a Click event and Event.ONCONTEXTMENU? You may be trying to suppress the click event, but you really need to 1) sink the context menu event, and 2)

Re: Is this the correct way to add an Widget directly to DOM ?

2010-06-23 Thread Paul Schwarz
Your question seems a little confusing, but your idea is not quite right. Firstly you shouldn't have to call super.onAttach(), the real problem is you are effectively bypassing GWT's widget/event system by trying to get the widget's element and attach it directly. In effect you're mixing GWT and

Re: How to use one service from several GWT-Apps

2010-06-23 Thread Blessed Geek
service? Printing thro web service that all/any window could call with a single url? Why would you need to duplicate code when you can call it with a single url? Or did you mean you have a specialised GWT window written to handle printing and you wish to route all printing to that GWT window?

One Service, multiple users

2010-06-23 Thread Ralf B
I have a service that instantiates and keeps state (variables in the back end that is controlled by the service) until the user logs out. What happens exactly when two users access my GWT service; will there be one service instance for each user or will one be shared between them? I try to figure

Re: RPC call does not work after upgrading to Safari 5

2010-06-23 Thread TBirch
After further research on the web and directing me to review my server's logs I believe my problem may be due to my app still being run as a gwt 1.4. If so, are there any options other than upgrading the app to a newer gwt version? Below is from my Tomcat server log: SEVERE: Exception while

MVP with EventBus question

2010-06-23 Thread Paul Schwarz
Working with the MVP pattern, or more like the VP pattern at this point, I have: MainPagePresenter MainPageView WidgetA WidgetB ... so imagine that WidgetA and WidgetB will be attached to MainPageView. Using Gin I have an EventBus injected into the MainPagePresenter. I can then add click

Re: right way to create a link handler?

2010-06-23 Thread Paul Schwarz
What part of that code is deprecated? In GWT Hyperlink affects history, Anchor does not. On Jun 23, 7:52 pm, Thomas Broyer t.bro...@gmail.com wrote: On 23 juin, 16:46, Vik vik@gmail.com wrote: Hie seems the code final Hyperlink adminLink = new Hyperlink();

Re: How to use one service from several GWT-Apps

2010-06-23 Thread newnoise
sorry i meant service. i try to explain the problem more precisely: i got a map. users can, for example, use the app to calculate a route- advise. if the user did so he may want to print the route. but the map is nearly fullscreen, so if he justs prints it like that it looks pretty bad. so what i

Re: How to use one service from several GWT-Apps

2010-06-23 Thread newnoise
and when i wrote service again, i totally meant servlet. its been a looong day ... On 23 Jun., 22:11, newnoise tommmuel...@googlemail.com wrote: sorry i meant service. i try to explain the problem more precisely: i got a map. users can, for example, use the app to calculate a route- advise.

Re: How to use one service from several GWT-Apps

2010-06-23 Thread giuseppe la scaleia
A question what do you use for route on map?? Regards giuseppe Inviato da iPhone di Giuseppe La Scaleia Il giorno 23/giu/2010, alle ore 22.13, newnoise tommmuel...@googlemail.com ha scritto: and when i wrote service again, i totally meant servlet. its been a looong day ... On 23 Jun.,

Re: MVP with EventBus question

2010-06-23 Thread Paul Schwarz
To answer my own question: 1. Gin can be used to inject the EventBus into the View as well as the Presenter, so now our View has a reference to the EventBus 2. In order to give the EventBus to the Widgets owned by the View those Widgets will require a constructor argument which will be the

Google Plugin for Eclipse 3.6 is now available

2010-06-23 Thread Jason Parekh
Hey folks, Google Plugin for Eclipse 1.3.3 is out with support for Eclipse 3.6. Install it with Eclipse 3.6's new Eclipse Marketplace feature by going to Help Eclipse Marketplace, and search for Google Plugin for Eclipse. Alternatively, here are the update sites: - Eclipse Helios (3.6):

what large apps use GWT?

2010-06-23 Thread marius.andreiana
Hi, I'm looking to build a case for using GWT for a large app. The back- end is not Java. Besides Wave, AdWords and Lombardi, what large apps use GWT? (couldn't find more in GWT presentations) Is GWT suited for large apps, eg Facebook? Thanks -- You received this message because you are

Re: MVP with EventBus question

2010-06-23 Thread Paul Schwarz
I looked into that, and (unless I'm wrong), I think that @UiField(provided=true) will cause the UiBinder to look in the .ui.xml file for argument to satisfy Foo. In my case I am trying to inject an EventBus into the widget, not a visual element. On Jun 24, 2:18 am, Filipe Sousa nat...@gmail.com

Re: how can I start a HttpServlet in an Eclipse GWT project?

2010-06-23 Thread Ken Yap
Never mind, it was a silly typo of mine, I transposed the org and au in the web.xml file. ClassNotFound meant exactly that. Sometimes it pays to go to bed when tired and look at it with fresh eyes in the morning. It really does work to write a class to extend HttpServlet to handle parts of the

Re: compile problems with GWT 2.1

2010-06-23 Thread Faz
I just installed a new copy of Aptana 2.0.4 (Eclipse 3.5.2) and installed the GWT/Eclipse Plugin/GAE from http://google-web-toolkit.googlecode.com/svn/2.1.0.M1/eclipse/plugin/3.5 I created a sample GWT project (New Web Application Project) and ran the html w/o making ANY modifications. It runs

RE: GWT 2.1.0 M1 and Roo development lifecycle. What would you do?

2010-06-23 Thread Joseph Li
Think the whole point of having Roo + GWT is to easily generate pumping codes like getters and settings and data transfer objects etc without too much hand coding. I am not an expert on GWT nor Roo, but so far it looks like it still need some work to iron out some strange issue, like the generated

Re: enable/disable widgets?

2010-06-23 Thread Magnus
Hello, I actually needed the functionality in the widget class to let my own Form class enable/disable all its child widgets at the same time. However, I made this workaround and it's ok for me at the moment: public void setEnabled (boolean e) { IteratorWidget itr = grd.iterator (); // grd

GWT Application not working in IE6

2010-06-23 Thread Vikash
I have created a GWT application which is working fine in all browsers but there is some problem in IE6. When I run it on IE6 crashes giving some error like cannot read memory. Can anybody tell me why it is happening. and what is the solution. -- You received this message because you are

Re: One Service, multiple users

2010-06-23 Thread Prakash
GWT Services are nothing but HttpServlets. And single instance of servlet can serve multiple requests, which can be from different users. To store attributes per user, use HttpSession instead of variables in GWT Service. HttpSession can be retrieved from GWT service by calling

Re: server side entry point to open/close database?

2010-06-23 Thread roji
Hi Magnus. The standard enterprisey way to do this, would be to use a javax.sql.DataSource as a representation of your database. Your RemoteServiceServlet would look up this object in JNDI at initialization time, and create connections by calling getConnection() on it each time a user connect.

[gwt-contrib] UiBinder tweaks for GWT Designer

2010-06-23 Thread Konstantin.Scheglov
To support UiBinder in GWT Designer we need to have several changes in UiBinder generators, writer and parsers. I will describe below these changes as they are done now. In real patch I will group as much implementation details as possible into single class like DesignTimeUtils or

[gwt-contrib] [google-web-toolkit] r8303 committed - Added Hilbrand Bouwkamp for gwt-google-apis contribution

2010-06-23 Thread codesite-noreply
Revision: 8303 Author: zun...@google.com Date: Wed Jun 23 05:53:44 2010 Log: Added Hilbrand Bouwkamp for gwt-google-apis contribution http://code.google.com/p/google-web-toolkit/source/detail?r=8303 Modified: /CLA-SIGNERS === --- /CLA-SIGNERSFri Apr

Re: [gwt-contrib] UiBinder tweaks for GWT Designer

2010-06-23 Thread Joel Webber
Konstantin, I've not gone over these proposals in great detail, but it does seem like a reasonable idea to build design time hooks into UiBinder-generated code. One very important caveat would be that it must be possible for the compiler to strip them out completely in production mode (this seems

[gwt-contrib] Re: UiBinder. Parser for TextAlignConstant (issue612803)

2010-06-23 Thread Joel Webber
@rjrjr: What say ye? Have you considered doing something like this before, and perhaps found a way to generalize it such that we don't have to create a separate attribute parser for every enum? Le 22 juin 2010 07:14, konstantin.scheg...@gmail.com a écrit : Reviewers: jgw, Description: It

Re: [gwt-contrib] Re: UiBinder. Code style for constant parsers.

2010-06-23 Thread Joel Webber
Le 22 juin 2010 07:03, Konstantin.Scheglov konstantin.scheg...@gmail.com a écrit : Pretty much everything we've done so far has been limited to automatically exposing the Java-level APIs in all their ugliness. The h/v alignment values are implemented somewhat manually, but for things

[gwt-contrib] [google-web-toolkit] r8304 committed - Adding a null check to ShowcaseGenerator so that we don't try to write...

2010-06-23 Thread codesite-noreply
Revision: 8304 Author: gwt.mirror...@gmail.com Date: Wed Jun 23 08:52:39 2010 Log: Adding a null check to ShowcaseGenerator so that we don't try to write to a public resource that has already been created. This fixes a bug when multiple examples reference the same raw source files. Review

[gwt-contrib] Re: Adding a null check to ShowcaseGenerator so that we don't try to write to a public resource that... (issue646802)

2010-06-23 Thread jlabanca
committed as r8304 http://gwt-code-reviews.appspot.com/646802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Column should not use a singleton FieldUpdater because the Cell may hang on to the FieldUpdater.... (issue620803)

2010-06-23 Thread jlabanca
Reviewers: Dan Rice, Description: Column should not use a singleton FieldUpdater because the Cell may hang on to the FieldUpdater. We now create a new instance each time. Please review this at http://gwt-code-reviews.appspot.com/620803/show Affected files: M

[gwt-contrib] Finishing implementation of ListViewAdapter. An extensive test class will be submitted in a lat... (issue636802)

2010-06-23 Thread jlabanca
Reviewers: jgw, Description: Finishing implementation of ListViewAdapter. An extensive test class will be submitted in a later change because the rest relies on API changes that haven't been submitted yet. Please review this at http://gwt-code-reviews.appspot.com/636802/show Affected files:

[gwt-contrib] Fix external issue 5052 - JSONParser.parse exceptions with some unicode characters (issue659801)

2010-06-23 Thread rice
Reviewers: jat, Description: Fix external issue 5052 - JSONParser.parse exceptions with some unicode characters Please review this at http://gwt-code-reviews.appspot.com/659801/show Affected files: M user/src/com/google/gwt/json/client/JSONParser.java M

[gwt-contrib] Re: Finishing implementation of ListViewAdapter. An extensive test class will be submitted in a lat... (issue636802)

2010-06-23 Thread jgw
On 2010/06/23 18:29:32, jlabanca wrote: LGTM. http://gwt-code-reviews.appspot.com/636802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: DefaultSelectionModel#setSelected currently adds an exception even if the default selection stat... (issue658801)

2010-06-23 Thread jgw
On 2010/06/23 18:28:32, jlabanca wrote: Is there a test suite to which tese should be added? http://gwt-code-reviews.appspot.com/658801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix external issue 5052 - JSONParser.parse exceptions with some unicode characters (issue659801)

2010-06-23 Thread jat
http://gwt-code-reviews.appspot.com/659801/diff/1/2 File user/src/com/google/gwt/json/client/JSONParser.java (right): http://gwt-code-reviews.appspot.com/659801/diff/1/2#newcode55 user/src/com/google/gwt/json/client/JSONParser.java:55: jsonString = jsonString.replace(\u2029, \\u2029); Are you

[gwt-contrib] Re: Fix external issue 5052 - JSONParser.parse exceptions with some unicode characters (issue659801)

2010-06-23 Thread rice
http://gwt-code-reviews.appspot.com/659801/diff/1/2 File user/src/com/google/gwt/json/client/JSONParser.java (right): http://gwt-code-reviews.appspot.com/659801/diff/1/2#newcode55 user/src/com/google/gwt/json/client/JSONParser.java:55: jsonString = jsonString.replace(\u2029, \\u2029); No, I'm

[gwt-contrib] Re: Fix external issue 5052 - JSONParser.parse exceptions with some unicode characters (issue659801)

2010-06-23 Thread jat
http://gwt-code-reviews.appspot.com/659801/diff/1/2 File user/src/com/google/gwt/json/client/JSONParser.java (right): http://gwt-code-reviews.appspot.com/659801/diff/1/2#newcode55 user/src/com/google/gwt/json/client/JSONParser.java:55: jsonString = jsonString.replace(\u2029, \\u2029); On

  1   2   >