Re: exception while calling a server method

2010-06-20 Thread nava nee krish
Hi Vik, Your bean classes for example 'FindBloodDonorResultBean' this case which are passed over the network ( Server-Client) must implement isSerializble interface. Regards Nav. On Sun, Jun 20, 2010 at 6:47 AM, Vik vik@gmail.com wrote: Hie can somome suggest what going wrong here

Form vs. chunk data to send via JsonpRequestBuilder

2010-06-20 Thread rhodebump
hi, I need to transfer a image file (which is a url encoded string) to a third party server. GWT has a reference to this string (wrote a library that integrates GWT with Phonegap). As I see it, I have 2 options: 1) Use the GWT form and put my image string as a hidden form field and post it to

server side entry point to open/close database?

2010-06-20 Thread Magnus
Hi, I wonder where to open and close the database on the server side, and where to store the database connection. At this point, I only have the server side implementation of my RPC services. But there is no place to store my Connection object and no entry point like onServerLoad or something

multiple pages

2010-06-20 Thread Ahmed Shoeib
can i make multiple pages in GWT it is one have its own onModuleLoad() can i do it ?? -- 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

Exceptions after unchecking Use Google AppEngine

2010-06-20 Thread Magnus
Hello, after unchecking Use Google AppEngine in the project properties in Eclipse, I get the following exceptions when launching the application. (I did so, because I found a solution for my database problem: http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg14715.html) Can you

Re: Exceptions after unchecking Use Google AppEngine - SOLVED

2010-06-20 Thread Magnus
Hello, for all those who have problems connecting to a mysql database within a RPC call: The solution found in this thread is to uncheck Use Google AppEngine in the eclipse project settings: http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg14413.html But this leads to problems

Re: Exceptions after unchecking Use Google AppEngine - SOLVED

2010-06-20 Thread Sripathi Krishnan
The (probably satisfactory) approach is to remove the GAE jars from the classpath. When you uncheck GAE, it doesn't remove the jars from the classpath. There is some kind of version mismatch in one of the jetty classes (as shown by NoClassDefFoundError), so when you remove GAE jars, things work

Re: Order in new CellTable

2010-06-20 Thread bond
Hi Jaroslav, thanks for your reply.The google's source code is very usefull. It's possible add an 'onMouseOver' event on a single cell? Thanks very much Best regards On 17 Giu, 15:56, Jim jim.p...@gmail.com wrote: I got all source code from this repository and created a project - bikeshed21.

Re: Animated PNG

2010-06-20 Thread Jeff Chimene
Use an animated .gif instead? From your description it sounds like it's the same base image with some transformation/rotation applied. Is that the case? On Sat, Jun 19, 2010 at 2:38 PM, Sean slough...@gmail.com wrote: I'm trying to figure out the best way to do an animated png. Say I have a

GWT and javascript php websites

2010-06-20 Thread cabo087
Hello all, I use javascript and PHP to build my websites. In some PHP pages i call some javascript methods and it works. Now i want to use GWT and PHP to develop my websites. How can i call GWT methods from a php file? (like calling javascript) Do i need to make native methods that can be called

Re: multiple pages

2010-06-20 Thread Stefan Bachert
Hi Ahmed, with GWT you build a rich internet application. The concept of page does no more fit. This is different to a set of hyperlinked documents. What do you mean with Multiple Pages? a) Multiple entry points. Means different start sequences? Yes, this is possible b) Exchanges the whole

Why do I get Native methods do not specify a body when I try to use JSNI?

