Re: Return permutation directly from the server without selection script.

2010-11-18 Thread Helder Suzuki
Etienne, awesome! Thanks a lot for sharing! It just works. Slava, you just need to add the linker to your gwt.xml (see http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html) On Fri, Sep 17, 2010 at 11:46 AM, Etienne Lacazedieu < etienne.lacazed...@gmail.com> wrote: > I wrote

Re: GWT Hosting

2010-11-18 Thread Gaurav Vaish
+1. To store more documents in repository, you can definitely start with BlobStore. You pay only if the storage exceeds 1GB. And beyond that, the storage charges are dirt cheap at $0.15 per GB per month. -- Happy Hacking, Gaurav Vaish www.mastergaurav.com On Nov 18, 10:51 pm, Didier Durand wro

Re: Does anyone know of some example code to traverse the DOM tree in GWT?

2010-11-18 Thread Blackberet
This is the right answer for what I'm looking for, and is what I will use for my solution. thanks On Nov 18, 4:41 pm, zixzigma wrote: > This might be helpful: > > Working with the DOM > > http://code.google.com/intl/en/webtoolkit/doc/latest/DevGuideUiDom.html > > by the way,GQuery is actually GWT

Styling Login Widget

2010-11-18 Thread Nicholas
I have the loginWidget in my application, and would like to customize the styling. For instance, bold the email address, and make the sign- out link look like a link (blue and underlined). What is the correct way to do this? -- You received this message because you are subscribed to the Google

Re: GWT MVP and RequestFactory

2010-11-18 Thread Nicholas
One more thing I forgot to mention. You have to add an init-param to the requestFactoryServlet to identify your implementation class for the user information class. (This is in your web.xml). Mine looks like this. requestFactoryServlet com.google.gwt.re

Re: GWT MVP and RequestFactory

2010-11-18 Thread Nicholas
Richard, I was missing that initialization to requestFactory as well. I had to add that, and I had to add the following sections to my web.xml: requestFactoryServlet com.google.gwt.requestfactory.server.RequestFactoryServlet

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread Chris
On Nov 18, 6:03 pm, Rajeev Dayal wrote: > Hey Chris, > > A few questions: > > -what operating system are you on? > -I noticed that you have the gwt-user.jar and gwt-dev.jar explicitly on your > build classpath. Did you add those entries? If you navigate over to the > Project Properties -> Google

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread Rajeev Dayal
Hey Chris, A few questions: -what operating system are you on? -I noticed that you have the gwt-user.jar and gwt-dev.jar explicitly on your build classpath. Did you add those entries? If you navigate over to the Project Properties -> Google -> Web Toolkit page, what SDK is selected? Thanks, Raj

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread Chris
On Nov 18, 5:41 pm, Rajeev Dayal wrote: Hi there Rajeev, I'm using the following version of STS. The rest of the applicable version numbers are in the thread I linked to above. Version: 2.3.2.RELEASE Build Id: 201003230009 > > Can you provide your .classpath file?

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread Rajeev Dayal
Hey Chris, Can you provide your .classpath file? What version of STS are you using? Thanks, Rajeev On Thu, Nov 18, 2010 at 5:33 PM, Chris wrote: > > > > > I playing around with STS, Roo, Maven and GWT. When I go to run a Roo > > > project from inside STS, STS seems to wipe out the entire pr

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread Chris
> > I playing around with STS, Roo, Maven and GWT.  When I go to run a Roo > > project from inside STS, STS seems to wipe out the entire project. > > Anyone else playing with this particular combo of technologies and > > running into issues? > This is happening to me, too, since I upgraded to GW

webappcreator with -maven and Eclipse: output directories don't match

