About Event and EventHandlers

2010-05-26 Thread Sabbir
suppose there are more than one classes which are listening for the same Event. Now when the event is fired, how are the handlers going to handler the event. Is there a sequence order according to which the event is handled? can we define how the handler should handle? -- You received this

Limit generator invocation count

2010-05-26 Thread Matt
Hi, I've written a custom generator, which functionally works fine. The only slightly nagging point is that the generator generates the same source code for all permutations, but still gets invoked once per permutation (which means quite a few times for an app with i18n...). This increases build

DateTime To String

2010-05-26 Thread kirtcathey
I've never had a response to any of the posts here, but that explains how desperate I am at this point. How do we convert a DateTime to a string in GWT. ALL of the posts go the other direction, which seems to be a no-brainer. Is it only one- way? -- You received this message because you are

Re: On GWT I18N

2010-05-26 Thread Alexandros Papadakis
Hi Stefan, On Tue, May 25, 2010 at 6:32 PM, Stefan Bachert stefanbach...@yahoo.dewrote: Hi Alexandros, On 24 Mai, 17:30, Alexandros Papadakis alpa...@gmail.com wrote: Spring MVC, has a very nice way to handle this: Just put the properties file in a specific directory and everything

Re: DateTime To String

2010-05-26 Thread Lothar Kimmeringer
kirtcathey schrieb: How do we convert a DateTime to a string in GWT. ALL of the posts go the other direction, which seems to be a no-brainer. Is it only one- way? What exactly do you mean by DateTime? In GWT you use java.util.Date for dates. If you want to format it, you can do it using

Re: what inherit to use for com.google.gwt.dev.shell.remoteui.MessageTransport.RequestException?

2010-05-26 Thread jamesmikedup...@googlemail.com
Problem solved, was using the wrong import: com.google.gwt.dev.shell.remoteui.MessageTransport.RequestException is not needed, I removed the dev jar from my build. now it works, using this import : import com.google.gwt.http.client.RequestException; mike On May 26, 2:01 am,

Re: Limit generator invocation count

