Re: UTF-8 Encoding problem

2010-11-27 Thread agi
I had the same problem as well (but using JBOSS).. it is still pending.. temporary workaround was creating a Filter (javax.servlet.Filter ) which sets encoding to every response.. but in near future I need to do it on some smarter way:) Hope somebody will answer this question, cheers agata On

File upload

2010-11-27 Thread Sreekanth Nambiar
Hi, What is the best approach to upload a file? 1. Is it mandatory to submit the form? How should i implement the Remote Service in this case? 2. Can i upload the file with an asynchronous call? What should be the input parameters to the Remote service method in this case? Can anybody help

Re: newbie trying to use htmlunit gwt 2.1 to test greet example

2010-11-27 Thread Steve Moyer
You aren't finding any buttons because HTML doesn't have a button tag. Use one of the methods described under Finding a specific element at this page: http://htmlunit.sourceforge.net/gettingStarted.html. I generally find myself needing xpath sooner or later. smoyer On Nov 6, 4:45 am, Ray Tayek

Re: different Google Update Sites???

2010-11-27 Thread Eric Clayberg
You are correct. Both can be used together without any problems. The current version of GWT Designer is designed to work with all recent version of GWT up to GWT 2.1. And, yes, the integration will get better and better over time. :-) -Eric On Nov 26, 10:03 am, Didier Durand

Re: Gilead AND GWT

2010-11-27 Thread Richard Berger
I had some difficulties getting Gilead/Hibernate/GWT working together, but here is something I posted about 11 months ago after I got it all working - hope it helps you... http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg34602.html Enjoy, RB On Nov 25, 12:00 pm, Noor

New blog article about my latest GWT project

2010-11-27 Thread Jeff Schwartz
I've created a new blog article with screen shots about my latest GWT project. If you are interested please point your browser to http://jeff-schwartz.blogspot.com/2010/11/screenshots-of-love-my-vehicle-on-web.html . I will be updating the article periodically as development of the application

Re: Repeating Timer and onUnload()

2010-11-27 Thread Max Jonas Werner
Hi ep, yeah, that's what I meant with putting the cancel() call in onUnload(). Max On Nov 24, 11:08 am, ep eplisc...@googlemail.com wrote: subclass a timer to your custom, which binds on a widget it works with. when the widget is detached your timer can cancel himself - kinda selfdestruction

Re: File upload