2010-11-18 Thread PeteUK
Hello, Using webappcreator with the new -maven option C:\MyApp>webAppCreator -noant -maven com.example.MyApp creates a pom.xml with outputDirectory specified under target/www: target/www/WEB-INF/classes The .classpath file created has a DIFFERENT output directory:

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread David Chandler
Hi Karthik, Can you provide more info on what you're seeing? Do you mean STS deletes files or the project disappears or...? Thanks, /dmc On Thu, Nov 18, 2010 at 10:08 AM, Karthik wrote: > Hi all, > > I playing around with STS, Roo, Maven and GWT.  When I go to run a Roo > project from inside ST

Re: Does anyone know of some example code to traverse the DOM tree in GWT?

2010-11-18 Thread zixzigma
here is GQuery talk at Google IO Conference. http://www.google.com/events/io/2009/sessions/ProgressivelyEnhanceAjaxApps.html -- 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...@googlegr

Re: Does anyone know of some example code to traverse the DOM tree in GWT?

2010-11-18 Thread zixzigma
This might be helpful: Working with the DOM http://code.google.com/intl/en/webtoolkit/doc/latest/DevGuideUiDom.html by the way,GQuery is actually GWTQuery, written with GWT. so it is a pure GWT solution. -- You received this message because you are subscribed to the Google Groups "Google Web

Re: RootLayoutPanel strange code using MVP

2010-11-18 Thread david
On Nov 18, 12:42 pm, Thomas Broyer wrote: > If I understand you correctly, you'd like to have a glasspanel above > the "previous activity" while the "new one" starts? (until it calls > AcceptsOneWidget#setWidget to "reveal" itself) ? > IMO you should do this on your AcceptsOneWidget itself, not

Re: CellList -- is prefilled sizing possible?

2010-11-18 Thread John LaBanca
The scrollbars are a separate widget called ShowMorePagerPanel. CellList doesn't have scrollbars by default. http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/ShowMorePagerPanel.java If you look at the construct

Re: help interpreting compiler report for code splitting

2010-11-18 Thread David Chandler
> 2) Does the lack of left over code indicate that the single split > point I've put in has almost very nicely divided the application into > pre and post login sections of code? It means there's very little code in common pre- and post-split. > 3) Beneath this, my split point is listed, along wi

Re: GWT Obfuscation crashes iPad Safari browser

2010-11-18 Thread aarnott
One thing I would highly endorse with such a large compiled project is to gzip it if you are not doing that already. You might find that doing that also fixes the iPad Safari issue (if it is line length, the zipping might allow the iPad browser to look at the file in a different way). --Andrew Arn

Re: Does anyone know of some example code to traverse the DOM tree in GWT?

2010-11-18 Thread aarnott
You could always look at the GQuery source code. On Nov 18, 3:39 pm, Blackberet wrote: > Yeah, I'm not really looking for theory. I'm looking for code > examples. > I found the ChildWalker class in the uibinder package and am currently > trying to see if that can be used. > > On Nov 18, 10:36 am,

Re: CellList -- is prefilled sizing possible?

2010-11-18 Thread aarnott
Thanks for your quick (and detailed) response; I really appreciate it. >From what I can tell looking at the API, the pager is built right into the CellList (as opposed to being a separate widget that can be optionally provided). Am I missing something? I don't mind mucking around with the source c

Re: CellList -- is prefilled sizing possible?

2010-11-18 Thread John LaBanca
The scroll bar is separate from the CellList. Its actually an implementation of a pager and is more a proof of concept until we have a proper infinite scrollbar. You can prepopulate a CellList with nulls or default values until you have data available. As far as populating them when you scroll i

CellList -- is prefilled sizing possible?

2010-11-18 Thread aarnott
Hi there, I've been using the SmartGWT library mainly for the ListGrid (which is similar to the CellList). The problem is, the SMartGWT library comes with a massive footprint (even when it is gzipped). The performace of our site has been terrible ever since we introduced the ListGrid, but on the o

Re: Does anyone know of some example code to traverse the DOM tree in GWT?