2010-05-26 Thread Olivier Monaco
Matt, You generator is called for each permutation but it may not generate the same code each time. You generator must include the following code: PrintWriter printer = context.tryCreate(logger, packageName, className); if (printer != null) { // Create a

How to achieve traditional website behavior with layout panels?

2010-05-26 Thread googelybear
Hi, I am developing a webapp that should behave like a traditional web page, meaning that when the content grows in height the browser should display a vertical scroll bar. Unfortunately I was foolish and jumped right in on the new, shiny layout panels. As I found out later these are not suitable

How to use StackPanel with UiBinder?

2010-05-26 Thread googelybear
Hi, After searching I found out how to use DockPanel (the old one) with uibinder in this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/9c5cde36a8731d44/0eed904daa7f7de2 Unfortunately this is not described in the javadock of DockPanel. I was not able to find an

Re: Confused newbie: some pieces not visible

2010-05-26 Thread Jeff Chimene
Hi Donald: According to http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/SplitLayoutPanel.html , you must attach a SplitLayoutPanel to the RootLayoutPanel, not the RootPanel. I'm guessing that you don't see the text due to the CSS positioning attributes.

Data exchange between two applications

2010-05-26 Thread Stefan Ludwig
Hi, I have to exchange datas between two GWT apps. Current situation: Application 1 is a stock symbol search (e.g. IBM or GOOG for Google) which shows the symbol results in a list. Application 2 is a stock quote application. The user has just to enter a symbol and he will see the current quote.

Re: How to use StackPanel with UiBinder?

2010-05-26 Thread Jeff Chimene
http://www.google.com/codesearch/p?hl=en#A1edwVHBClQ/user/src/com/google/gwt/uibinder/sample/client/WidgetBasedUi.ui.xmlq=stackpanel%20package:http://google-web-toolkit\.googlecode\.com On Wed, May 26, 2010 at 1:56 AM, googelybear googelyb...@gmail.com wrote: Hi, After searching I found out

Re: Data exchange between two applications

2010-05-26 Thread Olivier Monaco
I will create a 3 GWT modules: - app A - app B - app A and B You will have the best optimization. If you add the 2 modules separately, you will have code duplication (code for the String class in app A and code for the same class in app B). Olivier On 26 mai, 11:20, Stefan Ludwig

Re: How to achieve traditional website behavior with layout panels?

2010-05-26 Thread Olivier Monaco
For a traditionnal layout, I use the old school panels. It's not really a old school, it just has another goal. Olivier On 26 mai, 10:33, googelybear googelyb...@gmail.com wrote: Hi, I am developing a webapp that should behave like a traditional web page, meaning that when the content grows

Re: Data exchange between two applications

2010-05-26 Thread Jeff Chimene
You don't say if there's any help from the server. I'm assuming there is no support on the server side. By this I mean that your assignment must be solved w/o the server simply generating HTML in response to a CGI GET. When App 1 runs with App 2, App 1 does its symbol list lookup. It then takes

Problems with http response, crashing

2010-05-26 Thread jamesmikedup...@googlemail.com
I get a http response, and the status text is ok, when I try to call response.getext this crashes, I have filed a bug report in eclipse : https://bugs.eclipse.org/bugs/show_bug.cgi?id=314423 please advise, mike -- You received this message because you are subscribed to the Google Groups

Flex gwt servlet

2010-05-26 Thread gadaleta.marco
Hi, i'm developing an hybrid system. It's possible to call gwt servlet from flex? Thank you Marco -- 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

Re: Data exchange between two applications

2010-05-26 Thread Stefan Ludwig
Thanks for your answers! Good ideas! Steff On May 26, 11:49 am, Jeff Chimene jchim...@gmail.com wrote: You don't say if there's any help from the server. I'm assuming there is no support on the server side. By this I mean that your assignment must be solved w/o the server simply generating

Re: How to use StackPanel with UiBinder?

2010-05-26 Thread googelybear
thank you very much for the link, that's quite handy. It would be nice if the gwt team could update the javadocs of the old panels as they did it for the newer layout panels (show uibinder usage) On May 26, 11:29 am, Jeff Chimene jchim...@gmail.com wrote:

Re: How to achieve traditional website behavior with layout panels?

2010-05-26 Thread googelybear
Are you not afraid that they will get removed soon? I always get deprecated warnings when using them: StackPanel is deprecated. Use the StackLayoutPanel instead. and same for others (DockPanel, TabPanel, ...). What's the official policy on this? On May 26, 11:49 am, Olivier Monaco

Re: How to make a TextBox without the focus bar around it (the yellow/orange bar in Chrome)

2010-05-26 Thread mmoossen
hi lucas! i think what you are looking for is: outline: none; HTH Michael On May 25, 10:18 pm, outsource lucas outsourcelu...@gmail.com wrote: I know that you can edit text areas in google wave without getting the default yellow focus bar (yellow/orange in Chrome) around the area and google

Re: How to get notified after a widget has been completely rendered?

2010-05-26 Thread googelybear
My goal was to dynamically adjust the height of a LayoutPanel: As the content grows adjust the height of the LayoutPanel accordingly. regarding the onLoad() method: At the time this is called the size of a widget has not been completely computed (this is what I would have needed) - I assume the

Re: GWT DevMode and gwt.codesvr parameter

2010-05-26 Thread Adam
Jeff, Thanks for the quick response. Yes, basically if you follow the normal application flow you loose the gwt.codesvr parameter and therefore the debug module logic doesn't work. As for the authentication, we do authenticate people outside of GWT. Our login process is actually done via

New to java: where do i put new classes?

2010-05-26 Thread m
Sorry, I'm a c# transplant. I want a create a class that will be used on server side only. In c# I would just create a new class in the project... learning that java doesn't work that way. I have created a class within the main package of my GWT project (not client, not server, not shared, the

Bikeshed project

2010-05-26 Thread Karel
Hi, I'd like to see the latest changes in GWT in a running app. I've found out that there is a project called Bikeshad which might provide some interesting examples. Source repository is located at http://code.google.com/p/google-web-toolkit/source/browse/trunk/bikeshed/?r=7704. What is needed to

IE7,IE8 clicking #fragmented links does not call the history listener

2010-05-26 Thread Rares
Hello everyone, I have a burning problem and I am as always running out of time. We are using GWT 2.0.3 to generate a page (/site.htm) that has links inside like this /site.htm#/topic/1 or /site.htm/group/1 and so forth. In IE7 and 8 only clicking one of those links only changes the URL of the

A Problem with IE

2010-05-26 Thread shai
I posted this in the extjs (GXT) forum, as my work is basically with GXT, however, it seems that this problem occures at a lower level at the GWT layer, and I'm hoping someone here may shed some light on this. I've been working on RTL support for GXT. I have it working perfectly for Firefox. I'm

FlexTable

2010-05-26 Thread ravjot
i want to add a table to my application, wherein i can add rows and columns at the runtime nd further append the no of rows dynamically with every successive entry in the map ... where the data being entered onto the map is retrieved from the kml file using the xml parsing method. -- You

How to send a XML Document object from server to client side

2010-05-26 Thread Sumit Somani
I am an engineering intern and require to send XML document objects from server to client . I want to send a XML document object from server to client. Also please tell the recommended XML Document object to be used on server side as on the client side I would be using GWT gwt.xml.client.Document

compile gwt into seperate core and app module

2010-05-26 Thread code prophecy
Hi, I have to make a web application using GWT and as per the propsed design, project has a core module that'll expose a set of apis to be used by other apps; each of these app are unrelated. Each shall be loaded in a separate iframe. My idea was to compile core into core.js and each app shall

GWT 2.1 sample applications

2010-05-26 Thread Karel
Hi, are there any sample applications that would use new widgets from GWT 2.1? Thanks. Karel -- 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

GWT, database connection on the server side

2010-05-26 Thread LucHub
Hi all, I have a RPC to get data from the server. On the client side I ask for the 'server' method. On the server side, once called, the service has to read a DB, let's say a mysql db. The Java driver is on my classpath. When on the server side I write Class.forName(...the driver class...) I get

Activation of Minimised firefox browser

2010-05-26 Thread Subbu
Hi, If the browser is minimised, I am looking for an solution which should activate and show the firefox browser by an event from the server. If the browser overlapped by any other applications, it should bring to the forefront of the user immediately. Please let me know how to deal this

Activation of minimised browser

2010-05-26 Thread Siva
Hi, I am looking for a solution to activate a minimised browser which forced by an event from the server. Could you please let me know how to achieve this with GWT? Thanks in advance. regards- Siva. -- You received this message because you are subscribed to the Google Groups Google Web

Re: Flex gwt servlet

2010-05-26 Thread bladedancer
I've never done it specifically to a gwt service but no reason you couldn't. You probably have two options - use ExternalInterface to call the gwt generated js or do the rpc/json serialization natively in flex and make the call from flex. Personally I'd go with the ExternalInterface - that way the

Re: Open a new Window and inject HTML into it using GWT Window class

2010-05-26 Thread Thomas Broyer
On 25 mai, 00:25, DK dmanchikalap...@gmail.com wrote: I am constructing a piece of HTML code on the fly. I have am empty html page , and I need to inject this html code within the body element of the empty html page. Can someone point me in the right direction ? Right now, I am using the

How to use DateTime

2010-05-26 Thread m
I'm getting a little frustrated here. I want to do something as simple as use a DateTime object and can't seem to figure what the heck I'm supposed to import. I'm a c# developer primarily so forgive my ignorance. Eclipse had me import: import

How to share code between Server and Client with DateTimeFormat

2010-05-26 Thread Jogi
Hi, I have a little problem and I hope someone can help me to solve it. I have a class which used on client and server side, mainly to parse Strings into Dates... So I use on client side the com.google.gwt.i18n.client.DateTimeFormat and on server side the java.text.SimpleDateFormat. The code of

Re : Css is not taken from IE but FF is working fine

2010-05-26 Thread Chintu
I have more than 10 css file in my project, gxt-all.css file order by 9th in the header tag, problem behind this gxt-all.css taken from firefox for a particular Component but IE does not taken particular class -- You received this message because you are subscribed to the Google Groups Google

Direct Client Req..:: Looking for Web Developer | 6 Months+ Contract | Houston, TX

2010-05-26 Thread Navneet Chalana
Partners, Hope you are doing great, I am currently looking for *WEB Developers** *for an esteemed direct client in *TX* and I wanted to contact you, to see if you have someone available and comfortable for below mentioned contract opportunity, if so, please send me a copy of resume and the

Slider in GWT

2010-05-26 Thread Daniel Meier
Hi Guys, i have aproblem with Sliders in GWT. I have Downloaded the gwt.incubator vor the GWT Version 2.0.1 I use the version 2.0.3 but there are no slider for this Version. So I think this incubator version must be the right one. Now my problem, i have user the follown g inherite inherits

Multi-language Problem in KeyPressHandler of SuggestionBox

2010-05-26 Thread skkim
Hi, I am using the SuggestionBox as followings. It is suggested well if I press down a english key or other special keys. But if i press down a korean key (it is our language), the KeyPressHandler only is fired about the first character and then is not fired about further korean key inputs. Please

Re: Slider in GWT

2010-05-26 Thread Manuel Carrasco Moñino
It seems you need more inherits in your module. Try adding com.google.gwt.gen2.Gen2 Don't worry about the deprecated errors. -Manolo On Tue, May 25, 2010 at 12:06 PM, Daniel Meier dmeier.frankf...@googlemail.com wrote: Hi Guys, i have aproblem with Sliders in GWT. I have Downloaded the

Re: GWT, database connection on the server side

2010-05-26 Thread rudolf michael
make sure that you server code reside in a package where .server should be present. Moreover you need to include the JDBC driver in the lib of you webapp. not just in the eclipse build path. On Tue, May 25, 2010 at 10:22 PM, LucHub luca.abb...@gmail.com wrote: Hi all, I have a RPC to get data

Re: How to use DateTime

2010-05-26 Thread rudolf michael
you should use java.util.Date and http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/DateTimeFormat.html http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/DateTimeFormat.htmlin order to convert from Date to String and vice versa.

Re: How to send a XML Document object from server to client side

2010-05-26 Thread rudolf michael
you can always send the xml as a string text then parse it on the client/server side. On Tue, May 25, 2010 at 3:32 PM, Sumit Somani sumitsom...@google.comwrote: I am an engineering intern and require to send XML document objects from server to client . I want to send a XML document object

Java array handling in JSNI

2010-05-26 Thread Alan Chaney
Hi I'm using GWT 2.0.3 It seems to me that in hosted mode when I attempt to use (for example) a float[] as a parameter to a native call it silently fails. The documentation only refers very obliquely to this: Although Java arrays are not directly usable in JavaScript, there are some helper

Re: I need help getting Objectify to work with GWT

2010-05-26 Thread Mike
Michael, Objectify has a great group as well, and several people are willing to help there as well (including the creator). Likely, you haven't actually added the objectify jar to your build path. There's a few way you can try to fix this: 1) Use the intellisense of Eclipse on the term

Re: large project mvp

2010-05-26 Thread Tristan
if you're going to have hundreds of windows... wouldn't it be easier to manage if they are split up into a bunch of smaller packages instead of one package with hundreds of files? On May 25, 8:44 am, alf alberto@gmail.com wrote: I have a doubt suppuse a very large project with hundred of

Re: How to get notified after a widget has been completely rendered?

2010-05-26 Thread kozura
FYI, running a DeferredCommand as suggested by Stefan will guarantee everything is rendered. This runs immediately after all pending browser UI work and events are complete. But yes for your goal you should just use the original panel widgets. I think they may be marked deprecated in UIBinder

Re: Bikeshed project

2010-05-26 Thread RPB
Hi Karel, I haven't heard of the BikeShed project, but if you're just looking for examples of GWT in action, have a look at the GWT gallery: http://gwtgallery.appspot.com/ or, if you're just looking to see what widgets are available, the showcase may be more appropriate:

Re: IE7,IE8 clicking #fragmented links does not call the history listener

2010-05-26 Thread kozura
Only those with # will call the history listener, unless that was a typo. Infact you should just be able to make the link be #tokens... without the site htm name. Otherwise these work fine across all browsers for me.. On May 24, 11:39 pm, Rares rares@gmail.com wrote: Hello everyone, I

Re: Confused newbie: some pieces not visible

2010-05-26 Thread Donald McLean
I had already put in !doctype html - that seemed like the smart thing to do right off the bat. However, you were exactly correct - RootLayoutPanel instead of RootPanel. Thank you! Donald On Wed, May 26, 2010 at 5:17 AM, Jeff Chimene jchim...@gmail.com wrote: Hi Donald: According to

Re: compile gwt into seperate core and app module

2010-05-26 Thread kozura
Have you looked at code splitting? I'm not sure exactly what you are trying to accomplish, but this allows you to build an in-house app with independent modules that depend on a core api, and only get loaded on demand. It doesn't allow for externally created plugin modules, as gwt requires a

Re: GWT DevMode and gwt.codesvr parameter

2010-05-26 Thread Jeff Chimene
Hi Adam: I get what you're saying. Do you have control over the logout hook? If so, why not add some intelligence that copies the gwt.codesvr parameter if it exists in the URL? I don't see any security implications here (perhaps I'm not sufficiently caffeinated) On Wed, May 26, 2010 at 5:25 AM,

Re: New to java: where do i put new classes?

2010-05-26 Thread kozura
Nothing should be preventing you from creating non-client classes anywhere in the hierarchy, AFAIK. The gwt.xml file is just some meta- data used by the GWT compiler to build the client-side js code; includes of other modules, pointers to the client code etc. There should be no restrictions on

How to build event hierarchy?

2010-05-26 Thread Julio Faerman
Hi, In my game UI i have several events, from generic to specific ( GameEvent PlayerMessageEvent PlayerVoteEvent ... ). Some widgets are interested in all events, logging all GameEvents for instance, and other are only interested specific events, showing all player votes for example. Given that

Re: Using preemptive basic authentication with GWT-RPC.

2010-05-26 Thread Jorel
Have you done something like this yourself? On May 26, 12:21 am, Sripathi Krishnan sripathi.krish...@gmail.com wrote: You don't necessarily need multiple web.xmls / war files. Your GWT RPC Servlets (proxy servlet, as you call it) can reside in the same war file as your back-end services; you

Re: How to achieve traditional website behavior with layout panels?

2010-05-26 Thread SergeZ
To achieve an old-school HTML behavior of GWT App, I use Vertical/ Horizontal Panels and of course HTMLPanel (which contains the UiBinder's widgets code). On 26 май, 12:33, googelybear googelyb...@gmail.com wrote: Hi, I am developing a webapp that should behave like a traditional web page,

someone know if is there a api for use the bing maps in a project make in eclipse with Gwt

2010-05-26 Thread wil...@hotmail.com
i would like use the maps from bing maps in my project but i dont know how i can do it because i cant find the api . if someone know how ? please help me !! thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: How to share code between Server and Client with DateTimeFormat

2010-05-26 Thread kozura
Make a generic interface for the methods you need and a factory; on the client side set the factory to create a DateTimeFormat version of the interface, and on the server a SimpleDateFormat version, in the initialization code for the client (onModuleLoad) and server (HttpServlet). On May 25, 6:16 

Re: GWT DevMode and gwt.codesvr parameter

2010-05-26 Thread Adam
Jeff, Yeah I have a working prototype of that working now. The route we've decided to take though is to have a developer mode and if set a request filter will auto authenticate allowing direct connection to GWT EntryPoint URLS with gwt.codeSvr included. Thanks for all your help Jeff. -Adam On

Re: New to java: where do i put new classes?

2010-05-26 Thread Alan Chaney
Actually, its nothing to do with the Java language explicitly. GWT is cleverly organized to make it quick and comparatively easy to build sophisticated Ajax apps without having to get too much into the details of Javascript. In a GWT project the GWT compiler cross-compiles a subset of the Java

Re: Using preemptive basic authentication with GWT-RPC.

2010-05-26 Thread Jorel
I need to solve the general case where the backend service may be on a different tomcat or even a different server. I agree that the user can authenticate once to the GWT servlet using frame based auth, for example. this would establish the session between client/gwt-servlet. Next, requests from

Flextable memory usage

2010-05-26 Thread Austen
Hi All, We have a problem with memory usage on all browsers when using a flextable. The table periodically updates over rpc and if left long enough will consume all available ram. The following example displays the issue. public class Memoryleaktest implements EntryPoint { private

Rebinding issues

2010-05-26 Thread Ryan
hi , I have got this peculiar problem. while debugging gwt apps using the development mode my application module keeps rebinding for a few times. A click of a link, a change a tab, a press of a button, a dragging of a panel triggers a module rebind. This rebinding process at least take around 30

Re: How to build event hierarchy?

2010-05-26 Thread Jeff Chimene
Hi Julio: Events are rarely hierarchical, which is not to say that they don't have parameters. For example: getEventBus.fireEvent(new GameEvent(EVENT.QUIT)) From the perspectives of reliability, maintenance, performance, I would not add the same listener for all event types. I'm assuming that by

How to parse CSS

2010-05-26 Thread Amine Ouahman
Hi everybody, I'm seeking some ideas about how to parse my CSS files and generate a java class. Thank you -- 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

Re: I need help getting Objectify to work with GWT

2010-05-26 Thread Michael
Thanks, that solved the problem. I didn't know about the objectify group, I am going to check it out. Thanks agian, Michael On May 26, 9:35 am, Mike m...@sheridan-net.us wrote: Michael, Objectify has a great group as well, and several people are willing to help there as well (including the

Re: compile gwt into seperate core and app module

2010-05-26 Thread Sripathi Krishnan
As i mentioned on SO, you should expose your api via a shared java jar file. That gives you reuse of code, and overheads on gwt are avoided. As long as app1 and app 2 are completely different, the above approach works find. But if they are two pages on the same website, you are using gwt

Re: Flextable memory usage

2010-05-26 Thread Austen
To answer my own question, the following seems to be a far better way of doing things. Save creating all those new objects... public class Memoryleaktest implements EntryPoint { private FlexTable flexTable = new FlexTable(); private HashMapInteger, FlexTableRow rows = new

Re: Using preemptive basic authentication with GWT-RPC.

2010-05-26 Thread Jorel
ok. one way to do this - according to your guidelines: 1. do form-based auth from gwt establishing tomcat-created session. 2. somehow establish mapping from this session to creds on servlet. 3. on subsequent requests, servlet obtains creds via session/creds map. 4. servlet uses creds for

Download oophm.dll separately?

2010-05-26 Thread mikedshaf...@gmail.com
All, We're having a crazy time getting the Developer Plugin for IE to work. I've found the gwt-dev-plugin.msi and downloaded it, attempted an install to no avail. Would anyone like to comment about if I could download the oophm.dll separately and do a regsvr myself? I'm using 32 bit Windows

Re: Flex gwt servlet

2010-05-26 Thread aditya ch
I feel, it's a bit tough job entering into GWT context even from ExternalInterface way. As in, what is the function that we can ever call for making RPC call ? Coming to the actual question, treat even the GWT service as a normal servlet. But only the trickier part being, input that the servlet

Safari Mobile And The Use of History Tokens

2010-05-26 Thread Daniel Simons
I recently created a mobile application using gwt with the MVP pattern along with a valueChangeHandler that invokes the onValueChange method when the History Token changes. There are 3 ways that my application updates the history token. 1) Defining the token within the html like in the following

Re: GWT DevMode and gwt.codesvr parameter

2010-05-26 Thread cretz
You should join us in voting for http://code.google.com/p/google-web-toolkit/issues/detail?id=4367 On May 26, 9:24 am, Adam ambr...@gmail.com wrote: Jeff, Yeah I have a working prototype of that working now. The route we've decided to take though is to have a developer mode and if set a

GWT user.agent and rename-to

2010-05-26 Thread Adam
I'm a little foggy on how the Working Module is suppose to work with a build system and if inheritance takes place. I've read the documentation at http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html Renaming modules section. That looks pretty simple, but I'm not getting

Re: How to build event hierarchy?

2010-05-26 Thread Julio Faerman
Thanks Jeff! I wonder if it would better to implement a HandlerManager that understands event type hierarchy or add a type parameter to the event and do the if/switch in the event handler. On May 26, 11:46 am, Jeff Chimene jchim...@gmail.com wrote: Hi Julio: Events are rarely hierarchical,

Re: custom return objects from GWT servlets?

2010-05-26 Thread Isaac Truett
You mean declare your own serializable class and return it from a GWT RPC call? Yes, you can do that. What makes you think you can't? On Mon, May 24, 2010 at 5:01 PM, doles sachin.d...@gmail.com wrote: Hello All, So is there no way to return a custom object from a GWT servlet other than

Re: How to achieve traditional website behavior with layout panels?

2010-05-26 Thread Olivier Monaco
When I want to create a website like app, I use as many HTML tags as possible with UiBinder. Then, I use CSS to sets the position, border, color... and never the GWT methods. That way, I have a true web site but using GWT. I don't like to create a website-like app (something that looks like a web

gwt-html5-media

2010-05-26 Thread Mark Renouf
I've been sitting on a couple widgets I developed for a little bit but haven't yet put to good use, so I decided to put them out there and see if people find them useful. With HTML5 media capabilities now in nearly every modern browser (And IE9 on the way), I felt it's time to get this out there.

Re: GWT and Python

2010-05-26 Thread nacho
It's not gwt but you can try this http://ajaxian.com/archives/pyjamas-gwt-for-python On 22 mayo, 23:06, kunal ghosh kunal...@gmail.com wrote: Hi all, I was following the Google IO keynotes this year and having done so last year also noticed a few things with respect to App engine. Google

Re: GWT with JPA - no persistence provider

2010-05-26 Thread Anton
Just copy your JPA-Jars to war/WEB-INF/lib-directory and add them to the build path. -- 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,

Re: gwt-html5-media

2010-05-26 Thread Mike Jiang
It's a very good try. I was wondering how I can get the whole thing as a project from within the Eclipse without downloading them piece by piece? Thanks, Mike J. On Wed, May 26, 2010 at 4:16 PM, Mark Renouf mark.ren...@gmail.com wrote: I've been sitting on a couple widgets I developed for a

Re: New to java: where do i put new classes?

2010-05-26 Thread m
Well I'm also doing it on App Engine if that adds a 4th learning curve ;) Java code looks pretty much like C# so I think I can easily learn that part of it. I moved the code to the server package. When I start the server I get this message: Loading modules com.mycomp.foo.bar.bar

Re: gwt-html5-media

2010-05-26 Thread Mark Renouf
You can either clone the repo (using Git), or just download the jar I attached in the Downloads section. It's not a full project, but just a library. Add it to your classpath, add the Import for the HTML5Media module into your GWT app and your set. On May 26, 4:45 pm, Mike Jiang

Re: New to java: where do i put new classes?

2010-05-26 Thread kozura
Ok, this is just a simple GWT setup issue. When you start GWT, the main argument is the module you're running, in your case com.mycomp.foo.bar.bar. This isn't a java class, but an xml file that has the metadata to tell GWT about your client app, and potentially any servlet you want run,

Documentation of GWT2.1 + Roo scaffold app?

2010-05-26 Thread jbdhl
With Spring Roo I can now very easily create a scaffold application in GWT2.1 as shown in the Keynote for day #1 at Google I/O 2010. It seems that the scaffold app is build upon the best practices described by Ray Ryan here http://www.youtube.com/watch?v=PDuhR18-EdM instead of the more simple

Re: Static Initializer behavior?

2010-05-26 Thread Jo
FYI - this does indeed happen with a production compile as well. Is this a bug vs something I shouldn't try to do with GWT for some reason? Thanks, jo -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: About Event and EventHandlers

2010-05-26 Thread Bradley
Looking at the Handlermanager class, the event is dispatched to the handlers either in the order they were added or the reverse order. Specifically look at the HandlerManager $HandlerRegistry.fireEvent(GwtEventH event, boolean isReverseOrder) method. On May 25, 11:35 pm, Sabbir

Re: Flextable memory usage

2010-05-26 Thread Bradley
From one of the talks at this year's Google I/O, it is pretty clear that widgets are expensive to create and it is much better to keep and resume them. For more information, see the talk titled Measured in milliseconds redux Did you notice that the memory leak occurred on just one browser or

Re: GWT user.agent and rename-to

2010-05-26 Thread Thomas Broyer
On 26 mai, 20:45, Adam ambr...@gmail.com wrote: I'm a little foggy on how the Working Module is suppose to work with a build system and if inheritance takes place.  I've read the documentation athttp://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec... Renaming modules

Re: How to parse CSS

2010-05-26 Thread Thomas Broyer
On 26 mai, 16:48, Amine Ouahman amine.aitouah...@gmail.com wrote: Hi everybody, I'm seeking some ideas about how to parse my CSS files and generate a java class. If your goal is to generate a CssResource interface, GWT already gives you the com.google.gwt.resources.css.InterfaceGenerator

Re: Rebinding issues

2010-05-26 Thread Thomas Broyer
On 26 mai, 16:38, Ryan cher...@ensarm.com wrote: hi , I have got this peculiar problem. while debugging gwt apps using the development mode my application module keeps rebinding for a few times. A click of a link,  a change a tab, a press of a button, a dragging of a panel triggers a

Re: IE7,IE8 clicking #fragmented links does not call the history listener

2010-05-26 Thread Thomas Broyer
On 25 mai, 07:39, Rares rares@gmail.com wrote: Hello everyone, I have a burning problem and I am as always running out of time. We are using GWT 2.0.3 to generate a page (/site.htm) that has links inside like this /site.htm#/topic/1 or /site.htm/group/1 and so forth. In IE7 and 8 only

Re: Java array handling in JSNI

2010-05-26 Thread Thomas Broyer
On 26 mai, 15:34, Alan Chaney a...@mechnicality.com wrote: Hi I'm using GWT 2.0.3 It seems to me that in hosted mode when I attempt to use (for example) a float[] as a parameter to a native call it silently fails. The documentation only refers very obliquely to this: Although Java

Using HTMLPanel with UiBinder

2010-05-26 Thread Tom Davies
I'd like to use an HTMLPanel widget with its HTML provided by a UiBinder template. Unfortunately, HTMLPanel always calls setElement() in its constructor. Is there any way around this other than extending ComplexPanel and copying the parts of HTMLPanel which I want? -- You received this message

Re: Java array handling in JSNI

2010-05-26 Thread Alan Chaney
Thomas Thomas Broyer wrote: 1. Is what I've just said correct? If I correctly understood what you said, then yes. Good, thanks. I work on my own, so its nice to have confirmation of things like this. 2. If so, why doesn't the debug runtime system generate a warning when

Re: New open source MVP(UiBinder) GWT Framework with GIN - Handlebars

2010-05-26 Thread wil.pannell
Hey Tristan, I'm particularly interested in how you implemented the place service. What I've seen in other APIs seem excessively overly complex. Thanks for your reply, Wil On May 25, 12:51 pm, Tristan tristan.slomin...@gmail.com wrote: Hey Wil, Actually it sounds like it ran perfectly :) .

Guice with client-side GWT

2010-05-26 Thread Blessed Geek
Nope, I am not asking about Guice with RemoteServiceServlet for RPC. Is it possible to use Guice on GWT widgets and related client-side manoeuvres? I don't expect the answer to be yes because the native code for GWT client is javascript not JVM byte-code. So, any plans for Guice on client-side

  1   2   >