2010-11-27 Thread Jim Douglas
Yes, you must submit the form to upload a file (or files), and the file(s) must be selected by direct action of the user. The basic structure is: On the client side, a GWT FormPanel containing a FileUpload widget (and optionally other information, e.g. one or more Hidden fields containing

Re: How do you use Custom Widgets (Composites) multiple times?

2010-11-27 Thread Paul
That above code does not work. I have tried it exactly. The only part I removed was the import statements. On Nov 23, 10:22 am, jhulford jhulf...@gmail.com wrote: You can't do what you're asking.  A widget instance can only be added to a single parent container. The code you posted looks ok

Re: How do you use Custom Widgets (Composites) multiple times?

2010-11-27 Thread Paul
I have added the new for each instance. I do not understand why I can not add a composite multiple times. Does anyone know of a way to mimic this behavior if this is not directly possible. If I need to have 50 identical things on the page, having to create 50 manually is ridiculous, I should be

Re: newbie trying to use htmlunit gwt 2.1 to test greet example

2010-11-27 Thread Ray Tayek
At 04:36 AM 11/27/2010, you wrote: You aren't finding any buttons because HTML doesn't have a button tag. Use one of the methods described under Finding a specific element at this page: http://htmlunit.sourceforge.net/gettingStarted.html. I generally find myself needing xpath sooner or later.

Re: Repeating Timer and onUnload()

2010-11-27 Thread Thomas Broyer
On 23 nov, 17:26, Max Jonas Werner m...@maxwerner.de wrote: Hi, I have built a widget for my GWT application that shows the latest actions users of the application have performed. To refresh this widget automatically I use a Timer and its schedule() method like this:     private final

Re: using hyperlink to process commands?

2010-11-27 Thread Magnus
Hi, thank you! In the meantime, I have got it working with Anchor and ClickListener. Magnus -- 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

clicking outside of widget seems to disable NativePreviewHandler ONKEYPRESS

2010-11-27 Thread KaffeineComa
I'm using a NativePreviewHandler to intercept ONKEYPRESS events application-wide. I'm doing this so that I can implement a customized text entry widget (example at http://www.quickbrownfrog.com/#!typing:lesson:lesson001.xml:1). It's been working fine, but I recently noticed a problem on IE8: if

Re: using hyperlink to process commands?

2010-11-27 Thread Jeff Schwartz
You can use history tokens in response to the anchor click events which will fire off an event which you can catch in your history event processing code. On Sat, Nov 27, 2010 at 7:52 PM, Magnus alpineblas...@googlemail.comwrote: Hi, thank you! In the meantime, I have got it working with

How to Make a NumberCell Clickable

2010-11-27 Thread savilak
Hi, how can I make a NumberCell clickable (just like ClickableTextCell)? I need to do this because I am using Sortable Column is my cell Table and i need to be able to click on number sorted columns. Thank you for your time. Savilak -- You received this message because you are subscribed to

Re: Internal compiler error when upgrading vom 2.0.4 to 2.1.0.RC1

2010-11-27 Thread Ltearno
Thank you so much i would have not thought of that ! U saved me !!! On 20 oct, 15:45, wolfgang wor@gmail.com wrote: solved the problem. I changed the order in java build path (order and export), so that GWT SDK is now on Top. everything compiles without exception. On 15 Okt., 12:02,

Simple question about GWT.create() signature

2010-11-27 Thread Alessandro Carraro (JUG Padova)
A simple qestion, sorry if it is a FAQ: Why public static T T create(Class? classLiteral) and not public static T T create(ClassT classLiteral) the second one would save me from a lot of unnecessary casts (IMHO). What's worse, I tried to write the helper function:

How to expand a particular node in a CellTree?

2010-11-27 Thread Rogério Yokomizo
How to expand a particular node in a CellTree? I created a CellTree based on GWT sample (http://http://gwt.google.com/ samples/Showcase/Showcase.html), but with over 2 levels. sample levels: Category ContentWidth my app: Category ContentWidth ContentWidth ContentWidth ... In the sample,

Gwt 2.1 Eclipse Helios

2010-11-27 Thread Daniel Leon
i got the same problem here, eclipse send erros about class paths and whitout the GWT Designer this doesnt happens update the latest beta of GWT designer doesnt solve the problem. =S -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Expenses example - cache warning

2010-11-27 Thread David Sowerby
I compile the expenses example from trunk, but got the following warning appearing every second or so: 26-Nov-2010 20:28:01 com.google.gwt.sample.expenses.server.domain.Report findReportEntriesBySearch WARNING: Exception retrieving memcache instance: net.sf.jsr107cache.CacheException: Could not

How to override CellTable css

2010-11-27 Thread manstis
Hi, I need to override some CellTable CSS definitions. I've been able to isolate the classes to some named along the lines of .GL0PBETBKC, .GL0PBETBEC etc. The CellTable CSS appears to be injected into my module after my .css file and the only way I have been able to override the above styles

Request factory: java.lang.NoClassDefFoundError: org/json/JSONException

2010-11-27 Thread Simon Majou
Hello, I am trying to run the dynatablerf example for request factory, and I get : bodyh2HTTP ERROR: 500/h2preorg/json/JSONException/pre pRequestURI=/gwtRequest/ph3Caused by:/ h3prejava.lang.NoClassDefFoundError: org/json/JSONException at

Re: [gwt-contrib] Re: Add README step to use the Google Web Toolkit SDK in the gwt-user project so that users can run ... (issue966802)

2010-11-27 Thread Miguel Méndez
Actually, I'm not sure that this is accurate. I just tried it out against gwt-user and gwt-dev with natures and builders on in a clean eclipse Helios install (no GPE) and I did not see any exceptions thrown. There were no visible exceptions and the error log was not updated. It seems worth it

[gwt-contrib] Issue 5474: RequestFactory response encoding (issue1154801)

2010-11-27 Thread t . broyer
Reviewers: bobv, Description: Fix for RequestFactoryServlet and unit test. Also fixed testUserInfo in RequestFactoryTest, which was not asynchronous (and therefore, I believe, wasn't actually testing anything). The tests use finishTest and not finishTestAndReset because they don't use

[gwt-contrib] Re: Comment on OverlayTypes in google-web-toolkit

2010-11-27 Thread codesite-noreply
Comment by ltearno: This is too bad (at the end of the document) : The implementation of overlay types in GWT 1.5 does not support Generators defining new JSO subtypes (due to the need to redefine or otherwise extend JavaScriptObject$ during subsequent compilation). This restriction is

Re: [gwt-contrib] Re: r9277 committed - Removing reference to designTime.getProvidedField()

2010-11-27 Thread Stephanie Brubaker
Konstantin, we have a separate release branch for 2.1.1 that is forked from trunk. Your change has not been integrated into that branch, so when I picked up a piece of your code in UiBinderWriter it broke testing in the release branch. This change was only applied to the release branch, not to

Re: [gwt-contrib] Re: r9277 committed - Removing reference to designTime.getProvidedField()

2010-11-27 Thread Konstantin Scheglov
Konstantin, we have a separate release branch for 2.1.1 that is forked from trunk. Your change has not been integrated into that branch, so when I picked up a piece of your code in UiBinderWriter it broke testing in the release branch. This change was only applied to the release branch, not to