2010-11-18 Thread Blackberet
Yeah, I'm not really looking for theory. I'm looking for code examples. I found the ChildWalker class in the uibinder package and am currently trying to see if that can be used. On Nov 18, 10:36 am, Karthik Ramachandran wrote: > In therory you could use the Javascript native mode and manipulate t

Re: All I Want for Christmas is a powerful Widget Library from Google !

2010-11-18 Thread David Chandler
Thanks all for your support of GWT. We're really glad that what you've seen so far makes you want even more, and let me officially acknowledge here that the GWT team very much understands that you want a powerful widget library. That's why we created the powerful new CellWidgets in 2.1 (in time for

Re: Date.toLocaleString different behavior in development and production mode

2010-11-18 Thread David Balažic
On Nov 18, 8:57 pm, David Balažic wrote: > String result = new java.util.Date().toLocaleString(); > > In Development mode I get: > Nov 18, 2010 8:18:36 PM > > In production mode: > -18. --November ---2010 20:53:52 Which the same as returned by JsDate.toLocaleString() or plain JavaScript : var da

Re: GWT MVP and RequestFactory

2010-11-18 Thread Richard Berger
As is typical - after working on this for hours, I think I found my problem 10 minutes after posting. Since I am trying to avoid MVP (for now, until the brain cell count improves), I had not initialized my RequestFactory. Adding: final EventBus eventBus = new SimpleEventBus(); requestFactory.

Date.toLocaleString different behavior in development and production mode

2010-11-18 Thread David Balažic
Using GWT 2.1.0 with Eclipse Helios SR-1 on Windows XP and Firefox 3.6.12 I noticed that this client code has different results in development mode and production mode: String result = new java.util.Date().toLocaleString(); In Development mode I get: Nov 18, 2010 8:18:36 PM In production mode:

Re: GWT MVP and RequestFactory

