Cumbersome jUnit setup

2009-10-05 Thread kito
I'm just setting up the environment for testing my GWT app with jUnit tests. Just some sidenotes before: Dev environment: Eclipse on Snow Leopard GWT version: 1.7.1 (installed with Google Eclipse Plugin) Since - unfortunately - the Google Plugin doesn't yet have a wizard for creating jUnit tests

Re: Why enfore camelcase stylenames

2009-10-05 Thread Ian Bambury
It's always been the case that you needed to use camelCase, it hasn't always been the case that GWT would report the use of hyphens as an error. Ian http://examples.roughian.com 2009/10/5 Joe Cole > > Has this always been the case? I've just started encountering these > errors after upgrading

problem with gwtxml file

2009-10-05 Thread avd
Hellso Sir, I have a problem in gwtxml file i want to add " @import "css/global.css"; " in gwtxml file. Please Send me appropriate solution for me . i am wating for answer. With regards Avdhesh --~--~-~--~~~---~--~~ You received this message because you are subscr

Request.cancel does not seem to work

2009-10-05 Thread Jayant
Hello, We have a version of production under 1.5.2. The UI is polling for events to a jetty webapp and waiting on jetty continuation for upto a minute max. Now if the browser is closed or user moves away from page, I am trying to interrupt the event poll from UI by calling Request.cancel(). Howev

Re: server side internationalization

2009-10-05 Thread Sebastien
Hu, One year ago I write a simple support of I18N on server side. The mechanism was based on Java reflexion. All is in a single class: http://code.google.com/p/gwt-fusionchart/source/browse/trunk/fusionchart_server/src/com/raisepartner/chartfusion/web/server/gwti18n/GWTI18N.java The simple call t

Re: GWT 2.0 Milestone 1: C:\gwt-2.0.0-ms1\gwt-dev-windows.jar is missing

2009-10-05 Thread Sebastien
(a tiny problem of keyboard later ...) This change is nice when the developpement team is cross plaform. Due to this change you have to update your eclipse classpath. Regards, Seb On 6 oct, 06:07, Sebastien wrote: > Hi, > > The announce said the distribution is no more specific to a platform.

Re: GWT 2.0 Milestone 1: C:\gwt-2.0.0-ms1\gwt-dev-windows.jar is missing

2009-10-05 Thread Sebastien
Hi, The announce said the distribution is no more specific to a platform. So I suppose gwt-dev-*.jar have been replaced by a single and portable jar: gwt-dev.jar. This change is nice when the developpement te On 6 oct, 05:29, hezjing wrote: > Hi > > I'm trying to configure GWT 2.0 milestone 1 i

GWT 2.0 Milestone 1: C:\gwt-2.0.0-ms1\gwt-dev-windows.jar is missing

2009-10-05 Thread hezjing
Hi I'm trying to configure GWT 2.0 milestone 1 in Google plugin following the steps: Extracted gwt-2.0.0-ms1.zip to C:\gwt-2.0.0-ms1, in Eclipse 3.5, right click a project -> Google -> Web Toolkit Settings... -> Configure SDKs... , in Preferences (Filtered) window, click Add... , in Add Google

Need to use GWT to make a program similar to Google Calendar, How would you do it?

2009-10-05 Thread spierce7
I found this online: http://google.latest.gwt-web-calendar.appspot.com/ Again, my goal is to make something similar to that, but something that's more customized to my needs. Instead of editing his code, I'm just going to make my own so I'll learn during the process as well. I'm reasonably experi

Re: Getting GWT working with WIndows 7

2009-10-05 Thread KAbhi
Ah. Found it. It didnt have anything to do with Windows 7. Thanks for trying. http://osdir.com/ml/GoogleWebToolkit/2009-04/msg00819.html Abhi On Oct 5, 10:42 am, Rajeev Dayal wrote: > What version of GWT are you using? > > Shot in the dark, but have you made any changes to your Internet Explor

GWT Generator

