Re: Default Custom Field Serializer

2010-06-10 Thread jd
Further to this - I have tried creating a Generator that creates CustomFieldSerializer source code for any class with a certain annotation but these generated serializers are not found and used. How can I generate CustomFieldSerializers so that they are picked up by the RPC mechanism? Is it due

Re: Cleaning up threads on GWT application shutdown

2010-06-10 Thread Jason Morris
Hi Jim, Generally I would register a ServletContextListener with the application-server (in your case Tomcat) to start and stop background services. You would register it in your web.xml file: listener listener-classcom.company.webapp.MyContextListener/listener-class /listener Hope this

Using Google Voice Video Chat plug-in in GWT

2010-06-10 Thread Saeed Zarinfam
I want to write a GWT program that uses Google Voice Video Chat plug- in. Is there any GWT API for doing this work ? -- 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.

Re: Managing of connection to JMS server, listening to JMS Topic

2010-06-10 Thread vkrejcirik
Hi Chris, thank you for your links. They help me a lot! thanks On 8 čvn, 16:08, Chris Lercher cl_for_mail...@gmx.net wrote: Are you looking for this: http://forums.sun.com/thread.jspa?threadID=5397323 Probably, an even cleaner alternative would be to inject aJMS ConnectionFactory using

Re: Compilation NullPointerException

2010-06-10 Thread mmoossen
hi daniel, stefan! i have not had this problem, but wow, i would have never come to that idea, never ever!! but this looks pretty much to me like a compiler bug so it would be good to file an issue, just to get it first better documented. i mean non static inner classes are valid java cosntructs

Re: Get today's date, and the first day of this week's date?

2010-06-10 Thread Lothar Kimmeringer
Charles Keepax schrieb: As for performing operations on Dates such as adding days I usually use the getTime method (this returns the Date as a long representing the number of milliseconds that have passed since January 1, 1970, 00:00:00 GMT) and operate on the dates as a long. So for example

Re: Synchronous Calls with RPC??

2010-06-10 Thread Olivier Monaco
I'm okay for blocking one part of the application or the whole for global processing (login...). What I dislike is application blocking me when I just ask for a little component to upgrade. Like if you have a iGoogle page and click refresh on one widget block all widgets ;). Olivier On 10 juin,

Re: Using Javascript Overlays vs. Manually setting up POJO instances?

2010-06-10 Thread Olivier Monaco
You have also some framework like piriti allowing easy mapping between JSON and Java object. But I don't like them because their overhead. I use another approach. My model is made of interfaces. I share the interfaces between the server and GWT. For GWT, I have a generator that automatically

Re: Using JavaScript Overlay Types for Nested JavaScriptObjects