2010-11-18 Thread Richard Berger
I am having a very similar problem - NullPointerException when I call fire() (the NPE is in AbstractRequestContext.doFire()). So I am wondering if you have found a solution to your problem. The code with the fire() is: CommitmentSystemRequestFactory requestFactory = GWT.create(CommitmentS

Re: GWT client-side thread or asynchronous call ?

2010-11-18 Thread andreas
If you really want to stick with the client side and want to have an async-like experience you could also use a Timer to trigger the search. Schedule the Timer as soon as the user begins to enter his search and cancel + re-schedule it on every key hit. This way the blocking search will only start a

Re: design pattern for common functionality between Activities

2010-11-18 Thread Nicolas Antoniazzi
Hello Koen, I never used Requestfactory so I do not know if it is similar to RPC. In my case, all my RPC Services can send a ServiceRemoteException (declared in Services interfaces). (ServiceRemoteException is a custom exception that I extended for my needs) @RemoteServiceRelativePath("GWT.rpc")

Re: Manipulating UiBinder backed DockLayoutPanel regions with Java code

2010-11-18 Thread Jeff Chimene
On Thu, Nov 18, 2010 at 11:48 AM, zixzigma wrote: > I tried that, but it appears although westPanel becomes hidden (as > expected setVisible(False)), > the west region still takes up space. > My guess is since in UiBinder regions must be explicitly sized, eg: > > hiding/removing a SimplePanel wi

Re: Manipulating UiBinder backed DockLayoutPanel regions with Java code

2010-11-18 Thread Jeff Larsen
... ... ... ... then in java @UiField DockLayoutPanel panel; and now you have access to all the DockLayout panel APIs so you can hide etc. On Nov 18, 12:48 pm, zixzigma wrote: > I tried that, but it appears although westPanel becomes hidden (as > expected setVisible(False)), > the west re

Re: Manipulating UiBinder backed DockLayoutPanel regions with Java code

2010-11-18 Thread Zak
>From http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Design (scroll down to "Child Widget Visibility"): The Layout class has to wrap each of its child elements in a "container" element in order to work properly. One implication of this is that, when you call UIObject.setVisible

Re: application gets reloaded

2010-11-18 Thread pac
Just to add further, it works fine in IE8 but not in IE7, so after implementing the solution, it only reloads the application if after that action I redirect it to another page e.g. My Account on action if I redirect it to say another page e.g. History.newItem("login"); view changes to login wi

Re: Request Factory Entity Relationships Lazy Loading

2010-11-18 Thread koma
IMO, this problem is not really GWT related but standard hibernate/jpa behaviour. Either you define your relationships as lazy, which means that they are not loaded when the parent object is loaded, or you define the relations as eager fetch. The best practice is lazy load and then load the needed

Re: Manipulating UiBinder backed DockLayoutPanel regions with Java code

2010-11-18 Thread zixzigma
I tried that, but it appears although westPanel becomes hidden (as expected setVisible(False)), the west region still takes up space. My guess is since in UiBinder regions must be explicitly sized, eg: hiding/removing a SimplePanel within a region does not mean the region itself is hidden//removed

Re: Manipulating UiBinder backed DockLayoutPanel regions with Java code

2010-11-18 Thread Jeff Chimene
@UiField SimplePanel westPanel; westPanel.getWidget().setVisible(FALSE); But, this may not behave as you intend. Maybe I'm missing something in your question... On Thu, Nov 18, 2010 at 10:57 AM, zixzigma wrote: > Hello Everyone, > > I have a DockLayoutPanel declared in UiBinder, with a corres

Manipulating UiBinder backed DockLayoutPanel regions with Java code

2010-11-18 Thread zixzigma
Hello Everyone, I have a DockLayoutPanel declared in UiBinder, with a corresponding Java view class. Is there anyway to manipulate DockLayoutPanel's regions from within Java code ? DockLayoutPanel UiBinder has regions: ... from Java code I want to access WEST region and manipulate

Re: GWT Hosting

2010-11-18 Thread Didier Durand
Hi You really should give a second chance to GAE: - space can go very high if you are willing to pay as you go - document upload is possible via BlobStore (I do it in one of my apps) - I would emphasize extremely detailled monitoring for which i know no equivalent by other hosters. Then, you wil

application gets reloaded

2010-11-18 Thread pac
String links causing application to reload. e.g. "" + word + ""; Looks like it is issue 2152 http://code.google.com/p/google-web-toolkit/issues/detail?id=2152 I tried solution mentioned in the issue i.e. cleanAnchors() by pabs87 But it reloads the application and error in console is com.googl

Re: RootLayoutPanel strange code using MVP

2010-11-18 Thread Thomas Broyer
On 18 nov, 16:42, david wrote: > "ActivityManager always calls setWidget(null) in between activities, > but just in > case...)" > > Its great that 2.1provides this intercept capability however I'm now > unclear as  how to present a glass panel in the new activity if the > dom is already cleared

Re: Request Factory Entity Relationships Lazy Loading

2010-11-18 Thread PJ Herring
The problem with this is you will end up writing a lot of code to get the whole object back. It makes a complex Data Access layer and makes me wonder is it worth using a relational database. If I have to fetch relationships separately (in either layer) why not use a key store database. On Nov 18,

Re: GWT MVP and RequestFactory

2010-11-18 Thread Nicholas
Thanks, you got me on the right rack. I didn't realize that more information on the exceptions was available in the dev mode console of eclipse. My domain entity objects had some Boolean accessors which I had named isProperty() instead of getProperty(). I changed all of those, and also made the

Re: Building First Web App with GWT

2010-11-18 Thread Brett Thomas
Why do you want to use GWT? This sounds like more of a server-intensive app to me, so I'd start off with planning out the server with Rails or Django or something. On Wed, Nov 17, 2010 at 8:59 AM, B Woods wrote: > I was wondering if anyone could offer me help in finding resources for > creating

Re: Invalid version number "2.0" passed to external.gwtOnLoad(), expected "2.1"

2010-11-18 Thread Hendrik Jan van Randen
This issue has been resolved by running the (maven) build from the commandline. Apparently the file containing the version nr was not updated when running the build from Eclipse. Hendrik Jan On Nov 17, 7:16 am, Hendrik Jan van Randen wrote: > We're migrating our GWT 2.0.4 application to GWT 2.1

GWT Hosting

2010-11-18 Thread Isuru Madusanka
Hi, I have trouble with finding a good hosting service. I can try Google App Engine. But my app need more space and allow users upload documents. I tried a trial account with a reputed hosting company. But they are not good at customer service. I am looking for a low-cost hosting. Do you guys hav

Re: cannot create servlet in Eclipse helios

2010-11-18 Thread Jeff Schwartz
I don't know if this is related but there has been a problem with the dtd the web.xml file uses. It isn't available and Eclipse marks the file as having errors. You can try commenting out the reference to the dtd see if that fixes the problem. Once the dtd becomes available you can remove the comme

Re: GWT client-side thread or asynchronous call ?

2010-11-18 Thread Jeff Schwartz
I understand now & sorry for the confusion. It might actually be faster to do an ajax call to do the look-up because it will be asynchronous and have little impact on your ui. If for some reason you can't do that then use SpeedTracer to analyze where you client side code is getting bogged down. It

Re: BigDecimal SerializationException

2010-11-18 Thread Jeff Schwartz
One way to do this is to convert the BD on the cllient to a string and on the server you convert the string back to a BD. On Thu, Nov 18, 2010 at 8:44 AM, zephyran wrote: > Hello, > > I am using GWT 2.1.0 version. When I try to receive BigDecimal object > from RPC, it works. > However, when I se

Re: Request order

2010-11-18 Thread Jeff Chimene
On Thu, Nov 18, 2010 at 9:18 AM, Stefan Bachert wrote: > Hi, > > I am doing undo/redo. Therefore it is mandatory to handle all requests > on the server in the same order to be able to replay it There are two issues here: undo/redo replay They are different. Setting aside transaction semantics

Re: Request order

2010-11-18 Thread Stefan Bachert
Hi, > batch them (the requests) from client and push them in same http > request :) Allready done, however, this is a little optimization but no solution. It does not disable a user to click 4 times on the same button. After the first one I don't have any idea whether 3 other clicks will follow o