2009-10-05 Thread Ammar Belakhel
Hi, I am facing a problem with the JType class, I want to determine if the return type of a method is an instance of the String class. This is my solution: JMethod method = ...; JType returnType = method.getReturnType(); if (returnType instanceof JClassType) { JClassType type = (JClassType

Re: Logging errors when JSNI calls your GWT code

2009-10-05 Thread Chris Ramsdale
Thanks for the question. Given the following code snippet I am able to catch the exception that falls through: static { GWT.setUncaughtExceptionHandler(new GWT.UncaughtExceptionHandler() { public void onUncaughtException(Throwable e) { Window.alert("caught it!"); } }); } public v

Re: server side internationalization

2009-10-05 Thread bufferings
hi I'm very sorry. I made a mistake in my writing. > (2) Use KtrI18NCreator.create() in your server side code Please use KtrI18N.createConstants() or KtrI18N.createMessages(). These are static methods. -- bufferings 2009/10/6 bufferings : > >> that's exactly what I need and it runs perfectly

GWT InvocationException with Siteminder's embedded SMPostPreserve INPUT tag

2009-10-05 Thread JohnnyGWT
Any info/hints on this situation would be greatly appreciated. We have a GWT UI making GWT RPC calls to a db for data. It also opens COGNOS reports within GWT Frames. We're using CA Siteminder Web Agent for single sign on that forwards requests to a Web application server if the user is verified.

Announcing GWT 2.0 Milestone 1

2009-10-05 Thread Amit Manjhi
Hi everyone, We are excited to release the first milestone build for GWT 2.0 today. This milestone provides early access (read: known to still be unfinished and buggy) to the various bits of core functionality that will be coming in GWT 2.0. Please download the bits from: http://code.google.com/

Re: Why enfore camelcase stylenames

2009-10-05 Thread Joe Cole
Has this always been the case? I've just started encountering these errors after upgrading to 1.7. On Oct 6, 4:43 am, Paul Robinson wrote: > It's a javascript thing. All CSS names in javascript have to be > camelcase. So it's "border-left" in html, but "borderLeft" in any > javascript DOM code.

Re: Logging errors when JSNI calls your GWT code

2009-10-05 Thread Thomas Broyer
On 5 oct, 22:00, tieTYT wrote: > I've noticed that if JSNI calls your GWT code, the > UncaughtExceptionHandler doesn't get called when an exception falls > through.  Besides wrapping every method in a try/catch, is there > another more elegant solution to this? It depends how (when) your JSNI

Re: String to date in client server side

2009-10-05 Thread Daniel
Is this similar to your problems? http://groups.google.com/group/google-web-toolkit/browse_thread/thread/20aa9df09d1d9ee3/63f4f2bec3783fa3?hl=en#63f4f2bec3783fa3 I had to roll my own solution - you may have too also. Good luck with getting help here. On Oct 5, 6:46 am, Rafael Albani wrote: >

Re: Embedding GWT into Eclipse/OSGi and accessing other Plugins/Bundles

2009-10-05 Thread Jason Parekh
Hey Michael, Sounds like a neat idea, kudos to getting the Hello World to work! I'm curious how it's set up--I assume the Eclipse view showing the GWT app a browser-backed view? Are the plugins you depend on separate projects in your workspace? If so, you can add them as linked source folders to

Re: How to compile a deployable war from a GWT-Project in Eclipse?

2009-10-05 Thread Jason Parekh
On Mon, Oct 5, 2009 at 11:54 AM, Andreas Kahl wrote: > > Hello everyone, > > I may be sitting on my ears, but could someone please tell me how to > compile a war-file from a GWT Project either via command line or in > Eclipse/Googlipse. > - File -> Export -> WAR does not work (When I enter the pr

Embedding GWT into Eclipse/OSGi and accessing other Plugins/Bundles

2009-10-05 Thread jastram
Howdy, I am trying to build an Eclipse-Application with a GWT GUI, running in an Editor or View (The idea is to build an application that can be accessed as an Eclipse App with more features and as a Web App with fewer features). To achieve this, I created an Eclipse-Project with GWT-Nature and

New Positions with GWT

2009-10-05 Thread Anteo Group
Good Afternoon All - My apologies for being the recruiter who email blasts about new positions but I am struggling big-time to find candidates with GWT experience. It seems as though the majority of people with GWT experience in the Atlanta area are gainfully employed (most by Google which means

Re: DockLayoutPanel and YUI

2009-10-05 Thread John Patterson
Right, I have reverted my code to use EM's and can see the problem again.  The code below also shows the problem.  It uses a map in the centre panel and I am not sure if this is where the problem arises.DOCTYPE HTML>

Logging errors when JSNI calls your GWT code

2009-10-05 Thread tieTYT
I've noticed that if JSNI calls your GWT code, the UncaughtExceptionHandler doesn't get called when an exception falls through. Besides wrapping every method in a try/catch, is there another more elegant solution to this? --~--~-~--~~~---~--~~ You received this mes

How to compile a deployable war from a GWT-Project in Eclipse?

2009-10-05 Thread Andreas Kahl
Hello everyone, I may be sitting on my ears, but could someone please tell me how to compile a war-file from a GWT Project either via command line or in Eclipse/Googlipse. - File -> Export -> WAR does not work (When I enter the project's name in the Dialog box 'Web project', it always says 'Modul

History in Hosted Mode on OS X

2009-10-05 Thread Geoffrey Wiseman
I've been doing some development of the project instrastructure to support the GWT history mechanism, and in hosted mode on OS X as launched from the latest 'Google Eclipse Plugin', the history tokens don't show up (as in the URL doesn't change). On friday they were showing up some of the time, a

Re: Sample of a suggestion box connected to a database

2009-10-05 Thread bchoi
public class MyDbOracle extends SuggestOracle { @Override public void requestSuggestions(final Request request, final Callback callback) { String query = request.getQuery().toLowerCase(); Service.query(

Re: client side same-origin IE issue

2009-10-05 Thread Brian Blain
Two thumbs up for deferred binding. I overwrote the HTTPRequestImplIE6 deferred binding with my own ActiveX version. Works great. I hope this thread is useful to someone at some point. ... public class HTTPRequestImplIEActiveX ex

Re: DockLayoutPanel and YUI

2009-10-05 Thread jgw
Could you post code that reproduces either of these cases? The yui- grids thing sounds a little odd, but I'd still like to look into it. But a DockLayoutPanel not working properly on IE6 is very surprising, as those cases should already be tested (and because I've tested them manually). Again, cod

Re: Hosted Mode very slow on Mac

2009-10-05 Thread Rajeev Dayal
Hm, that is odd. I'll try this test myself and let you know. On Mon, Oct 5, 2009 at 1:04 PM, John Patterson wrote: > I updated the Eclipse plugin and still get the problem if I use the Google > launch. This is my version: > Google Plugin for Eclipse 3.5 1.1.1.v200909221731 > > The UI freezes jus

Re: String to date in client server side

2009-10-05 Thread rjcarr
Your question doesn't really make sense but you could look in the DateTimeFormat class for some tools to encode and decode dates. It is really up to you how you want to pass the dates back and forth to the server, but the Date object serializes just fine. On Oct 5, 4:46 am, Rafael Albani wrote:

Re: Adding tool tip to a hyperlink in GWT

2009-10-05 Thread rjcarr
I think setTitle() is the method you're looking for. If that doesn't work (no idea why it wouldn't) then you could instead use a Label with event listeners. On Oct 5, 11:02 am, ART wrote: > Hi All, > How can I add a tooltip to a hyperlink in GWT, I tried > link.setTitle"help"; > where link is m

Re: [gwt] Open HTML link in new window on onClick(ClickEvent event)

2009-10-05 Thread Allen Firstenberg
Take a look at Window.open() On Sun, Oct 4, 2009 at 1:42 PM, DrakeJ wrote: > > What do I fill up here under the ClickEvent to open a new tab in > firefox with say http://www.google.com? > > onClick(ClickEvent event) { > > }}); > > Thankyou > > > > --~--~-~--~~~---~-

Adding tool tip to a hyperlink in GWT

2009-10-05 Thread ART
Hi All, How can I add a tooltip to a hyperlink in GWT, I tried link.setTitle"help"; where link is my hyperlink, this did not help in my case. Any tip is appreciated. Thanks, ART. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: jGrowl from GWT

2009-10-05 Thread charlie
I would also avoid jquery's shorthand notation as it conflicts with a lot of other javascript libs, you can put jQuery.noConflict() , then just use $wnd.jQuery.jGrowl() . Thanks for showing me jGrowl I totally need this :). On Mon, Oct 5, 2009 at 8:42 AM, olivier nouguier wrote: > Hi don't know

Re: Hosted Mode very slow on Mac

2009-10-05 Thread John Patterson
I updated the Eclipse plugin and still get the problem if I use the Google launch. This is my version: Google Plugin for Eclipse 3.5 1.1.1.v200909221731 The UI freezes just like before but when I create my own launch there is no problem Can someone confirm if this bug still exists for OOP

Re: How to implement model change event

2009-10-05 Thread Richard
To be more precise I would like to know if, to manage model change events, it is preferable to use the handler manager and create HasChangeHandler or defining our own model change event mecanism doing, for example, a ModelManager firing model change events to all presenters listening for these eve

Re: GWT, MVP a beginner's question

2009-10-05 Thread Trevis
I've been mockng the views for testing and injecting for integrating. Easymock and mockito do most of what I need. I've also been creating concrete Has... Mock classes as needed. I'm also still feelling things out. On Oct 4, 5:49 pm, Chris wrote: > Don't you just inject a Mock Panel in that

Re: Google Plugin for Eclipse: Use Eclipse Classpath and Libraries

2009-10-05 Thread Rajeev Dayal
Hi, In Hosted Mode, we're trying to mirror the deployment environment as closely as we can. As such, we want to throw an error if you're missing libraries in your war/WEB-INF/lib folder, as this would be an error condition when you actually deploy. If this doesn't answer your question, let me know

Re: GWT Eclipse Project on Multiple Operating Systems?

2009-10-05 Thread Jason Essington
I create User Defined Libraries GWT_DEV and GWT_USER so the classpath and project point to those names, and on each platform those libraries are configured to point to that actual jar files. -jason On Sep 30, 2009, at 11:52 AM, Mary-Anne Wolf wrote: > > I am contributing to an Open Source pr

Re: Problems upgrading from 1.5 -> 1.7

2009-10-05 Thread Rajeev Dayal
Hey Florian, Just to be clear, your gwt.xml files should be in your source folder. So, the .gwt.xml files should never be on the same level as your war folder. As for why putting the war folder as your root folder removed the warning, it is GWT's convention to have the war folder at the root of yo

Re: Hosted Mode very slow on Mac

2009-10-05 Thread John Patterson
Nice one, I think that was it. Didn't realise it had been fixed so thanks. On 5 Oct 2009, at 22:55, Rajeev Dayal wrote: > Hey John, > > Were you attempting to launch in Out-of-process-hosted-mode? If so, > there was a bug that was fixed in version 1.1.1 of the plugin where > the -XstartOnF

Re: Installing GWT 1.7.1 + Eclipse 3.5 + OSX 10.5

2009-10-05 Thread Rajeev Dayal
Glad that it is working, and I'm sorry that we're only getting back to you now! On Thu, Oct 1, 2009 at 1:21 PM, jrklein wrote: > > PROBLEM RESOLVED > > It seems my Eclipse+GWT problems were caused by incomplete/corrupt > downloads all around. Pretty frustrating since I frequently run file > int

Re: GWT Eclipse Project on Multiple Operating Systems?

2009-10-05 Thread Rajeev Dayal
In GWT 2.0, there will no longer be a platform-specific version of the gwt-dev jar, so this problem will go away. For now, one way to handle it would be to leave a reference to the platform-specific jar in the project's classpath. The other developer will need to modify the classpath and change out

Re: Installing GWT Plugin in Eclipse Galileo JEE & Snow Leopard

2009-10-05 Thread Rajeev Dayal
Hi Martin, I tried to reproduce the problem using the JEE version on Linux, but I was not able to run into the exception that you're seeing. What workspace are you using when you use the new install of JEE? Are you using an old workspace, or a new one? Rajeev On Thu, Oct 1, 2009 at 5:30 AM, MAr

Re: DOM over RPC

2009-10-05 Thread Jason Essington
does Document.toString() give you something you can use on the server side? -jason On Oct 5, 2009, at 1:22 AM, Parmeet Kohli wrote: > > Hi, > >I'm using the XMLParser class provided by GWT to create modify an > XML document on the client side. I need to use the JAVA > TransformerFactory an

Re: Hosted Mode very slow on Mac

2009-10-05 Thread Rajeev Dayal
Hey John, Were you attempting to launch in Out-of-process-hosted-mode? If so, there was a bug that was fixed in version 1.1.1 of the plugin where the -XstartOnFirstThread argument was being added to out-of-process-hosted-mode launch configurations. This was not the correct behavior, and would have

Re: Why enfore camelcase stylenames

2009-10-05 Thread Paul Robinson
It's a javascript thing. All CSS names in javascript have to be camelcase. So it's "border-left" in html, but "borderLeft" in any javascript DOM code. Joe Cole wrote: > Can someone explain why this code from com.google.gwt.dom.client.Style > is enforcing camelcase: > > private void assertCamelC

Re: Getting GWT working with WIndows 7

2009-10-05 Thread Rajeev Dayal
What version of GWT are you using? Shot in the dark, but have you made any changes to your Internet Explorer preferences? Also, have you seen this happen when you try to access any other pages? On Wed, Sep 30, 2009 at 12:42 PM, Power Bottom wrote: > > I'm using windows 7 and it works the same a

Re: Async testing of "X does not occur" with JUnit

2009-10-05 Thread Nala
Oh! of course. That's perfect, thank you. Nancy Deschenes On Oct 5, 11:12 am, Thomas Broyer wrote: > On 5 oct, 16:18, Nala wrote: > > > > > > > I have started writing a few tests, and I have successfully confirmed > > that the events I expect to see fired are fired.  I`m using variations > >

Re: client side same-origin IE issue

2009-10-05 Thread Brian Blain
On Oct 4, 8:52 am, David Given wrote: > I don't know of any web browsers that actually get Javascript security > right when using the file: scheme --- they usually just deny everything > (as you're finding out). > > How badly do you need to run this on a machine without a webserver? i.e. > could

Why enfore camelcase stylenames

2009-10-05 Thread Joe Cole
Can someone explain why this code from com.google.gwt.dom.client.Style is enforcing camelcase: private void assertCamelCase(String name) { assert !name.contains("-") : "The style name '" + name + "' should be in camelCase format"; } --~--~-~--~~~---~--

Re: server side internationalization

2009-10-05 Thread bufferings
> that's exactly what I need and it runs perfectly ! > > Thanks a lot ! Glad to hear that. > Bufferings, when I look at your site, the procedure to make it work seems to > be more complex. Why ? >From my site's [How Does It Work?]== Kotori I18N uses the super-source trick. It gives the super-so

Re: WebAppCreator fails with Elipse because of special character in project name

2009-10-05 Thread Jason Parekh
Hi, thanks for reporting the issue. There didn't seem to be a bug open, so I've created one at http://code.google.com/p/google-web-toolkit/issues/detail?id=4109 Thanks, jason On Mon, Oct 5, 2009 at 4:26 AM, BanZZaï wrote: > > Hi everyone, > > I just want to help people so please don't mind me f

Re: Async testing of "X does not occur" with JUnit

2009-10-05 Thread Thomas Broyer
On 5 oct, 16:18, Nala wrote: > I have started writing a few tests, and I have successfully confirmed > that the events I expect to see fired are fired.  I`m using variations > on > >   public void testEventFired() { >     delayTestFinish(2000); >     Foo myFoo = new Foo(); >     myFoo.addChange

Re: Info about GWT for .NET

2009-10-05 Thread eguardiola
no, but GWT is server side agnostic. On 5 oct, 10:51, Zoster wrote: > Hi all, > Is there any implementation of GWT for ,NET ? > Cheers. > >              Zoster --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google

Re: server side internationalization

2009-10-05 Thread Jerome Cance
Wooah, that's exactly what I need and it runs perfectly ! Thanks a lot ! I think this kind of feature should be available directly in the GWT project. Bufferings, when I look at your site, the procedure to make it work seems to be more complex. Why ? I don't add the super-source tag and it runs

Re: History handling

2009-10-05 Thread Daniel
> Here's how I'd like it to work: > > User enters a URL: new token is removed from the current history > without reloading elements on the page, token is evaluated by the > developer's StateHandler's validateToken() method, and > ClientHistoryHandler.update() is called with a proper token. > User

Re: History handling

2009-10-05 Thread Daniel
> Here's how I'd like it to work: > > User enters a URL: new token is removed from the current history > without reloading elements on the page, token is evaluated by the > developer's StateHandler's validateToken() method, and > ClientHistoryHandler.update() is called with a proper token. > User

Re: History handling

2009-10-05 Thread Daniel
> Here's how I'd like it to work: > > User enters a URL: new token is removed from the current history > without reloading elements on the page, token is evaluated by the > developer's StateHandler's validateToken() method, and > ClientHistoryHandler.update() is called with a proper token. > User

Re: History handling

2009-10-05 Thread Daniel
> Here's how I'd like it to work: > > User enters a URL: new token is removed from the current history > without reloading elements on the page, token is evaluated by the > developer's StateHandler's validateToken() method, and > ClientHistoryHandler.update() is called with a proper token. > User

Re: History handling

2009-10-05 Thread Daniel
> Here's how I'd like it to work: > > User enters a URL: new token is removed from the current history > without reloading elements on the page, token is evaluated by the > developer's StateHandler's validateToken() method, and > ClientHistoryHandler.update() is called with a proper token. > User

Re: server side internationalization

2009-10-05 Thread bufferings
Hi Jerome > I want to do on my server side: > myConstants.myMessage(); I also thought about the same thing with you, and I created that with javassist. [Kotori I18N Project] http://code.google.com/p/kotori/wiki/KotoriI18N?wl=en I think a part of the project is useful to you. If you try using th

Async testing of "X does not occur" with JUnit

2009-10-05 Thread Nala
I have started writing a few tests, and I have successfully confirmed that the events I expect to see fired are fired. I`m using variations on public void testEventFired() { delayTestFinish(2000); Foo myFoo = new Foo(); myFoo.addChangeHander(new ChangeHandler() { public void

Re: How a GWT module can be loaded dynamically?

2009-10-05 Thread bgoetzmann
Is someone have some idea to do that? Bertrand ;-) On 24 sep, 21:29, Raziel wrote: > I have a similar problem. I need to be able to load my entry point > class without using a script tag. > > The .nocache.js script depend on being loaded through the tag since it > uses the src attribute to fin

Re: Panel is giving its offset width before super.onAttach() is called

2009-10-05 Thread Thomas Broyer
On 5 oct, 12:59, Rick wrote: > Hi all > > I am making an application using GWT 1.7. But I am surprised by the > behaviour I got. I took a vertical panel and add a button on this. I > set width of button to 500px. Now What I was expected that in onAttach > () of Vertical panel, before calling su

Re: jGrowl from GWT

2009-10-05 Thread olivier nouguier
Hi don't know much about jGrowl But JNSI call should rather look like $wnd.$.jGrowl("blah blah"); HTH On Mon, Oct 5, 2009 at 3:11 PM, ledzgio wrote: > > Hi, how can i call jGrowl notification library from a GWT class? i > made a native method, added the js files to the gwt.xml file and did: > >

Re: Open Source WIdget Library

2009-10-05 Thread D Peters
GWT-EXT is a solid library. The only major drawback is that they do not support versions of EXT past 2.0(.6?) when the commercial license kicked in.. The main developer moved to work on SmartGWT after the license "switcheroo" that Ext pulled. --~--~-~--~~~---~--~~

jGrowl from GWT

2009-10-05 Thread ledzgio
Hi, how can i call jGrowl notification library from a GWT class? i made a native method, added the js files to the gwt.xml file and did: $wnd.jGrowl("notify message"); but it doesn't work..how can i fix it? which is the right way to call the js function? thanks a lot The js file library is her

String to date in client server side

2009-10-05 Thread Rafael Albani
Hello everybody, i have a question about the conversion the one string for date, i need to convert in the client server to pass to the server side, thank now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google W

WebAppCreator fails with Elipse because of special character in project name

2009-10-05 Thread BanZZaï
Hi everyone, I just want to help people so please don't mind me for not taking the time to check if the bug is already known or not. Just wanted to tell you that I couldn't create a project with the character ä in the name. With Eclipse 3.5 and gwt 1.6.4 or 1.7.1. There might be a reason, a work

Info about GWT for .NET

2009-10-05 Thread Zoster
Hi all, Is there any implementation of GWT for ,NET ? Cheers. Zoster --~--~-~--~~~---~--~~ 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-toolkit@g

Re: server side internationalization

2009-10-05 Thread Lothar Kimmeringer
Hello Jerome, Jerome Cance schrieb: > Thank you for this response, I was thinking of a solution like this but > what I don't like in this solution is the use of a constant for server > side ressource bundle. > > If I can, I want to use a function to refer to an internationalized string. Check o

Re: server side internationalization

2009-10-05 Thread Jerome Cance
Thank you for this response, I was thinking of a solution like this but what I don't like in this solution is the use of a constant for server side ressource bundle. If I can, I want to use a function to refer to an internationalized string. In summary: I want to do on my server side: myConstant

Re: server side internationalization

2009-10-05 Thread Lothar Kimmeringer
Jerome C. schrieb: > I need to use internationalization files on server side (send email, > and email content is internationalized). > When I use GWT.create on my server side, it does not run (exception). [...] > If I can, I don't want to use two different mechanisms for client and > server int

server side internationalization

2009-10-05 Thread Jerome C.
Hello, I need to use internationalization files on server side (send email, and email content is internationalized). When I use GWT.create on my server side, it does not run (exception). Is there a solution to do that ? I use Spring on my server side, so if there is a solution to use gwt l18n f

Re: Unable to find type 'com.aadhyah.sponsorer.ui.client.Sponsorer'

2009-10-05 Thread Sanjeev
Fixed this problem... On Oct 5, 11:32 am, Sanju wrote: > hi all, > > I am getting the following errors when I added a new source folder to > my existing project. > > [ERROR] Unable to find type > 'com.aadhyah.sponsorer.ui.client.Sponsorer' > [ERROR] Hint: Previous compiler errors may have made t

Re: Panel is giving its offset width before super.onAttach() is called

2009-10-05 Thread Rick
Hi all Sorry to say expected behaviour entered wrong. It should be: Actual output Before vp attached to RootPanel Offset width:0 Before super.onAttach called Offset width:500 After super.onAttach called Offset width:500 Expected output Before vp attached to RootPa

Panel is giving its offset width before super.onAttach() is called

2009-10-05 Thread Rick
Hi all I am making an application using GWT 1.7. But I am surprised by the behaviour I got. I took a vertical panel and add a button on this. I set width of button to 500px. Now What I was expected that in onAttach () of Vertical panel, before calling super.onAttach(), the offsetWidth of vertical

How do GWT encode JSON?

2009-10-05 Thread Dims
Hi! I have noticed, that JSON messages from GWT site contains mostly arrays. But these arrays have sequences of variable length within them. How to determine equence length? Thnx. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: How to show history for text fields?

2009-10-05 Thread Vikas
Thanks a lot to all of u for your help :) --Vikas On Oct 1, 4:26 pm, Ian Bambury wrote: > If you want to make it available, ensure your textbox has an id - there are > commonly accepted ids like 'email' for email address and 'q' for search > query that will allow your users to access autocomple

Re: Changing UI Theme at runtime.

2009-10-05 Thread Thomas Broyer
On 4 oct, 01:41, AndyB wrote: > I know it is possible, as it is done in the showcase example. > > I have tried looking through the code for the example but it is > somewhat confounding. > > What I am interested in doing is changing the GWT user interface > theme, the one that is inherited from

Re: Dependency injection and GWT?

2009-10-05 Thread Thomas Broyer
On 5 oct, 00:45, Chris Burrell wrote: > Hi > > I want to build a view in GWT but it is one of a few different types of > views. So I was thinking, I could > have them all share something common via inheritance, so that I could inject > any kind of view I'd like into my module... > I'm having tr

Re: 503 Service_Unavailable error

2009-10-05 Thread Pavel Byles
Fixed it... it was some misplaced appengine jars On Mon, Oct 5, 2009 at 3:19 AM, Pavel Byles wrote: > In my console I see that there are a bunch of ClassNotFoundException > errors. > > I think that maybe it's because I deleted files from the > WEB-INF/appengine-generated (not the war/WEB-INF/app

Re: python gwt

2009-10-05 Thread mariyan nenchev
How many people develop in java and how many people develop in python? When you understand that you will get the answer og your question. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To

DOM over RPC

2009-10-05 Thread Parmeet Kohli
Hi, I'm using the XMLParser class provided by GWT to create modify an XML document on the client side. I need to use the JAVA TransformerFactory and Transformer classes so that i can indent the XML. Is it possible to send the document (class Document) to the server via RPC ? (so that i can do

503 Service_Unavailable error

2009-10-05 Thread Pavel Byles
In my console I see that there are a bunch of ClassNotFoundException errors. I think that maybe it's because I deleted files from the WEB-INF/appengine-generated (not the war/WEB-INF/appgenerated) folder. Any idea how to possibly get this fixed? --~--~-~--~~~---~--~--