Re: Question about gwt from a newbie.

2010-06-23 Thread StrongSteve
I would suggest to implement a ValueChangeListener on the Widget A. So every time the value of the Widget A changes, Widget B get informed and can perform its necessary code. Is this what you meant? Greetings Stefan On 23 Jun., 20:46, tank wrote: >     Assume i have two widgets A and B in host

Re: GWT Application not working in IE6

2010-06-23 Thread Qian Qiao
On Thu, Jun 24, 2010 at 13:27, Vikash wrote: > 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 solut

Re: One Service, multiple users

2010-06-23 Thread olivier nouguier
Bad idea ... Service should be stateless ! State should be store in session scope. Guice or Spring could be a great help (but with different approach). HIH On Wed, Jun 23, 2010 at 9:58 PM, Ralf B wrote: > I have a service that instantiates and keeps state (variables in the > back end that is co

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.

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 getThreadLocalReque

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 subsc

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) { Iterator itr = grd.iterator (); // grd is a

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

Question about gwt from a newbie.

2010-06-23 Thread tank
Assume i have two widgets A and B in host page. They bind to datasource DSA and DSB respectly. I do some stuff in A then DSA has changed. DSA's change leads to DSB's change. Question is: How to reflect DSB's change on B and where to put such code? I can let widget A has a reference of

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 fin

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 URL

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 wrote: > I belie

Re: MVP with EventBus question

2010-06-23 Thread Filipe Sousa
I believe you can use @UiField(provided=true): @UiField(provided=true) Foo foo @Inject UserDashboard(Foo foo) { this.foo = foo } On Jun 23, 10:03 pm, Paul Schwarz wrote: > To answer my own question: > > 1. Gin can be used to inject the EventBus into the View as well as the > Presenter, so n

Re: what large apps use GWT?

2010-06-23 Thread mikedshaf...@gmail.com
Here's a link: http://gwtgallery.appspot.com/ and the standard answer I give is "yes, it's suited for large apps". If your development team is skilled in Java and prefers to write good Java code rather than Javascript for UI's and you understand how AJAX (GWT is simply a great way to do AJAX)

Re: what large apps use GWT?

2010-06-23 Thread Jaroslav Záruba
I recommend this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/144e6d62fc3826fa/db8daddc74c621fc

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 subscr

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): http:/

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 Even

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 > ha scritto: and when i wrote service again, i totally meant servlet. its been a looong day ... On 23 Jun., 22:11, newnoise wrote: sorry

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 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. if the user did so he

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: 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 wrote: > On 23 juin, 16:46, Vik wrote: > > > Hie > > > seems the code > > final Hyperlink adminLink = new Hyperlink(); > > adminLink.setText("Admin"); > > adminLink.addCli

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 handlers

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 dispatc

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 o

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? A

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 Ja

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) pre

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 wrote: > Great post! > Jocke > > 2010/6/23 Blessed Geek >> >> Looking at your annotation, I find that I have to learn yet another >> language. >> I mean

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 wrote: > 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 Olivei

Re: UIBinder Benefits?

2010-06-23 Thread jocke eriksson
Great post! Jocke 2010/6/23 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 ma

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 env

Re: right way to create a link handler?

2010-06-23 Thread Thomas Broyer
On 23 juin, 16:46, Vik 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. >      loginPopup =

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 this?

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 wrote: > > > On 23 juin, 03:52, Pascal 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://co

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 services

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. http://code.google.com/webtoolkit/media_g

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 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 Ubuntu 9.10, and w

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 proj

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 wrot

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 wrote: > Hi

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 Nav

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(); loginPopup.showRelativeT

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 wrote: > Hi, > > I'm kinda new to GWT but I've been using Java for a long time

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 > wrote: > > Hi. > > Im building a logic here that a

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 wrote: > Hi, > > Any idea how to create a label which text is retrieve from database? -- You received this me

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: 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 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 > parameter to do t

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 g

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 {

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 wrote: > 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 sub

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. Regards,

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 UiBinder { } @UiField Button b

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 p

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 g

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 = entr

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 w

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

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 wrote: > I starred it and added a reply with my findings about the issue. > > On 30 apr, 15:23, Steve wrote: > > > > > The issue is 4698 - you might w

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 com.google.gwt.sample.stockwatcher.client.St

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 ); VerticalP

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 wrote: > What was such claim based on? It does sound weird to me. > Client-side, which is where GWT o

Disable the default contextmenu in richtext editor

2010-06-23 Thread shruti
Hi, I have created my own popup menu, which I want to display in RichTextArea, and it is appearing with right mouse click. my problem is that default broswer's context menu does also appear along with my menu. is there any resolution for this? I have seen lots of examples and code but all of them

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. So

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

Re: UIBinder Benefits?

2010-06-23 Thread Stefan Bachert
Hi, On Jun 22, 3:36 pm, Andrew Hughes 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 because most peop

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 wrote: > I just start using JsonpRequestBuilder.  I understand for the most > part

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 wrote:

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 thinki

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 r

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:

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. thanks On Jun 23, 11:58 am, Asier wrote: > El 23/06/2010 7:02, kais blah escribi : > > > Hi, > > > I have problem on my GWT application. its working correctly under chrome > > and Firefo

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 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 affect responsiveness of y

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 ki

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 fl

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 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 CellList. If you look a

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

2010-06-23 Thread Thomas Broyer
On 23 juin, 03:52, Pascal 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 I don't think

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 wrote: > On 23 juin, 11:05, Paul Schwarz wrote: > > > > >

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 Thomas Broyer
On 23 juin, 11:05, Paul Schwarz 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 tagName.equals(getTagName()); >   } > >

Re: compile problems with GWT 2.1

2010-06-23 Thread KenJi_getpowered
Thanks BlessedGeek, It works perfectly with that line 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, Thomas Broyer wrote: > On 24 mai, 01:53, Blessed Geek wrote: > >

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 clien

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: 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

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: "div".equals(element.getTagN

Re: Inserting an external HTML/JSP Page in GWT

2010-06-23 Thread Gaurav Munjal
Thanks On Jun 18, 8:05 pm, Stefan Bachert wrote: > Hi Gaurav, > > as you say, > just use the Widget Frame which is an html > The method is setUrl () > > Stefan Bacherthttp://gwtworld.de > > On Jun 16, 2:43 pm, Gaurav Munjal wrote: > > > Is there an option that when the user clicks on one of the

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 yet

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 13

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 r

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

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 wrote: > Created a bug > report:http://code.google.com/p/google-web-toolkit/issues/detail?id=5049&q=s... > > On Jun 22, 10:32 am, randasin wrote: > > > It's this line