Re: Request order

2010-11-18 Thread Stefan Bachert
Hi, I am doing undo/redo. Therefore it is mandatory to handle all requests on the server in the same order to be able to replay it. Stefan Bachert http://gwtworld.de On 17 Nov., 10:37, Jeff Chimene wrote: > Hi Stefan: > > What problem are you trying to solve? > > On Wed, Nov 17, 2010 at 4:07

Java Exception lost in 2.1.0 works in 2.0.4

2010-11-18 Thread Rob Hennessy
Hi All, I have a web app where I exposed a class's static method using JSNI, as in the JSNI example. I execute the method from the native event handler. Within the method, I try and catch, and return any exception's message as the method's return value. The method works properly in 2.0.4, but in

[ERROR] Invalid version number "2.0" passed to external.gwtOnLoad(), expected "2.1"

2010-11-18 Thread Hendrik Jan van Randen
We're migrating our GWT 2.0.4 application to GWT 2.1.0. I've therefore upgraded my Google Plugin for Eclipse to GWT 2.1.0. When I try to run our application in the GWT debugger in Eclipse (Debug as web application, go to its URL in Firefox) I get the following message: Connection received from lo

BigDecimal SerializationException

2010-11-18 Thread zephyran
Hello, I am using GWT 2.1.0 version. When I try to receive BigDecimal object from RPC, it works. However, when I sent the object via RPC, I got SerializationException (BigDecimal is not in whitelist, so the object can not be deserialized). Does anyone have idea about this? Thanks in advance. My

Re: UiBinder fails after upgrading to gwt 2.1.0

