Shared RequestContext

2011-02-23 Thread Charl Fourie
Hi There I would like to share the same RequestContext over multiple services so that I can use the standard mechanism for bundling multiple calls to multiple services as follows: // ServiceARequest requestA = requestFactory.serviceARequest(); ServiceBR

Re: Many problems when updating from 2.1.1 to 2.2

2011-02-23 Thread Shawn Brown
Try http://code.google.com/eclipse/docs/install-from-zip.html I also had to uninstall the stuff from instantiations such as GWTDesigner, windowsBuilder etc. [help --> install new software --> "what is already installed -- uninstall GWTDesigner, windowsBuilder etc.] Seems to works with Ext GWT

log4j:ERROR setFile(null,true) call failed.

2011-02-23 Thread Simon
Hi, I have added a YAWL api to my GWT project, and am getting the following error below. Am using eclipse gwt plugin with GWT2.0.0 . Where can I define those paths with GWT's default jetty server? -- log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundEx

Re: $doc.body.createTextRange

2011-02-23 Thread mP
Do a search for PPK and "Selection" he has a detailed page aboout how each system of selections works in IE and all other browsers. On Feb 24, 8:37 am, bhomass wrote: > I know there is a javascript function for > document.body.createTextRange( ) > > when I try > $doc.body.createTextRange() > > in

Managing session timeouts in GWT

2011-02-23 Thread H Mahesh
My app is currently built around the Spring framework and Spring Security + GWT. I am using spring security mechanism (concept of ExceptionTranslationFilter) to redirect to login page on session timeout. Mentioned session timeout in web.xml. but in GWT it wont redirect to login page , it throws

GWT 2.2 on linux: Designer not wokring

2011-02-23 Thread Mannemarak
Dear all. I'm having trouble getting GWT designer running with the new GWT 2.2 on my linux machine. I installed the GWT 2.2 plugin on a fresh eclipse 3.6 install, and everything of GWT seems to work (compile, deployment, etc.) but when I try to open a file with GWT designer I get a screen with the

GWT app problem, requested resource is not available.

2011-02-23 Thread vertho
Hi I've deployed a GWT app on Apache-Tomcat-7.0.8, I'm using GIN in frontend and GUICE in backend. My app will run just fine from my development environment, but as soon as i run it in production it quickly turns ugly. When i attempt the first RPC call i get an error message which outputs a chunk

Re: Export ECCN for GWT, Guice, GIN?

2011-02-23 Thread David Chandler
Here are the classifications you requested. GWT: 5D002, TSU notification submitted Guice, GIN: Not subject to the EAR HTH, /dmc On Wed, Feb 23, 2011 at 3:14 PM, David Chandler wrote: > We're working on this. If it weren't for one class, GWT would not be > subject to the Export Administration

Re: Eclipse 3.6 + GPE startup time

2011-02-23 Thread Bryan Donnovan
Wow. Amazing difference. Thank you. On Feb 23, 4:58 pm, Thomas Broyer wrote: > Try cleaning your temp > dir:http://code.google.com/p/google-web-toolkit/issues/detail?id=5261 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to t

Re: Eclipse 3.6 + GPE startup time

2011-02-23 Thread Thomas Broyer
Try cleaning your temp dir: http://code.google.com/p/google-web-toolkit/issues/detail?id=5261 -- 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@googlegroups.com. To unsubscribe from th

Re: Google Maps API v3 support in gwt-google-apis

2011-02-23 Thread bmclean
Okay. Thanks Eric! On Feb 23, 1:10 pm, Eric Ayers wrote: > There is no timeline for supporting maps v3 with GWT bindings officially in > gwt-google-apis.  There are some other projects out there you can use such > ashttp://code.google.com/p/gwt-google-maps-v3/ > > > > On Wed, Feb 23, 2011 at 11:5

Re: Google Maps API v3 support in gwt-google-apis

2011-02-23 Thread bmclean
Okay, thanks Eric! On Feb 23, 1:10 pm, Eric Ayers wrote: > There is no timeline for supporting maps v3 with GWT bindings officially in > gwt-google-apis.  There are some other projects out there you can use such > ashttp://code.google.com/p/gwt-google-maps-v3/ > > > > On Wed, Feb 23, 2011 at 11:5

Re: Eclipse 3.6 + GPE startup time