2010-06-20 Thread Shedokan
I have this Class: package com.testproject.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; /** * Entry point classes define codeonModuleLoad()/code. */ public class Test implements EntryPoint { /** * This is the entry point

Re: exception while calling a server method

2010-06-20 Thread Vik
Well its On 20 Jun 2010 12:19, nava nee krish nava.a...@gmail.com wrote: Hi Vik, Your bean classes for example 'FindBloodDonorResultBean' this case which are passed over the network ( Server-Client) must implement isSerializble interface. Regards Nav. On Sun, Jun 20, 2010 at 6:47 AM,

Re: exception while calling a server method

2010-06-20 Thread Vik
Well it's already implementing that and that is why I am unable to understand it.any other suggestion please On 20 Jun 2010 12:19, nava nee krish nava.a...@gmail.com wrote: Hi Vik, Your bean classes for example 'FindBloodDonorResultBean' this case which are passed over the network (

Re: Order in new CellTable

2010-06-20 Thread Jaroslav Záruba
I would consider adding one listener on the whole table and then check whether the target is your (one of) your cell(s). But I'm not saying this is The One Proper solution, I'm still only learning to use CellTables. On Sun, Jun 20, 2010 at 4:24 PM, bond daniele.re...@gmail.com wrote: Hi

Re: Order in new CellTable

2010-06-20 Thread bond
Thanks for your reply. I had an idea, maybe can be usefull: private abstract class MouseOverCell extends AbstractCellString { @Override public void render(String value, Object viewData, StringBuilder sb) { if (value != null) {

Re: Why do I get Native methods do not specify a body when I try to use JSNI?

2010-06-20 Thread Olivier Monaco
Try to add a ; after the JS comment of getUserAgent: public static native String getUserAgent() /*-{ return navigator.userAgent.toLowerCase() }-*/; Olivier On 20 juin, 17:55, Shedokan shedok...@gmail.com wrote: I have this Class: package

Re: Order in new CellTable

2010-06-20 Thread Jaroslav Záruba
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 your UI. (My UIs are too simple so far to test when that becomes an issue though.) Cheers J.

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

2010-06-20 Thread Blessed Geek
What I wrote to initiate this discussion may confuse things a little, but I do realise that I do not have to use Spring Roo. I was simply too lazy to micro-manage that detail. I must confess that I am confused by Spring's use of Maven. When I tried Spring Roo, perhaps, I was confused with all

Code splitting : couldn't see chain of dependencies with compile report

2010-06-20 Thread Skal
Hi, I'm trying to use code splitting on a 2.0.3 gwt app (first download about 4 MBytes), I've followed the doc (http:// code.google.com/webtoolkit/doc/latest/DevGuideCompileReport.html), put GWT.runAsync calls in some places but compile report didn't show any split points, moreover I'm confuse

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

2010-06-20 Thread roji
Hi Magnus. Your server-side service implementation is a class that extends GWT's RemoteServiceServlet, which itself extends the Servlet interface. If you need to perform once-only initialization, you can do so by overriding the init() method in your class. Note, however, that init() is probably

reading text file

2010-06-20 Thread rohitgodkhindi
HEllo every body. I want to read a text file into gwt and display its contents in my browser . Plz help me. I am not getting how to do it. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Adding widgets to PagingScrollTable

2010-06-20 Thread seakey
Hi, I would like to add some gwt-widgets (e.g. like images) to PagingScrollTable from google-web-toolkit-incubator. If my understanding of it is correct, there must be an attribute in my object for each cell of a row. So, if want to have widgets in my table, there must be an attribute for this

Re: Redirect loop

2010-06-20 Thread Rodrigo Ipince
Nope, I'm experiencing it too... the site is totally unusaable.. 2010/6/18 Jaroslav Záruba jaroslav.zar...@gmail.com http://groups.google.com/group/Google-Web-Toolkit -

Simple image editor in the browser

2010-06-20 Thread Rodrigo Ipince
Hi, I wish to create a browser-based image editor with GWT. It need not be anything fancy; image cropping and text insertion (with ability to choose size, font, color) should be enough for a first pass. Other functionality can come later. 1. Is there something out there that already does this so

Re: Problem to load data from Database

2010-06-20 Thread Rodrigo Ipince
So.. you're getting an empty array back from the server? I'm assuming you actually have user data in your database. When you say console show me the name of driver, do you mean you're getting an exception? Which exception? Make sure the jdbc driver is located in the war/WEB-INF/lib dir.. On Thu,

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

2010-06-20 Thread Jaroslav Záruba
2010/6/14 Matthias Groß f0r7y@googlemail.com *If GWT absorbs these flaws from Maven and Spring* it would lose some of its most significant benefits for me, i.e. being slim, effective and easy to use. Just to make things clear, I hope you're describing your experience with Roo, right? Why

Re: Adding widgets to PagingScrollTable

2010-06-20 Thread Miroslav Genov
If you have to use dynamic images, then you have to ask the server for a proper image to display it with Image. For example: String avatarUrl = userProfile.getAvatarUrl(); // it may point to http://myserver.com/avatar?id=101 Image avatar = new Image(avatarUrl); but if you want to use a

Re: Redirect loop

2010-06-20 Thread Jaroslav Záruba
I ran into it today again, clearing cookies helped. But obviously I hate to lose all my cookie-based setting because of that. :( On Sat, Jun 19, 2010 at 3:25 AM, Rodrigo Ipince ipi...@gmail.com wrote: Nope, I'm experiencing it too... the site is totally unusaable.. 2010/6/18 Jaroslav Záruba

Programmatic access to inline Styles...?

2010-06-20 Thread Jaroslav Záruba
Could someone help me understand this please? widget.getElement().addStyle(...); (taken from Programmatic access to inline Styleshttp://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Programmatic_access ) The problem is that

Re: Programmatic access to inline Styles...?

2010-06-20 Thread Jaroslav Záruba
OK, so the methods defined in MyStyle interface only return class-names defined in the UiBinder XML. So the proper method is addClassName. 2010/6/20 Jaroslav Záruba jaroslav.zar...@gmail.com Could someone help me understand this please? widget.getElement().addStyle(...); (taken from

UIBinder Benefits?

2010-06-20 Thread spierce7
Does using the UI Binder provide any benefits? I watched some of the I/ O conference, and it seemed like they made reference that the UI Binder using the browsers native rendering engine (or something like that), and it being a lot faster, but they didn't really specify whether that was the layout

Re: UIBinder Benefits?

2010-06-20 Thread Jaroslav Záruba
http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html I think you will have idea of the benefits once you start reading that. :) On Mon, Jun 21, 2010 at 3:23 AM, spierce7 spier...@gmail.com wrote: Does using the UI Binder provide any benefits? I watched some of the I/ O

Re-Using .gwt-DialogBox .Caption in UiBinder, how?

2010-06-20 Thread Andrew Hughes
Hi Guys, I'd really like to re-use the .gwt-DialogBox .Caption style outside of a DialogBox. We have a bunch of widgets and raw html inside UiBinder that we'd like to have styled the same way (for consistency of course). Here's a BROKEN example: !DOCTYPE ui:UiBinder SYSTEM

Re: Calling RSS service in GWT from the server side

2010-06-20 Thread AgitoM
As promised, here is the code that finally did the trick for me. The key was using the java.net.URL Object. This object does work when compiled on the server side. The code: The relavant imports: import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import

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

2010-06-20 Thread Chris Boertien
@Blessed Geek If your serious about starting up a project like your describing I'm interested in working on it. I have a need for just such a tool and have been meaning to sit down and actually do some planning for it. Let me know if you'd like to bounce some ideas around and when is good for

Re: UIBinder Benefits?

2010-06-20 Thread spierce7
thanks :-) On Jun 20, 9:39 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html I think you will have idea of the benefits once you start reading that. :) On Mon, Jun 21, 2010 at 3:23 AM, spierce7 spier...@gmail.com wrote:

Devmode vs prod performance

2010-06-20 Thread Eirik Brandtzæg
Hello I'm running GWT 2.0.3 and experiencing a performance peak when running devmode, and much slower when running prod. I add Phys2D as a module jar, then I add a bunch of bodies to the physics engine. Each step in the engine takes about 0-1ms when running devmode, but when I build the project

Re: Calling RSS service in GWT from the server side

2010-06-20 Thread Sripathi Krishnan
Most likely, you have enabled Google App Engine. GAE doesn't allow you to open socket connections, which is why apache httpclient did not work. It does allow URLConnection, which is why your second approach worked. --Sri On 21 June 2010 08:15, AgitoM karel.m...@gmail.com wrote: As promised,

[gwt-contrib] [google-web-toolkit] r8286 committed - Intruducing AutoDirHandler, a handler for automatically adjusting the ...

2010-06-20 Thread codesite-noreply
Revision: 8286 Author: tomer...@google.com Date: Sun Jun 20 09:43:54 2010 Log: Intruducing AutoDirHandler, a handler for automatically adjusting the direction of an object (typically a TextBox variant) while text is being entered. This handler is then used to add BiDi support to TextBox and