2010-11-18 Thread Mency Woo
I had a similar problem with compile error java.lang.AbstractMethodError: org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/ String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/ Object; at com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentB uilder.

Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread Karthik
Hi all, I playing around with STS, Roo, Maven and GWT. When I go to run a Roo project from inside STS, STS seems to wipe out the entire project. Anyone else playing with this particular combo of technologies and running into issues? Karthik -- You received this message because you are subscrib

byte [] to String in client side

2010-11-18 Thread josefue...@gmail.com
Hello all, im using gt 2.0 and i´ve tried in the client side new String (byte[]) its possible create a String by byte[] changing the character set?? how? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

"Illegal argument type for number format" error during gwt compile when trying to use {0,number} or {0,number,integer} in a message bundle properties file

2010-11-18 Thread ips
The offending message in Messages.properties looks like this: widget_recordEditor_info_recordsDeletedConcise = {0,number,integer} {1} deleted. And here's the output from the gwt compiler: [INFO] Compiling module org.rhq.enterprise.gui.coregui.CoreGUI [INFO]Scanning for additional dependencie

Re: Does anyone know of some example code to traverse the DOM tree in GWT?

2010-11-18 Thread Karthik Ramachandran
In therory you could use the Javascript native mode and manipulate the dom. On Thu, Nov 18, 2010 at 10:26 AM, Blackberet wrote: > I really need a pure GWT solution. I was hoping someone would point me > out to a code example, maybe in the GWT source tree. > > On Nov 17, 8:37 pm, zixzigma wrote:

newbie to gwt - trying to get publish/subscribe working

2010-11-18 Thread moiraine
Hi, I've recently just started looking into GWT, and am looking for a way to make a project/package subscribe to channels that other widgets are publishing. I just tried to get some simple code to work (pulled partially from a site somewhere), but have no idea if I'm even on the right path.

Re: Sample App using DI/Gin, MVP, UiBinder, etc

2010-11-18 Thread Daghan
Hi Ashton, Have you figured out a way to pass anything but SimplePanel objects to activityManager.setDisplay() function? I am trying to figure out how to pass activityManager.setDisplay(composite) Thanks. On Oct 28, 6:52 am, Ashton Thomas wrote: > I will definitely try to post a video. It just

Re: Editor and enumeration or object cast

2010-11-18 Thread mbmacri
Hi. Here is my EnumEditor implementation based on a ListBox. It should give you an idea of how to implement it using option buttons: package com.leasingsaas.client.ui.widgets; import java.util.HashMap; import com.google.gwt.editor.client.LeafValueEditor; import com.google.gwt.user.client.ui.Lis

Re: UiBinder fails after upgrading to gwt 2.1.0

2010-11-18 Thread Mency Woo
I have just spent the last few hours struggling on a similar problem of java.lang.AbstractMethodError: org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/ String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/ Object; at com.google.gwt.uibinder.rebind.W3cDocumentBuilder.star

Re: Sample App using DI/Gin, MVP, UiBinder, etc