2011-02-23 Thread Jeff Schwartz
You should probably post this in the eclipse forum but have you checked you eclipse logs? That would be the 1st place I'd look. On Wed, Feb 23, 2011 at 7:19 PM, Bryan Donnovan wrote: > > Eclipse takes around 1 minute to launch and seems to get worse over > time. I have only 3 GWT projects in the

Eclipse 3.6 + GPE startup time

2011-02-23 Thread Bryan Donnovan
Eclipse takes around 1 minute to launch and seems to get worse over time. I have only 3 GWT projects in the workspace, and I'm not sure what to do about this problem. Does anyone know a method for improving the startup time? -- You received this message because you are subscribed to the Google

is there anyway i can define the spacing in docklayoutpanel

2011-02-23 Thread mars
found that all children widget squeezed together on the docklayoutpanel yet there is not such a method as setSpacing() as the one in dockPanel, how can i set spacing between east/west/center/north/ south? -- You received this message because you are subscribed to the Google Groups "Google Web T

define the size of doclayout panel

2011-02-23 Thread mars
hi, how can i define the size of doc layout panel in uibinder and its's children's size in different direction? i have code as this:

Re: Managing session timeouts in GWT

2011-02-23 Thread Jeff Schwartz
On the server compare the user's session id that you placed in your payload to the servlets current session id. If they aren't the same throw a custom exception and catch it on the client's onFailure method. Don't use the request's cookies session value because it is vulnerable to hijacking. Instea

Re: TabLayoutPanel + dynamic tab content + DialogBox = ?

2011-02-23 Thread jscheller
On Feb 23, 1:08 pm, Greg Dougherty wrote: > Good idea.  I've created such a request. Thanks Greg... I posted a comment and starred it, and will keep my fingers crossed. Looks like another round of refactoring this bloody and butchered dialog box tonight for me... -- You received this message

Re: TabLayoutPanel + dynamic tab content + DialogBox = ?

2011-02-23 Thread jscheller
On Feb 22, 8:02 am, Jeff Larsen wrote: > THe problem is that with dialog box, it resizes itself to be the size of > widget it contains, and since TabLayoutPanel has no defined size, it won't > properly resize itself. > > You could getting the size of the dynamically generated widgets that > TabL

RE: $doc.body.createTextRange