2010-06-10 Thread Olivier Monaco
Hi, Imagine you have this in your HTML page: - html ... script window.data = { prop1 : { prop2: 42 } }; /script ... /hmtl - First create a JSO for the prop1 value: class InnerJSO extends JSO { protected InnerJSO() {} public native int getProp2() /*-{ return this.prop2;

Re: Does entire IncrementalCommand run in one tick?

2010-06-10 Thread Thomas Broyer
On 10 juin, 01:25, macagain rgk...@gmail.com wrote: Do all steps of an IncrementalCommand run in one tick, or does it return control to the js event loop in between steps, thereby allowing other commands on the deferred queue to run in between steps?  e.g. List results = some list returned

Re: Hook before History changes

2010-06-10 Thread Thomas Broyer
On 8 juin, 17:29, fmod francisco.mode...@gdsoft.eu wrote: Hi, I think that question has been posted before but don't find any answer for it. I want to have a behavior like this forum, Whenever the user press back or forward buttons being able to alert the user that he is going to loose the

Re: No source code is available error when using resources

2010-06-10 Thread Thomas Broyer
On 8 juin, 17:57, AkiRoss akirosspo...@gmail.com wrote: Hello, I'm trying to use ClientBundle for icons and Constants for text in my application, but I get these errors: [ERROR] Line 133: No source code is available for type resources.images.IconsBundle; did you forget to inherit a

Re: Using Javascript Overlays vs. Manually setting up POJO instances?

2010-06-10 Thread Roger Studner
The only problem I found with this interface technique (which I immediately wanted) was this: public interface MyEntity { ListString getNames(); } The javascript overlay type has to deal in JSArray's, the server can't etc. So for all lists/collections I found it broke down pretty quick

Re: Using jqPlot library (javascript chart) with the MVP pattern

2010-06-10 Thread Rizen
Thank you very much for this explication. However I had already added a div id=chart1/div Element into the HTML page to be sure that it was adding correctly. But I will use your method for the wrapper. After this I make two different test. First I used only the JQuery library with a simple $wnd.$

Disabling DatePicker

2010-06-10 Thread Stephan T
How do I disable the DatePicker widget programatically? Can't find any suitable setEnabled-method... -- 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: 1 layout - 3 browsers - 3 results?

2010-06-10 Thread Magnus
Hi Alejandro, thank you very much!!! This solution seems to be perfect for me! I played around a little bit. I Changed the base class for the ChessTable to DockLayoutPanel, to add some annotations to the chess board. This worked, too! Then I inserted a grid into the center section of

GWT Localistion for Large Enterprise apps

2010-06-10 Thread Brian
Hi, I am developing a massive enterprise application from scratch using GWT. I want to use GWT's implementation of localisation but I have some concerns with performance. I will have thousands of labels across all my screens that will require conversion to the appropriate language. Do I have to

Re: Using Javascript Overlays vs. Manually setting up POJO instances?

2010-06-10 Thread Olivier Monaco
My TNativeList is a list-like wrapper around a JS array (http:// code.google.com/p/tyco/source/browse/trunk/tyco-gwt/src/main/com/ googlecode/tyco/gwt/tikray/client/TNativeList.java). It is used by TList, a List implementation that maps a JS array to a List without (too much) overhead. The

com.google.gwt.core.client.JavaScriptException: (TypeError): methodTable[2] is not a function

2010-06-10 Thread GregCA75
Hi guys, I have just upgraded my web application from GWT 1.5 to GWT 2.0.3 and I get this error: uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError): methodTable[2] is not a function stack: $serialize([object Object],[object Object],[object

Google visualization over HTTPS

2010-06-10 Thread Flavien Laurent
I am using GWT 2.0.3 and have a page, compiled as client-side Java code into JavaScript containing a Google Visualization chart included in the Java code with VisualizationUtils.loadVisualizationApi. This page is delivered over https. The problem being that the call to retrieve the chart from

Page Navigation

2010-06-10 Thread CIAO
Hi I am a newbie to GWT and am working on an application Dev that has a login page and when the user successfully identifies itself it goes to a data page (loads the new data widgets after removing the login widgets) that shows it all the data s/he requires the problem i am facing is whenever i

GWT Expert job opening

2010-06-10 Thread Annabeth Daly-TEKsystems
Please contact me, anmil...@teksystems.com, if interested in a great opportunity for a GWT Expert opening in Norfolk, VA for a government client. This position will allow a candidate to gain a security clearance. Position is as follows: Google Web Toolkit Expert Job Description: TEKsystems has

app engine with hosted mode

2010-06-10 Thread alexh
Hi, I am currently developing a GWT application that will run on Google App Engine. I have chosen to use Maven and am running my application from the command line for debugging and testing. What I would like to be able to do is run my application in the GWT 2.0 hosted environment but still

Does @DefaultMessage and @PluralText really work?

2010-06-10 Thread PEZ
I'm making (porting really) a relative time module for human readable date-and-time messages to GWT. The first (alpha-ish) version is up on Github: http://github.com/PEZ/GWT-Relative-Time Anyone who tries it will notice that it reports all times as plurals. When it should say an hour ago, it says

Re: calling rest service from GWT

2010-06-10 Thread PEZ
On Jun 9, 11:36 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote:    This has some disadvantages - authentication cookies meant for external    domain will not be sent by the browser. What does that mean in practice? /PEZ -- You received this message because you are subscribed to the

GWT with Seam in Host mode.

2010-06-10 Thread Nag
Hi I am developing one application with seam-2.2.0 and GWT-2.0.3. I am able to deploy the application in Jboss server with ant script, but am not able to run the same application in host mode with built in jetty server. I am getting the runtime exception No Such Component while running in host

Re: Safari 5 / GWT / GWT EXT 2.0.6

2010-06-10 Thread Dan Dunham
Here is the underlying Webkit bug causing this: https://bugs.webkit.org/show_bug.cgi?id=40355 -- 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

Re: Get today's date, and the first day of this week's date?

2010-06-10 Thread Nicholas
To answer #6: I asked the GWT team about this during the fireside chat at I/O this year. They appeared to be caught off guard by the question but eventually came out and said that they have no plans on resolving this issue. I kind of got the feeling that this was the first time that it came up

Re: quirks vs. standard mode

2010-06-10 Thread Ata
In GWT some widgets only work properly in quirks or standard mode, not both. As far as I could tell I should be running the app in standard mode because I have !doctype html as the first line of the root HTML page, however widgets like TabLayoutPanel that are supposed to work in standard mode

How to suppress Deprecation warnings

2010-06-10 Thread Sekhar
Hi I am using GWT 2.0.3 and gwt-incubator-20100204 in building our application. After migation from GWT 1.5.3 to GWT 2.0.3, i see below deprecation warnings while compiling the code using GWT compiler. Also you can see all these warnings are due to deprecated class references from incubator jar.

Re: Google first page - Change background image - in GWT?

2010-06-10 Thread mmoossen
Hi, Matic! It would be a really huge reference i think Google Wave is a better example anyway! regards Michael On Jun 9, 3:03 pm, rudolf michael roud...@gmail.com wrote: yeah you're right...just the obfuscated js made think that it is GWT, but apparently there is not

Re: Using jqPlot library (javascript chart) with the MVP pattern

2010-06-10 Thread Rizen
I'm a stupid boy... I forgot to replace ALL $.jqplot() by $wnd. $.jqplot(); It's an improvement, but now the error has changed by : com.google.gwt.core.client.JavaScriptException: (String): Improper Data Array The table works in a HTML page, so I don't know why not here :/ I'm going to

Re: quirks vs. standard mode

2010-06-10 Thread Daniel Le Clere
Ummm... IE 6 doesn't have a standards mode... Adding that doctype is probably just causing more issues. The HTML 5 doctype is useful for forcing IE 7 and 8 into standards mode. If you want to get your program rolling for IE 6 you're going to have to write some specific views under the MVC or

Re: GWT Localistion for Large Enterprise apps

2010-06-10 Thread Stefan Bachert
Hi Brian, let us calculate 1000 Labels, average 10 characters in size. makes 10KByte How fast do you expect your network? 10KB/s - 10 Sec (Modem) 100KB/s - 1 Sec (ISDN) 1MB/s - 0.1 Sec (DSL) 10MB/s - 0.01 Sec (ADSL) 100MB/s - 0.001 Sec (intranet) How often this addition time applies? Exactly

Re: Disabling DatePicker

2010-06-10 Thread Stefan Bachert
Hi Stephan, Yes, that is odd. Any Widget/UIObject should be able to disable. Anyway, sometime it works to set the dependent style to disabled. Stefan Bachert http://gwtworld.de On Jun 10, 12:58 pm, Stephan T stephan.tern...@gmail.com wrote: How do I disable the DatePicker widget

Re: Using jqPlot library (javascript chart) with the MVP pattern

2010-06-10 Thread Olivier Monaco
Because the array is bound to the sub-frame used by GWT. When you create an array using [], the Array function is called. This is the same as new Array(). Then the following condition returns true: [].constructor == Array. But, there is an Array function for each frame. If you create an array in

Re: quirks vs. standard mode

2010-06-10 Thread Chris Lercher
Daniel, IE 6 does have something like a standards mode - it's not really standards compliant, but it does behave differently, when putting it into that mode. That's because, when it's in quirks mode, then it behaves like IE 5.5. See http://www.quirksmode.org/css/quirksmode.html for more details.

Re: LayoutPanel question

2010-06-10 Thread Stefan Bachert
Hi Chris, it is not really clear to me. Did you switched of the added child, or the layer (div) containing the added child. The first is not suffient and will leave the layer (div). I think, the correct method to get the layer div of any child widgets is getWidgetContainerElement. Call this and

Re: Does @DefaultMessage and @PluralText really work?

2010-06-10 Thread PEZ
I'm using GWT 2.0.3. I have now also tried using a .properties file instead. Like so: hours[one]=an hour hours={0} {1,number} hours {2} With the same, boring, results. /PEZ On Jun 9, 10:38 pm, PEZ p...@pezius.com wrote: I'm making (porting really) a relative time module for human readable

Renaming nocache.js

2010-06-10 Thread Aditya
Hi, Does renaming nocache.js affects deployment? Cheers, Aditya -- 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 to

Re: Safari 5 / GWT / GWT EXT 2.0.6

2010-06-10 Thread eric73
Thanks all I will try to fix some peace of code in my application Cheers Eric On 9 juin, 23:53, Dan Dunham dunha...@gmail.com wrote: Here is the underlying Webkit bug causing this:https://bugs.webkit.org/show_bug.cgi?id=40355 -- You received this message because you are subscribed to the

GWT eclipse plugin source code

2010-06-10 Thread fedy2
Hi, when the GWT eclipse plugin source code will be released? Thanks, Federico -- 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

Re: GWT, servlet, JSP and datastore

2010-06-10 Thread kensai yanesha
@Tristan thx 4 info On 9 čvn, 18:32, Tristan Slominski tristan.slomin...@gmail.com wrote: @kensai If you look at Google App Engine, the datastore is part of Google's free-to-start cloud hosting service. On Wed, Jun 9, 2010 at 02:56, kensai yanesha archenr...@googlemail.comwrote: Hi

Re: GWT and Spring - with Spring Web MVC or without it?

2010-06-10 Thread Brian Reilly
I've had good luck with the second (non-invasive) approach. A coworker of mine implemented the first (using Spring MVC) approach and it did work for the most part. However, we aren't otherwise using Spring MVC and don't have any broad expertise in it, so I was initially confused when looking at

Re: Seeing RangeError: Maximum call stack size exceeded. with Safari 5 and our GWT 2.0.3 app

2010-06-10 Thread Brian Reilly
This is being discussed in another thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/e4e2694eba39f93d -Brian On Jun 8, 11:07 am, matthew jones bigboxe...@gmail.com wrote: Anyone else having this issue? -- You received this message because you are subscribed to

Re: Seeing RangeError: Maximum call stack size exceeded. with Safari 5 and our GWT 2.0.3 app

2010-06-10 Thread Brian Reilly
Also this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/3886f3c851bdefdc On Jun 10, 9:33 am, Brian Reilly brian.irei...@gmail.com wrote: This is being discussed in another thread: http://groups.google.com/group/google-web-toolkit/browse_thread/threa...

Re: Disabling DatePicker

2010-06-10 Thread mariyan nenchev
Hi, you can try this: public void setEnabled(boolean enabled) { DOM.setElementPropertyBoolean(getElement(), disabled, !enabled); if (enabled) { this.removeStyleName(disabled); } else { this.addStyleName(disabled); } } public

Re: No source code is available error when using resources

2010-06-10 Thread AkiRoss
On Jun 10, 12:50 pm, Thomas Broyer t.bro...@gmail.com wrote: I believe your app's gwt.xml is in myproject, and it has a source path=client / (or no source/ at all, which is equivalent). If that's the case, then the interfaces aren't within the myproject.client package so you can't use them

Re: Cleaning up threads on GWT application shutdown

2010-06-10 Thread jhulford
Technically, the proper way according to the specs is to not utilize background threads. Of course, since nobody actually obeys that proclamation, use a ServletContextListener to start your Thread when the servlet context is started and stop the thread when the context is being destroyed. In

Re: Extracting the year from a Date() object

2010-06-10 Thread Eric
On Jun 10, 6:31 am, Thomas Broyer t.bro...@gmail.com wrote: On 8 juin, 16:29, Eric erjab...@gmail.com wrote: Sadly, the best method is to use GWT's DateTimeFormat: private static final DateTimeFormat YEAR_FORMAT = DateTimeFormat.getFormat(); public static int year(final Date date)

Re: problem with RequestBuilder

2010-06-10 Thread Alex
im using cobogwave to build my wave gadget, when i add add-linker name=xs/ it show some boot error On Jun 8, 4:34 pm, nino ekambi jazzmatad...@googlemail.com wrote: I think you could use the xs-linker. But i think even that wont help if the browser from wich u make the request doesnt allows

Re: Safari 5.0 with GWT 1.7.x?

2010-06-10 Thread Geoffrey Wiseman
On Jun 8, 10:47 am, Geoffrey Wiseman geoffrey.wise...@gmail.com wrote: Anyone tried Safari 5.0 with GWT 1.7.x to see if it solves the crash issue? (http://code.google.com/p/google-web-toolkit/issues/detail?id=4220) Got bored of waiting. Tried it myself. Seems to work so far; pleasing. --

Re: calling rest service from GWT

2010-06-10 Thread Vitali Lovich
Browsers support XML, but unfortunately there's no API exposing that. Google provides the XML parser http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/index.html?overview-summary.html You may have to write your own code to generate that request. On Thu, Jun 10, 2010 at 12:12 AM, PEZ

Re: Extracting the year from a Date() object

2010-06-10 Thread Thomas Broyer
On 10 juin, 17:05, Eric erjab...@gmail.com wrote: On Jun 10, 6:31 am, Thomas Broyer t.bro...@gmail.com wrote: On 8 juin, 16:29, Eric erjab...@gmail.com wrote: Sadly, the best method is to use GWT's DateTimeFormat: private static final DateTimeFormat YEAR_FORMAT =

Access ClientBundle ImageResource from UiBinder

2010-06-10 Thread David Grant
Has anyone succeeded in using @sprite selector {gwt-image: ...} in a uibinder file to access an image in a ClientBundle? I've tried the following which Chris Ramsdale at Google claimed would workhttp://groups.google.com/group/google-web-toolkit/browse_thread/thread/ed48cc0ddde4b52fbut it doesn't:

Re: Access ClientBundle ImageResource from UiBinder

2010-06-10 Thread David Grant
The other solution which seems to work is that I can put @sprite .header { gwt-image: 'myimage'; } in a css file and reference it as a CssResource in a ClientBundle...then it will look for an image resource called 'myimage' in that ClientBundle. it works but it just puts stuff in

Re: Renaming nocache.js

2010-06-10 Thread Sripathi Krishnan
Haven't tried, but should not matter. On 6/10/10, Aditya 007aditya.b...@gmail.com wrote: Hi, Does renaming nocache.js affects deployment? Cheers, Aditya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: 1 layout - 3 browsers - 3 results?

2010-06-10 Thread Magnus
Hi, there is a strange problem with the menubar in your example using IE8 (not with FF). When it opens a popup menu, the whole page disappears and only the popup menu is visible. The popup menu is added to the menubar as follows: MenuBar m= new MenuBar (true); m.addItem (Login,

opening popup menu hides all remaining page content

2010-06-10 Thread Magnus
Hello, I found a strange problem under IE 7: When I click on a menu item that opens a popup submenu, the whole page content (all widgets including the menubar itself) is hidden and only the popup menu is visible. I reduced the code to a minimum example and added it at the end of this posting.

retrieving the size of a panel/widget before it is added

2010-06-10 Thread Magnus
Hi, when I add a VerticalPanel to the center of a DockLayoutPanel, it will immediately be stretched to the remaining size of its parent. But I would like it to keep its natural size, i. e. the size it needs for its children (and then center it within its parent). So I tried to get its size,

[gwt-contrib] mail patch

2010-06-10 Thread Stephen Haberman
Hi, I was playing with the Mail example this morning and saw a stack trace casting the Message class to Comparable for the TreeMap inside of the MailSelectionModel.toString(). Seemed to happen most reliably when clicking select all on this page. A simple fix is attached. Thanks, Stephen --

[gwt-contrib] Re: Fixes pathological slowness in remote UI logger (GPE) (issue550801)

2010-06-10 Thread rdayal
I like the cleanup you've done here - however, there are a few things that I'd like you to take a look at before I give the LGTM. Let's go for one more round on this one; we can discuss this stuff f2f if it's easier. Side note: When these changes to MessageTransport land, we should update GPE so

[gwt-contrib] Adding AbstractListViewAdapter#getViews() to get the views associated with an adapter. Also add... (issue601801)

2010-06-10 Thread jlabanca
Reviewers: jgw, Description: Adding AbstractListViewAdapter#getViews() to get the views associated with an adapter. Also adding some tests for com.google.gwt.view.client. Please review this at http://gwt-code-reviews.appspot.com/601801/show Affected files: M

[gwt-contrib] Thoughts on GWT MVP

2010-06-10 Thread jarrod
After reading and viewing the sessions from I/O, I felt compelled to respond with my thoughts on MVP, history management, and a few other things that relate. Please check out my post: http://dev.methodknowledgy.com/2010/06/05/comments-on-gwt-mvp/ Comments welcome. Thanks! --