2010-11-18 Thread Daghan
Ashton, The example is very cool and helpful. Thank you. One thing I am struggling with is the ActivityManager. I am trying to manage a composite through the activity manager. I was hoping that you had figured it out but I see that you also pass a SimplePanel mainActivityManager.setDisplay(shell.

Re: CellTable column text alignment

2010-11-18 Thread Pravin
Any suggestions on text alignment ? On Nov 11, 9:11 am, Lukas Herman wrote: > Thanks for pointing this out. > This adds class name to colgroup col, where only limited subset of CSS > properties is allowed (http://www.w3.org/TR/CSS2/tables.html#columns). > Unfortunately text-align is ignored when

Re: cannot create servlet in Eclipse helios

2010-11-18 Thread Pierre-Luc
I have the same issue. I cannot click on next nor finish which leaves me with manually updating my web-inf and creating the servlet manually... On 14 nov, 19:13, Tushar wrote: > Just can't get plug-in to create servlets..tried all versions. > Is anyone out there being able to create servlets with

Building First Web App with GWT

2010-11-18 Thread B Woods
I was wondering if anyone could offer me help in finding resources for creating my first web application with GWT. I have the basic idea and functionality that I would like the site to start with but thats about it. I am a mid level developer with little experience actually planning a robust applic

Why I can not add class member in the Service implementation

2010-11-18 Thread Jeff Zhang
Hi all, When I add class member in the Service implementation class, it will throw exception. and it seems related with the serialization. Can anyone give me more details? Thanks Jeff Zhang -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group

GWT and Google App Engine tutorial page needs datastore index reference

2010-11-18 Thread Curtis
The tutorial page at http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html has no reference for the needed datastore-indexes.xml file. When uploading the code as described to App Engine, the code throws an error: com.google.appengine.api.datastore.DatastoreNeedIndexException: no ma

Requestfactory, ReflectionBasedOperationRegistry and ClassLoader

2010-11-18 Thread Smithimage
Hi all! I am using GWT in junction with grails doing so I have been confronted with a problem within the new 2.1 feature RequestFactory. I get a "java.lang.ClassNotFoundException" in the ReflectionBasedOperationRegistry when trying to resolve my "..Request" class type. Apparently grails uses Cont

Re: GWT client-side thread or asynchronous call ?

2010-11-18 Thread Didier Durand
Hi, Traditional javascript (to which gwt java gets converted) architecture is basically mono-thread in terms of real concurrent execution: so, gwt has to stay mono-thread also. The only possibility that I see to get muti-thread (in a standard manner) with JS is HTML5 bu to my knowledge GWT doesn'

Re: GWT client-side thread or asynchronous call ?

2010-11-18 Thread Chris Conroy
If you can target just HTML5, then you could use WebWorkers: http://www.whatwg.org/specs/web-workers/current-work/ At the moment, you'll have to hand roll the JSNI to access them, but GWT proper will be supporting HTML5 soon-ish. On Thu, Nov 18, 2010 at 9:41 AM, MickeyR wrote: > Sorry, I probab

Re: RootLayoutPanel strange code using MVP

2010-11-18 Thread david
"ActivityManager always calls setWidget(null) in between activities, but just in case...)" Its great that 2.1provides this intercept capability however I'm now unclear as how to present a glass panel in the new activity if the dom is already cleared before I get there. Am I missing something ab

Re: How to ignore left/right keys in CellTree widget?

2010-11-18 Thread John LaBanca
Can you report a bug in the issue tracker. CellTree shouldn't navigate if the Cell is being edited. As far as making EditTextCell bigger, there isn't an easy way to do it yet because we haven't added hooks for ClientBundles. As a workding, you can override the render() method and replace the par

Re: Does anyone know of some example code to traverse the DOM tree in GWT?

2010-11-18 Thread Blackberet
I really need a pure GWT solution. I was hoping someone would point me out to a code example, maybe in the GWT source tree. On Nov 17, 8:37 pm, zixzigma wrote: > GQuery: Manipulating the DOM and CSS > > http://code.google.com/p/gwtquery/wiki/GettingStarted#Manipulating_th... -- You received thi

css background image usage with UiBinder

2010-11-18 Thread Roman Makurin
Hi All. First of all, i looked through mail archive, but subject still not clear for me. So, he is my code: Resources.java: public interface Resources extends ClientBundle { public static final Resources INSTANCE = GWT.create(Resources.class); interface Style extends CssResource

Re: GWT client-side thread or asynchronous call ?

2010-11-18 Thread MickeyR
Sorry, I probably was not clear. My entire story above is all happening on the client-side. So the search + display of results happens on the client, I'm not making a RPC to perform this. Currently I don't want to make any part of this server-side, so any idea on how to achieve this ? M. -- You

Re: Simple question about jars

2010-11-18 Thread Jan
Alright, thank you Isuru -- 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 google-web-toolkit+unsubscr...@googlegroups.c

Re: GWT client-side thread or asynchronous call ?

2010-11-18 Thread Jeff Schwartz
Your ajax calls should be asynchronous so your client-side ui shouldn't be slowed down by making the calls to the servlet to handle the lookup. Are you sure you aren't making synchronous calls to the server? Also, use direct dom manipulation over the widget supplied methods; get a widget's dom elem

GWT client-side thread or asynchronous call ?

2010-11-18 Thread MickeyR
Is there anything similar to using java threads that I can use in my client side code ? In my application a user types a search term into a Text box. For every character typed in my code goes and searches in a dataset for results containing the search string. These results are then returned and di

Re: Simple question about jars

2010-11-18 Thread Isuru Madusanka
For my knowledge. You must put all external libraries in the lib folder. Unless how program access the library. And it is not a bug. On Thu, Nov 18, 2010 at 7:11 PM, Jan wrote: > Hi community members, > > I am using classes which are part of org.w3c.css.sac. They are located > inside the GWT dev

Re: GWT Designer errors on GWT 2.1 project in Eclipse Helios 3.6

2010-11-18 Thread Eric Clayberg
Give the latest GWT Designer 8.1 build a try... http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html Also note that there is a preference for turning the enhanced compilation checking on and off... http://code.google.com/webtoolkit/tools/gwtdesigner/preferences/gwt/pre

Simple question about jars

2010-11-18 Thread Jan
Hi community members, I am using classes which are part of org.w3c.css.sac. They are located inside the GWT development jar "gwt-user.jar", which means I don't have to add external jars during coding. However if I run my GWT project I am getting the error java.lang.NoClassDefFoundError: org/w3c/c

Re: Problem creating custom gwt theme

2010-11-18 Thread Thomas Broyer
On 17 nov, 21:16, mitratul wrote: > Hi, > > I am trying to create my own theme and use it. But while launching Dev > mode, it is giving the following errors in eclipse console: > > Initializing AppEngine server > Loading modules >    com.mitratul.theme.standard.Standard >       Translatable sour

Re: Request Factory Entity Relationships Lazy Loading

2010-11-18 Thread Thomas Broyer
On 18 nov, 08:47, agi wrote: > Hi > > I had this problem as well. I haven't found perfect solution.. What I > have done is while retrieving data from the database so e.g. in > findEntity(Long id) method I am forcing persistent layer to return my > collection immediately: > Entity findEntity(Long

Re: RadioCell?

2010-11-18 Thread Thomas Broyer
On 18 nov, 06:04, BrianV wrote: > Nevermind - I surrounded the template text with tags, > generated a random group name in the render method, and it all seems > to be mostly working. Even better would be using so that when the text is clicked the radio button is selected. {1} -- You recei

Re: Security while deserializing/constructing object on server side for a POST request

2010-11-18 Thread Thomas Broyer
On 18 nov, 10:11, balachandra maddina wrote: > Hi There, > >    While i was looking at a POST request on a sample application i observed > that the POST request is carrying the following piece of text in the body > >     java.lang.String/2004016611|N > >     Here, my question is, is GWT deseriali

Security while deserializing/constructing object on server side for a POST request

2010-11-18 Thread balachandra maddina
Hi There, While i was looking at a POST request on a sample application i observed that the POST request is carrying the following piece of text in the body java.lang.String/2004016611|N Here, my question is, is GWT deserialization process is using this representation to construct a

Re: Problem creating custom gwt theme

2010-11-18 Thread Gaurav Vaish
Ensure that your "theme" module "inherits" from "com.google.gwt.user.User" so as to get a "default-linker". -- Happy Hacking, Gaurav Vaish www.mastergaurav.com On Nov 18, 1:16 am, mitratul wrote: > Hi, > > I am trying to create my own theme and use it. But while launching Dev > mode, it is giv