2011-02-23 Thread Armishev, Sergey
>From the top of my head (thanks to GWT , I don't need to remember all this anymore!) In IE document.body.createTextRange() On all other browsers document.selection.createRange() -Sergey -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups

$doc.body.createTextRange

2011-02-23 Thread bhomass
I know there is a javascript function for document.body.createTextRange( ) when I try $doc.body.createTextRange() in a native method in GWT, it says body.createTextRange is not a function why is that? -- You received this message because you are subscribed to the Google Groups "Google Web To

Scrollbars in IE with StackLayoutPanel

2011-02-23 Thread Thomas
Hi, I'm trying to embed my GWT app into a website with the following iframe: http://myapp.appspot.com/"; width="300px" height="640px" style="padding-top: 10px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border- width: initial; border-colo

Re: Google Maps API v3 support in gwt-google-apis

2011-02-23 Thread Eric Ayers
There is no timeline for supporting maps v3 with GWT bindings officially in gwt-google-apis. There are some other projects out there you can use such as http://code.google.com/p/gwt-google-maps-v3/ On Wed, Feb 23, 2011 at 11:51 AM, bmclean wrote: > Hello, > > I’m working with a client on an app

Re: How to tell if WriteOperation.UPDATE is called on a version change or on a first enounter

2011-02-23 Thread Y2i
The only reliable way I found was 1. create a boolean flag field, set it to false 2. before the new range is pulled, set the flag to true - ignore onProxyChange() if the flag is set to true 3. when either onSuccess(), onViolation() or onFailure() is called, schedule a deferred c

Re: CheckboxCell 2 clicks for selection

2011-02-23 Thread Y2i
Do you call the constructor like CheckboxCell(true, false)? Also, when you assign a selection model, do you call cellTable.setSelectionModel(selectionModel, DefaultSelectionEventManager.createCheckboxManager(colNum))? -- You received this message because you are subscribed to the Google Groups

Strange - RPC policy file randomly inconsistent between gwt compile and devmode

2011-02-23 Thread nogridbag
For a long time in our application, we've had issues running hosted mode. Sometimes hosted mode works, sometimes it doesn't. We've pretty much lived with this for months. For instance: 1) Launch dev mode 2) Copy to Clipboard 3) Paste URL in firefox and hit enter (WORKS!) 4) Copy to Clipboard 5)

Re: SimplePager, CellTable, Progress Bar Gone

2011-02-23 Thread John LaBanca
ListDataProvider always knows exactly how much and what data it contains, so using a ListDataProvider will basically ensure that the loading indicator never appears. If you are loading the data asynchronously, you probably want to switch to an AsyncDataProvider. Thanks, John LaBanca jlaba...@goog

Re: standard.css

2011-02-23 Thread Deepak Singh
what is this cssServlet.css ? On Thu, Feb 24, 2011 at 1:22 AM, Juan Pablo Gardella < gardellajuanpa...@gmail.com> wrote: > In your html: > > /styles/cssServlet.css > > In web.xml: > > > cssServlet > /styles/cssServlet.css > > > Juan > > 2011/2/23 Deepak Singh > >> Hi Jaun, >> >> How to use th

Managing session timeouts in GWT

2011-02-23 Thread joe kolba
My app is currently built around the Spring framework and Spring Security + GWT. Is there any way for me to redirect to login when a session expires or when the user makes a RPC request when the session has expired? I was thinking about creating a timer that tracks the time between RPC calls, onc

Re: GWT Designer 2.2 error with gwt-maven project

2011-02-23 Thread David Chandler
As a temporary workaround until the next plugin release, manually copy gwt-dev.jar (without version #) into the folder in your local Maven repository containing gwt-user-2.2.0.jar. Example: > cd ~/.m2/repository/com/google/gwt > cp gwt-dev/2.2.0/gwt-dev-2.2.0.jar gwt-user/2.2.0/gwt-dev.jar It's a

Re: Maven, Spring GWT 2.1

2011-02-23 Thread David Chandler
Prior versions aren't available, but it likely wouldn't help, anyway, as the issue appears to be related to both GWT 2.2 and the current plugin. As a temporary workaround until the next plugin release, manually copy gwt-dev.jar (without version #) into the folder in your local Maven repository con

Re: Export ECCN for GWT, Guice, GIN?

2011-02-23 Thread David Chandler
We're working on this. If it weren't for one class, GWT would not be subject to the Export Administration Regulations and thus would not need an ECCN. However, GWT implements MD5Digest, so we're working on classification. We're considering Guice and GIN, as well. /dmc On Tue, Feb 15, 2011 at 2:56

Re: Sorting CellTable, AsyncData but Sort Locally

2011-02-23 Thread Josh K
Ahhh... so then at the end to put the sorted list back in the original and update the table BOOKS = new ArrayList(thisList); cellTable.setRowData(BOOKS); Wow that makes sense. I knew it was something stupid. I understand why John had this line above now: List newData = new ArrayList(cellTabl

Re: Best hosting provider for GWT app

2011-02-23 Thread Ashton Thomas
I have been using Amazon elasticbeanstalk: http://aws.amazon.com/elasticbeanstalk/ Seems to be in its early stages but has been working very well for me. We use our own Postgres server though and will probably migrate over to the amazon service for Relational databases at one point (hopefully they

Re: Sorting CellTable, AsyncData but Sort Locally

2011-02-23 Thread Greg Dougherty
Well, I'd start out by trying: public MySortHandler(List BOOKS, CellTable myCellTable, Column columnA, you get the picture) { thisList = new ArrayList (BOOKS); .. } On Feb 23, 9:56 am, Josh K wrote: > Ok, I got something working using the example you provided, but I

Re: TabLayoutPanel + dynamic tab content + DialogBox = ?

2011-02-23 Thread Greg Dougherty
Good idea. I've created such a request. http://code.google.com/p/google-web-toolkit/issues/detail?id=6069&q=TabPanel&sort=-id&colspec=ID Type Status Owner Milestone Summary Stars On Feb 23, 2:42 am, Thomas Broyer wrote: > Maybe you could file a bug? They'll be "undeprecating" DockPanel in 2.3, a

Re: standard.css

2011-02-23 Thread Juan Pablo Gardella
In your html: /styles/cssServlet.css In web.xml: cssServlet /styles/cssServlet.css Juan 2011/2/23 Deepak Singh > Hi Jaun, > > How to use this CssServlet class ? > > On Wed, Feb 23, 2011 at 9:14 PM, Juan Pablo Gardella < > gardellajuanpa...@gmail.com> wrote: > >> Hi, >> >> Try that (thanks

SimplePager, CellTable, Progress Bar Gone

2011-02-23 Thread cmarsh...@avenue100.com
In my application I had a CellTable that did not use a SimplePager nor a ListDataProvider. The data to be displayed has become quite lengthy so I have added the use of a SimplePager and a ListDataProvider. Previously the CellTable would display a nice side ways barber pole for a progress bar when

Re: standard.css

2011-02-23 Thread Deepak Singh
Hi Jaun, How to use this CssServlet class ? On Wed, Feb 23, 2011 at 9:14 PM, Juan Pablo Gardella < gardellajuanpa...@gmail.com> wrote: > Hi, > > Try that (thanks Gabriel Nossier): > > public class CssServlet extends HttpServlet { > private static final long serialVersionUID = 2545846261709821197

Re: Best hosting provider for GWT app

2011-02-23 Thread Alan Chaney
Hi Deepak See inline comments. On 2/22/2011 10:37 AM, Deepak Singh wrote: Hi All, Lets share our experience for the hosting of gwt apps. If someone has experienced a hosting provider before or know the best in the market, let all should know who is the best ? Priority should be the server sp

Re: TabWidget not refreshing

2011-02-23 Thread John LaBanca
IsWidget.asWidget isn't called every time you open the tab, its only called when you add the tab. If that is how you are changing the contents, then you should return a SimplePanel instead and change the widget in the SimplePanel as needed. Thanks, John LaBanca jlaba...@google.com On Wed, Feb 2

Re: Split points for method having return type other than void

2011-02-23 Thread Philippe Beaudoin
>From what I understand, code-splitting must be thought about in a method-by-method basis. That is, the variables you use is not important, but the method you call on it is. In short: - If all calls to methodA() happen behind the _same_ split point then methodA() will be part of that fragment (l

Re: Embeding GWT app in another site without iFrame

2011-02-23 Thread Thomas Broyer
On Wednesday, February 23, 2011 4:32:56 PM UTC+1, John LaBanca wrote: > > On Tue, Feb 22, 2011 at 9:19 PM, Bob Graton wrote: > >> Hello, >> >> I have my demo GWT app running fine at : http://site1.com/ >> Inside my Html Host file on this site I load the GWT app with: >> >> Work fine. >> >> I w

Re: GWT and AppEngine Deploying Generated File

2011-02-23 Thread David Chandler
What gets sent to App Engine is your compiled GWT app. The deploy to App Engine button in Eclipse should compile the GWT app before it begins the deploy. Are you not seeing that? /dmc On Wed, Feb 23, 2011 at 10:32 AM, cp wrote: > I am not sure whether this simple scenario is broken or if i miss

Re: standard.css

2011-02-23 Thread Juan Pablo Gardella
Hi, Try that (thanks Gabriel Nossier): public class CssServlet extends HttpServlet { private static final long serialVersionUID = 2545846261709821197L; private static final String path1 = "./"; private static final String path2 = "webapps/styles/"; /* * (non-Javadoc) * * @see * javax.servle

Maven, Spring GWT 2.1

2011-02-23 Thread JC
Hi. I'm looking to make work the GWT Designer on my Maven-Spring application. It looks like, I have to find the version 2.1 of GWT eclipse plugin... Where is the version 2.1? I just can't find it :-( Thanks for you help! -- You received this message because you are subscribed to the Google G

help needed in debuging the hello world web application

2011-02-23 Thread thahir hussain
hi i am getting this error when i run my hello world application in eclipse Status: 404 Not Found Content-Type: text/html; charset=utf-8 Cache-Control: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Content-Length: 0 need help pls help -- You received this message because you are subscribed to

GWT and AppEngine Deploying Generated File

2011-02-23 Thread cp
I am not sure whether this simple scenario is broken or if i missing something context : eclipse3.6, GWT2.2 and AppEngine 1.4.2 1. Create a new sample GWT (Web application Project) 2. Change the button name from "Send" to "Send1" 3. Run in development mode. (by turning off Project Properties ->

Google Maps API v3 support in gwt-google-apis

2011-02-23 Thread bmclean
Hello, I’m working with a client on an application I have written using gwt- google-apis Maps. They’re interested in upgrading the application to use new features available in Google Maps Javascript API v3. Does anyone have an estimate as to when gwt-google-apis project will support the Google Map

TabWidget not refreshing

2011-02-23 Thread Digs
Hi, I was creating a project in which I have multiple tabs. I have used TabLayoutPanel. In that TabLayoutPanel I am added widgets using method TabLayoutPanel.add(IsWidget, "Text"); I have created different wigdet class that implements IsWidget class and added to TabLayoutPanel. Now I have some

CheckboxCell 2 clicks for selection

2011-02-23 Thread Ernesto Reig
Hello. I have a table with several columns, one of them holds CheckboxCell´s. The problem is that when I click in a little checkbox, its row is selected but the checkbox IS NOT "ticked". If I want to "tick" a little checkbox the row has to be selected first. This behaviour doesn´t happen in the Sho

Re: GWT Designer / Only Small Black Square

2011-02-23 Thread cri
Eric, Problem solved! Since you hinted that the version of IE might be a factor I upgraded from IE6 to IE8 and, hey!, the problem went away. Do you think this ought to be fixed in GWT Designer or since IE6 isn't very widely used maybe it should just be documented as an issue. I am curious how IE6

Re: Split points for method having return type other than void

2011-02-23 Thread Deepak Singh
Ok. Suppose any of these methods foo(), bar() or goo() use some class variable, global variable or some variable defined in another class then how does it affect code splitting here? On 2/23/11, Philippe Beaudoin wrote: > You are correct: the code you pasted has only one split point and (provide

Re: Best hosting provider for GWT app

2011-02-23 Thread unair001
Any Java web server hosting provider should work.? correct? since deployment is an ordinary war file. On Feb 22, 12:37 pm, Deepak Singh wrote: > Hi All, > > Lets share our experience for the hosting of gwt apps. If someone has > experienced a hosting provider before or know the best in the ma

Re: Migrating GWT 1.7 to GWT 2.2

2011-02-23 Thread Philippe Beaudoin
There is a vote in progress to get a GWT 2.2-compatible version of the gwt-maven-plugin: https://groups.google.com/forum/?pli=1#!topic/codehaus-mojo-gwt-maven-plugin-users/iyp0V83Tktg If you need it very quickly, feel free to grab my version: gwtplatform.plugin

Re: Split points for method having return type other than void

2011-02-23 Thread Philippe Beaudoin
You are correct: the code you pasted has only one split point and (provided they are not called from anywhere else), foo(), bar() and goo() sit behind that split point -- it means they will only be loaded when onClick is called. [That's what the sentence you highlighted in red means.] If you ca

Re: GWT Designer 2.2 error with gwt-maven project

2011-02-23 Thread David Chandler
We're looking into this. I can reproduce the error with a POM specifying GWT 2.2.0 and gwt-maven-plugin 2.2.0. /dmc On Mon, Feb 21, 2011 at 12:31 PM, har_shan wrote: > I deleted gwt-dev directory altogether in m2 local repo but still the > error persists. > > I also tried setting up new ecli

Image element will hang test execution

2011-02-23 Thread Alex D.
Hi, The code below will not finish (gets hanged in the Image constructor): public class ATest extends GWTTestCase { // . init code // public void testShouldNotHang () { // Create an empty image final Image img = new Image(); } } The

Re: Many problems when updating from 2.1.1 to 2.2

2011-02-23 Thread Fernando Barbat
I think I know what's happening. I'm using Ext GWT in my project, and for now it isn't compatible with GWT 2.2. http://www.sencha.com/forum/showthread.php?124026-GXT-2.2.2-compilation-error-with-GWT-2.2 On 23 feb, 08:47, Fernando Barbat wrote: > Hi, > > I tried to update an existing 2.1.1 projec

Re: Sorting CellTable, AsyncData but Sort Locally

2011-02-23 Thread Josh K
Ok, I got something working using the example you provided, but I don't like how I implemented it. It wasn't hard, but everything I've wanted to do in GWT so far has been easy, so this seems kind of messy.. But, I guess trying to implement sorting using a ListSortHandler would have been just as me

Re: standard.css

2011-02-23 Thread Jeff Larsen
After compiling our gwt project we get one statndard.css file which loads to the client consuming 1 http request. We also have our application specific style.css file which loads consuming 1 seperate http request. To reduce the number of http requests, how should i combine them into 1 css fi

Re: Configure GWT Application

2011-02-23 Thread David Chandler
To configure servlets contained in your WAR, you can use any config mechanism supported by your servlet container. To make configs available in the client, you can either write a service that can be called from the GWT client or, if the configured properties are available at the time the page load

Re: Embeding GWT app in another site without iFrame

2011-02-23 Thread John LaBanca
On Tue, Feb 22, 2011 at 9:19 PM, Bob Graton wrote: > Hello, > > I have my demo GWT app running fine at : http://site1.com/ > Inside my Html Host file on this site I load the GWT app with: > > Work fine. > > I would like to embeded this App on another site 'http://site2.com' > without iFrame. > T

Re: Best way to handle authentication failures with RequestFactory on the client

2011-02-23 Thread David Chandler
You can define a custom event for authentication failure and register a handler for it at startup. That is the approach taken here: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/gaerequest/ A handler for the GaeAuthenticationF

standard.css

2011-02-23 Thread Deepak Singh
Hi, After compiling our gwt project we get one statndard.css file which loads to the client consuming 1 http request. We also have our application specific style.css file which loads consuming 1 seperate http request. To reduce the number of http requests, how should i combine them into 1 css fil

Re: GWT 2.1 MVP Multiple activities clarification help

2011-02-23 Thread Mauro Bertapelle
Ernesto, CachingHorizontalMasterActivityMapper is just a wrapper for CachingActivityMapper and FilterActivityMapper. The layout of our example requires that both master and detail display regions are simultaneously visible. This means that when a user navigate to a detail place, even the master d

Re: GWT Designer and GAE deployment

2011-02-23 Thread csaffi
Thank you for your answer Eric. > We need more details here. What do you mean by you "cannot use the > Designer because it seems disabled". Disabled in what way? With disabled I mean that the "Design" tab is not present, there should be these tabs Source, Design, Bindings, but they are not presen

Re: GWT Designer / Only Small Black Square

2011-02-23 Thread cri
Eric, IE6 on both machines. Almost all are using It since it is currently our standard version of IE. Do you think IE6 could be our problem? I can probably upgrade to IE8. Yes, when running the app in development mode, the widgets behave correctly. Thanks, Chuck On Feb 23, 7:38 am, Eric Clayb

Embeding GWT app in another site without iFrame

2011-02-23 Thread Bob Graton
Hello, I have my demo GWT app running fine at : http://site1.com/ Inside my Html Host file on this site I load the GWT app with: Work fine. I would like to embeded this App on another site 'http://site2.com' without iFrame. The new HTML page on site2.com tries to load the GWT js file from site

Configure GWT Application

2011-02-23 Thread aemik
Hello, after a Deplyoment (for example Tomcat) i want to configure my Web Application in a property or xml file. Ist something like a "context.xml" possible in GWT? Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g

Re: GWT 2.2.0 broke binary compatibility for code generation

2011-02-23 Thread Scott Blum
I bet you could do something like this: class FooGenerator extends Generator { private static final Generator impl; static { try { Class jTypeClass = Class.forName("com.google.gwt.core.ext.typeinfo.JType"); Class generatorClass; if (jTypeClass.isInterface()) { g

Best way to handle authentication failures with RequestFactory on the client

2011-02-23 Thread juanita
I am trying to figure out the best way to handle authentication failures with RequestFactory on the client. The way I understand this is supposed to work is as follows: The client will perform a server request - typically expecting data to be returned. The gwt framework will check if the user is a

Exception in GWT/GAE app only in hosted mode

2011-02-23 Thread Sergey Frizen
Hi all! I have a problem launching my app only in hosted mode. On GAE server all works fine. This is a code of service implementation: / package com.jsoft.frontoffice.server; import java.util.Date; import java.util.logging.Logger; import j

Migrating GWT 1.7 to GWT 2.2

2011-02-23 Thread Rajeshwaran
Hi, Currently we r running GWT1.7 and like to migrate to GWT 2.2.0, would like to know 1. whether maven has proper plugin to support it since we use maven for building. 2. Host mode support from maven. regards Raj -- You received this message because you are subscribed to the Google Groups

Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread klemensr
Yes, I have done that already but the code seems to have errors. (http://gwt-validation.googlecode.com/svn/trunk/) Some of the jUnit Tests failed. So I tried it without these tests. In this case I could compile the project but when I tried to use it I got lots of errors. I had the same problems wi

Re: Which html element is (+/-) element in the CellTree? How can I edit it's id?

2011-02-23 Thread Anastasia
Well, I just wanted to add an 'id' in the '+' sign and not anything else related to css and special customizing. I've finally found a work around. Thanks for the reply :) On Feb 22, 1:35 am, FrugoFrog wrote: > It this what you are looking > for?http://groups.google.com/group/google-web-toolkit

Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread Christian Goudreau
Damn I was hoping it was enough, sorry it didn't help you. Cheers, On Wed, Feb 23, 2011 at 9:36 AM, klemensr wrote: > Yes, I have done that already but the code seems to have errors. > (http://gwt-validation.googlecode.com/svn/trunk/) > Some of the jUnit Tests failed. So I tried it without thes

Re: Split points for method having return type other than void

2011-02-23 Thread Deepak Singh
Sorry my mistake. return type of foo() and bar() is int. So now public void onClick(Clickevent e) { GWT.runAsynck( public void onSuccess() { int x = foo(); int y = bar(x); goo(z); } ); } public int foo() { } public int bar(i

Re: Which html element is (+/-) element in the CellTree? How can I edit it's id?

2011-02-23 Thread Anastasia
Well, I just wanted to add an 'id' in the '+' sign and not anything else related to css and special customizing. I've finally found a work around. Thanks for the reply :) On Feb 22, 1:35 am, FrugoFrog wrote: > It this what you are looking > for?http://groups.google.com/group/google-web-toolkit

@def in @if for Conditional CSS

2011-02-23 Thread Andreas
Is there a way to get @def statments to get work in @if statments. Whenever I try this, the @def last @if statment wins.For example: @def backgroundColor #e00; @if platform p1{ @def backgroundColor #F1C1BD; } @if platform p2{ @def backgroundColor #FDDCC5; } @if platform p3{ @def backg

CGI problem

2011-02-23 Thread cvh
Hello all, I've been knocking my head against this for a few days now. I have a GWT webapp (running on Ubuntu Lucid Lynx) which acts as a kind of dashboard for my application. The dashboard has a number of tabs, one of which displays my bugzilla installation. The bugzilla home page is contained wi

Re: BlurEvent or how to Insert text in TextBox at Cursor Position

2011-02-23 Thread jones34
Question withdrawn. Using a blurEvent works fine. I shouldn't hack so early in the morning with so little coffee. On Feb 23, 8:32 am, jones34 wrote: > Hi, > > I want to insert text at a textBox's cursor position in response to a > button click.  The obvious problem is that the clicking the button

Re: UIBinder changing element attributes

2011-02-23 Thread Gal Dolber
Every attribute is turned into a setter. The HTML Widget do not have a setClass method, but you can use "styleName" or "width" On Wed, Feb 23, 2011 at 8:55 AM, Vinicius Carvalho < viniciusccarva...@gmail.com> wrote: > Hello there! > > How do I change the attributes (size and wi

Re: GWT Designer / Only Small Black Square

2011-02-23 Thread cri
Alas, I'm running 32 bit version so that's not my problem. GWT Designer guys - any advice at all. I'm trying to sell my co workers on GWT Designer and this isn't going to help. Thanks On Feb 23, 3:44 am, AndrewR wrote: > What version of eclipse are your running 32 or 64 bit? I had a problem > sim

Re: GWT Designer / Only Small Black Square

2011-02-23 Thread Eric Clayberg
What version of IE are you running on both machines? If you actually run the app on your XP box, do those widgets display correctly? On Feb 22, 12:56 pm, cri wrote: > More info on the problem. > > First, and perhaps most important, the problem seems to involve all of > the new layout panels: Doc

BlurEvent or how to Insert text in TextBox at Cursor Position

2011-02-23 Thread jones34
Hi, I want to insert text at a textBox's cursor position in response to a button click. The obvious problem is that the clicking the button removes focus from the textBox, so there's no cursorPos value. (At least I assume that's what's happening.) Is the right way to do this to have the textBox

Re: GWT Designer and GAE deployment

2011-02-23 Thread Eric Clayberg
We need more details here. What do you mean by you "cannot use the Designer because it seems disabled". Disabled in what way? With the second project, why can't you "run it on GAE after deployment"? What version of GWT are you using? What version of GWT Designer? On Feb 22, 11:32 am, csaffi wro

Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread Christian Goudreau
Gwt-validation is incompatible with Gwt 2.2, you have to checkout the code and compile it against Gwt 2.2. Cheers, On Wed, Feb 23, 2011 at 7:30 AM, klemensr wrote: > Thanks for the response. > I have created an own test project so that should not be the > problem... > > Any other suggestions? >

Problem with CellTable and Focus

2011-02-23 Thread AlexG
Hi @ all, I have about 8 Views in myProject, where I use the CellTable Widget to display data from the Datastore. Only with one View I have problems with the Focus of the CellTable. The 7 working Widgets work lie this: If I select an Item in the CellTable, than it is highlighted as selected (defa

Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread klemensr
Thanks for the response. I have created an own test project so that should not be the problem... Any other suggestions? On 23 Feb., 12:38, tdk wrote: > maybe rebuilding your project from scratch (clean build) helps. > I had a similar issue which went away after doing a clean build. -- You rec

help with starting hosted mode...

2011-02-23 Thread alfonz19
Hi. I've got this problem. I use maven and Jboss to build enterprise app with many ejb modules and one web module. Everything is configured, will build successfully, I can debug server side code. But I'm unable to do so with client side. I cannot make hosted mode running. Eclipse plugin is NOT ca

UIBinder changing element attributes

2011-02-23 Thread Vinicius Carvalho
Hello there! How do I change the attributes (size and width) of a given UIBinder element? I've read about changing the class, but this is not what I need actually. Here's my uibinder file: I need to change the width of the outer HTML element of the uiBinder. The fields I ca

Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread tdk
maybe rebuilding your project from scratch (clean build) helps. I had a similar issue which went away after doing a clean build. -- 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@google

Re: Error installing GWT 2.2 in eclipse 3.6

2011-02-23 Thread alexoffspring
Andrew, thanks for your precious help. I confirm that this procedure leads to a successfull installation. The thread is [SOLVED] Thanks to all for the contribute. --Alex On 23 Feb, 10:14, Andrew Scully wrote: > In my case, I had to install from the zip archive instead due to > firewall troubl

GWT-Validation with GWT 2.2.0

2011-02-23 Thread klemensr
Dear all, I just updated from GWT 2.0 to GWT 2.2.0 and I have issues with GWT- Validation (http://code.google.com/p/gwt-validation/). Is there maybe a new way of doing validation in GWT 2.2.0? I have found nothing in different forums about GWT-Validation and GWT 2.2.0. Here is my failure messag

Re: Feedback Requested: Preview of new GWT Style Theme

2011-02-23 Thread mP
Firstly, I think GWT needs to add some gradient washes to the background of buttons, tabs and other areas with solid colours. - menus - the highlighted menu colours are almost the same as the gradient wash that spans the entire menu bar. The highlighted colour should really be different. - th

Many problems when updating from 2.1.1 to 2.2

2011-02-23 Thread Fernando Barbat
Hi, I tried to update an existing 2.1.1 project to 2.2 without success. The compiler throws a lot of errors and exceptions. I found in another post that we should update Gin to 1.5 and tried it, but it wasn't helpful. Any idea? Thanks. This is the compiler's log: Compiling module com.example.m

Re: Dynamic image url/data changing

2011-02-23 Thread Matej Jelovcan
Ah, problem solved. As it was a stupid one :D After taking a step back and looking again, naturally, super.layout() call was missing. Cheers. On 2/23/11, Matej Jelovcan wrote: > Hey guys. Simple problem. I'll just post the source... > > public class ImageWindow extends Window > { > p

Re: GWT Designer / Only Small Black Square

2011-02-23 Thread AndrewR
What version of eclipse are your running 32 or 64 bit? I had a problem similar to this a while back when the designer was first released. I was running 64-bit eclipse. When I moved back to the 32-bit version everything worked correctly. I haven't tried it since. Andrew -- You received this me

Re: Error installing GWT 2.2 in eclipse 3.6

2011-02-23 Thread Andrew Scully
In my case, I had to install from the zip archive instead due to firewall trouble. Even then, I had to run the install (and restart) twice before it installed correctly, for some reason. Make sure your eclipse is fully up to date prior to installation. Cheers, Andy. On Feb 23, 8:02 am, alexoff

  1   2   >