Why this code can't get the event??

2011-08-12 Thread yourenzhuce
I want to add a div on TextBox, when textbox's value is empty, the div will be show. It look good, but it can't receive the event. the EventHandler does not take effect. What's the problem?? The code is: public static HTML

Aw: Re: CSS compiler + ie gradients = strange behaviour

2011-08-12 Thread Peter Willert
Hey Jeff, thanks for your fast reply! Am Donnerstag, 11. August 2011 19:12:14 UTC+2 schrieb Jeff Larsen: How about you check out http://css3pie.com/ We know about solutions like that, but we don't like to inject any new dependencies into our project. Unless there are workarounds, we think

Re: Create Canvas widget from CanvasElement

2011-08-12 Thread karim33
Hi Julian, I work with GWT 2.3 and i just see in the documentation : (http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/ gwt/dom/client/CanvasElement.html) constructor protected CanvasElement() It means that you can derive your own class for CanvasElement. Adding it in a GWT

Re: Why this code can't get the event??

2011-08-12 Thread Ivan Pulleyn
I notice that you are removing the widget from it's parent. That doesn't seem correct. On Fri, Aug 12, 2011 at 12:55 PM, yourenzhuce yourenzh...@gmail.com wrote: I want to add a div on TextBox, when textbox's value is empty, the div will be show. It look good, but it can't receive the event.

Re: Create Canvas widget from CanvasElement

2011-08-12 Thread Julian
constructor protected CanvasElement() It means that you can derive your own class for CanvasElement. Adding it in a GWT container works for me. I agree with you : I don't understand why there is also a Canvas class, and why the constructor is private ? Canvas is a Widget

GWT Remote Logging - Logger Name replaced by logOnServer

2011-08-12 Thread Wooi
Below is the message I got from my apache server... com.google.gwt.logging.server.RemoteLoggingServiceUtil logOnServer WARNING: blablabla I try to check RemoteLoggingServiceUtil, seeing while my logger name is null it will replaced? This is my code... private static Logger log =

Re: How to use Mockito for testing Async calls?

2011-08-12 Thread Magno Machado
Code from a @Test method: ListPesquisaProxy pesquisas = new ArrayListPesquisaProxy(); Request? request = mock(Request.class); doReturn(request).when(pesquisaRequest).listAll(); doReturn(pesquisaRequest).when(requestFactory).pesquisaRequest();

Re: Why this code can't get the event??

2011-08-12 Thread Jambi
On 12 Aug., 11:07, Ivan Pulleyn ivan.pull...@gmail.com wrote: I notice that you are removing the widget from it's parent. That doesn't seem correct. I´m thinking the same. You should probably just hide the widget -- You received this message because you are subscribed to the Google Groups

Securing activities/places etc based on roles

2011-08-12 Thread Craig Greenhalgh
Hi is there an existing framework where I can secure activities or places based on a users roles? Thanks Craig -- 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

Running Unit Test Emulating FF3.6

2011-08-12 Thread pedjak
Hi, I would like to run GWT unit tests using HtmlUnit that emulates FF3.6, but by looking at the code in RunStyleHtmlUnit class, I have realized that possible HtmlUnit browser emulations are narrowed down to FF3, I6, and IE7. Is there any particular reason for that? Best, Predrag -- You

Do proxy objects necessarily reduce client side entity manipulation to functional programming?

2011-08-12 Thread Nick Siderakis
I want to load a bunch of data to the client, graph it (via Google Visualization API), have the user manipulate it (client side only), and regraph it...and so on. I really like the selling points of requestfactory, but I find my self between a rock and a hard place. **When I was using POJOs

Re: file upload once again

2011-08-12 Thread Nick Siderakis
take a look at the code in http://code.google.com/p/upload4gwt/, its not a polished library (yet), but its still usable. also the links might provide some useful resources. hope it helps :D -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: appengine connected android project wizard example

2011-08-12 Thread RS
At last. The version of beta eclipse plugin available now (late july - early aug 2011) hasn't worked independently. Workaround is to install 2.3 plugin and then install 2.4 beta plugin on eclipse indigo (3.7) not helios. After installing 2.4beta on top on 2.3, it would have auto updated what it

Aw: Re: CellTree and SelectionModel

2011-08-12 Thread tom
Hi, As a workaround, I've implemented onBrowserEvent() in the Cells I use to display my data. Like here: https://groups.google.com/d/topic/google-web-toolkit/mWdBS9kavuc/discussion Still interested in a clean solution via SelectionModel. -- You received this message because you are

Re: Should DecoratorPanel implement ProvidesResize?

2011-08-12 Thread Francis
Try this DecoratorLayoutPanelhttp://www.hkwebentrepreneurs.com/2011/08/gwt-decoratorlayoutpanel.htmlclass -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Drop files onto Web Page

2011-08-12 Thread Sean
I've seen a few topics on this, but most are a few years old at this point. I was wondering if there are any ways to drop a file onto the webpage from a folder (Windows in this case) and have it upload or prepare to upload much like how GMail does it. I've seen a few ways to fake it, I was

Re: GWT meets iOS: Gwt4Titanium Mobile 1.0 coming soon

2011-08-12 Thread ahmet kara
That is great Alain! Creating mobile apps for both platforms just with one way and best way with java. This is what I was looking for. I hope there will be sample projects with the release :). I am looking forward to see it. On 12 Ağustos, 12:28, leandro borbosa leandrob...@googlemail.com

GWT Designer not supported GXT API's

2011-08-12 Thread Ramaprasad Reddy
Hi, I have used Eclipse as a IDE (3.4.2) to develop the GWT Application using GWT(2.2.0) and GXT(2.2.4) libraries and installed GWT Designer plug-in in eclipse IDE , the designer plug-in installed successfully. I have tried to open GWT Entry point class (onModuleLoad) in the designer view but

Updating a celllist from a JSONP call

2011-08-12 Thread Paul Browne
Hi, I have have a celllist in a UIBinder, when I use JSON to get some data from a remote server it does not seem to update the celllist with the data that I have set in cellList.setRowData until I start moving the mouse for a bit (sometimes not at all if i dont move the mouse for about 20

Load Testing Tool for GWT

2011-08-12 Thread Benoit Cantais
Hi, Is there any easy way to make parameterizable load test for GWT ? I tried to use JMeter and Grinder. But when i get the generated script of my test, both of these tools gave me an unreadable request. The scripts works fine but it doesn't appear to be easily reusable with different parameters.

Re: Standalone zip download of GWT Designer

2011-08-12 Thread DMcC
Does anyone have the latest standalone links? On Jul 6, 3:23 am, Eric Clayberg - Instantiations clayb...@gmail.com wrote: The problem is that you are looking at an old post about a prior release. The current release is v2.3.2 rather than v2.3.1. On Jul 5, 1:44 am, Eckhard Rimkus

Widget Calendario

2011-08-12 Thread jose felix estevez
buenas amigo estoy en busqueda de algun widget que me cumpla con la funcion de desplegar un calendario con la fecha. -- 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.

Re: Widget Calendario

2011-08-12 Thread Hilario Perez Corona
Please, use english on this group. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/DWodS_-Xr_oJ. To post to this group, send email to

Re: Widget Calendario

2011-08-12 Thread jose felix estevez
sorry but I have responded in Spanish, in this group. 2011/8/12 Hilario Perez Corona hpcor...@gmail.com Please, use english on this group. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Widget Calendario

2011-08-12 Thread Juan Pablo Gardella
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/datepicker/client/DatePicker.html 2011/8/12 jose felix estevez josefel...@gmail.com sorry but I have responded in Spanish, in this group. 2011/8/12 Hilario Perez Corona hpcor...@gmail.com Please, use english on

Re: Load Testing Tool for GWT

2011-08-12 Thread Jeff Chimene
On 08/12/2011 07:48 AM, Benoit Cantais wrote: Hi, Is there any easy way to make parameterizable load test for GWT ? I tried to use JMeter and Grinder. But when i get the generated script of my test, both of these tools gave me an unreadable request. The scripts works fine but it doesn't

Re: GWT Compiler Errors

2011-08-12 Thread Matthias Rauer
Yes, you are right,there are some classes you cannot use on client side. But in this case I ll get another compile exception. The other team member haven't these problems, that I have :-( They use Windows 7 64-bit. On 11 Aug., 15:44, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: At

how to access the real session?

2011-08-12 Thread Dennis Haupt
i tried to save an attribute via an async servlet call to get it later from another page. i did it like this: class x extends remoteserviceservlet ... final Object attribute = getThreadLocalRequest().getSession().getAttribute(variableName); but this doesn't work. the result seems to depend

Re: GWT Compiler Errors

2011-08-12 Thread Magno Machado
Isn't there any other process that may be blocking the folder/files? On Fri, Aug 12, 2011 at 1:53 PM, Matthias Rauer rauer1...@googlemail.comwrote: Yes, you are right,there are some classes you cannot use on client side. But in this case I ll get another compile exception. The other team

Re: GWT Compiler Errors

2011-08-12 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 drive full? Am 12.08.2011 20:38, schrieb Magno Machado: Isn't there any other process that may be blocking the folder/files? On Fri, Aug 12, 2011 at 1:53 PM, Matthias Rauer rauer1...@googlemail.com mailto:rauer1...@googlemail.com wrote: Yes,

Singleton instance in RPC AsynCall with two or more RPCs

2011-08-12 Thread Miguel Ruiz Rodriguez
Hi everybody, I´m using a solution that use a Singleton pattern to create and AsynCall class with the followin code. public interface GreetingServiceAsync { /** * Utility class to get the RPC Async interface from client-side code */ public static final class Util {

CellTable

2011-08-12 Thread jose felix estevez
good friends, I am trying to put together a fileupdater celltable with an idea. -- 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 this group, send

Re: GWT Designer: some panels showing up blank

2011-08-12 Thread Eric Clayberg
There are two issues here. The first appears to be a issue with WebKit not properly rendering CaptionPanels all the time. GWT Designer uses WebKit for all widget rendering and simply shows you what WebKit generates (for better or worse). We are looking in to possible work arounds as we have had

Re: GWT Designer not supported GXT API's

2011-08-12 Thread Eric Clayberg
The only GWT Designer GXT docs are herehttp://code.google.com/webtoolkit/tools/gwtdesigner/features/gwt/gxt.html. Note that GXT is only supported for GWT Java classes and not UiBinder files. If you are having a problem, you should post a complete test case and associated stack traces and/or

Image from resource in SafeHtmlTemplate

2011-08-12 Thread Micah Caldwell
I have an image from a ClientBundle resource: final String myImageUrl = new Image(Resources.sSingleton.GetMyImage()).getUrl(); I also have a SafeHtmlTemplates interface: public interface MyTemplates extends SafeHtmlTemplates { @Template(img src='{1}'/) SafeHtml GenerateCellHtml(String imageUrl);

Re: Image from resource in SafeHtmlTemplate

2011-08-12 Thread Micah Caldwell
For the curious, this is what is returned by Image.getUrl():

Implementing Cut, Copy Paste in a page having 70 odd widgets

2011-08-12 Thread Vemuri Karthik
Hi, I am trying to implement the cut, copy and paste functionality for a page that has around 70 widgets including text boxes, list boxes, labels, containers, panels and so on. The cut, copy and paste buttons are part of these. When a User selects text in some text box in the page and clicks on

Re: Is it ever possible for an asynchronous service method's callback to get called without yielding to the browser's event loop?

2011-08-12 Thread Karthik Reddy
See the example under *Non-Blocking / Asynchronous:* and it gives a clear example addressing Tad's question: http://quickleft.com/blog/142 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: TreeItem child widgets do not have onAttach called

2011-08-12 Thread lkcl
On Aug 11, 12:34 am, Jim Douglas jdou...@basis.com wrote: Have you considered using this version of TreeItem, which takes a Widget? http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...)http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...) that's the

Re: TreeItem child widgets do not have onAttach called

2011-08-12 Thread lkcl
On Aug 11, 12:34 am, Jim Douglas jdou...@basis.com wrote: Have you considered using this version of TreeItem, which takes a Widget? http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...) http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...) okay.

Re: GWT meets iOS: Gwt4Titanium Mobile 1.0 coming soon

2011-08-12 Thread Kathiravan Tamilvanan
Do you have a beta. Would love to give it a try :-) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ZkK5XGA1zAMJ. To post to this group, send

Re: Implementing Cut, Copy Paste in a page having 70 odd widgets

2011-08-12 Thread mP
Suggestion: what about registering a lost focus listener that sets some global variable when it loses fcous. Your cut/copy/paste buttons could thencheck the glboal to figure out the last target the user actually had. On Aug 13, 7:40 am, Vemuri Karthik karthik...@gmail.com wrote: Hi, I am

Detect *only* when browser is closing (WindowCloseListener)

2011-08-12 Thread Jose María Zaragoza
Hi: I would like to detect *only* when browser is closing About WindowCloseListener documentation, events are fired after the browser window closes or navigates to a different site. And I dont want to do anything when go to another site How I can to know this ? Thanks and regards -- You

DataGrid GWT 2.4 RC1

2011-08-12 Thread News Club
Hi: I want to try the DataGrid in 2.4 RC1 release. I took the CellTable example and slightly modified it to use DataGrid. I could compile fine but nothing gets displayed in the browser and no exceptions. I don't know why it is not working. Appreciate your help. Thanks. NR public class

Re: Implementing Cut, Copy Paste in a page having 70 odd widgets

2011-08-12 Thread Karthik Vemuri
Yup... Thanks.. That's what I was thinking too... I should use the Blur handler now since we no longer use listeners Regards, Karthik Vemuri On Aug 12, 2011, at 6:25 PM, mP miroslav.poko...@gmail.com wrote: Suggestion: what about registering a lost focus listener that sets some global

[gwt-contrib] Adding configuration booleans to CellTable to refresh headers and footers only when needed. Cur... (issue1520803)

2011-08-12 Thread jlabanca
Reviewers: pengzhuang, Description: Adding configuration booleans to CellTable to refresh headers and footers only when needed. Currently, the headers and footers are refreshed every time the data is redrawn, even though headers and footers are often static or do not depend on the data. Users

[gwt-contrib] [google-web-toolkit] r10522 committed - Adding configuration booleans to CellTable to refresh headers and foot...

2011-08-12 Thread codesite-noreply
Revision: 10522 Author: gwt.mirror...@gmail.com Date: Fri Aug 12 10:19:01 2011 Log: Adding configuration booleans to CellTable to refresh headers and footers only when needed. Currently, the headers and footers are refreshed every time the data is redrawn, even though headers and

[gwt-contrib] Re: Adding configuration booleans to CellTable to refresh headers and footers only when needed. Cur... (issue1520803)

2011-08-12 Thread jlabanca
committed as r10522 http://gwt-code-reviews.appspot.com/1520803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Comment on RequestFactory_2_4 in google-web-toolkit

2011-08-12 Thread codesite-noreply
Comment by mana...@gurumades.com: Is there any example on how one would use the new RequestBatcher to batch multiples operation from diffent type of RequestContext? For more information: http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4 --

[gwt-contrib] Re: Adding a new CellTableHeaderBuilder API, which allows custom headers and footers in CellTable. C... (issue1499808)

2011-08-12 Thread jlabanca
http://gwt-code-reviews.appspot.com/1499808/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Fixes problem with datanucleus enhancement and Appengine deployment (issue1521803)

2011-08-12 Thread rchandia
Reviewers: rjrjr, drfibonacci, Description: Fixes problem with datanucleus enhancement and Appengine deployment - Migrated to Objectify - Prevents gwt-dev.jar and gwt-user.jar from being deployed - Prevents soycReport files from ending in the App Cache manifest - Removed unused ant script file

[gwt-contrib] Pretty massive refactoring of FieldManager and HtmlTemplates to make (issue1522803)

2011-08-12 Thread rjrjr
Reviewers: hermes, rchandia, Description: Pretty massive refactoring of FieldManager and HtmlTemplates to make SafeUri work as expected. Similar will be needed for SafeStyles. Introduces a hook in HtmlInterpreter to specialize parsing of specific HTML attribute names, which previously were all

[gwt-contrib] Re: scheglov pointed out a leak in compilation units in dev mode after a refresh (issue1490801)

2011-08-12 Thread zundel
http://gwt-code-reviews.appspot.com/1490801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fixes problem with datanucleus enhancement and Appengine deployment (issue1521803)

2011-08-12 Thread rjrjr
On 2011/08/12 21:05:01, rchandia wrote: From an offline note sent by Rodrigo: This maven project is far from perfect though: - Gwtc complains that gwt-dev.jar is in the classpath (but this is necessary to compile the linker) - The deployed app contains symbol maps (which can't be removed

[gwt-contrib] Re: Fixes problem with datanucleus enhancement and Appengine deployment (issue1521803)

2011-08-12 Thread rjrjr
I think you're right to keep this patch focussed on simply making the thing work again. Ugly as it is, this might be enough fixing to let us get 2.4 out the door. But let's try to corner Dave for a chat on Monday before making that call, get his read on both the mvn structure and the Objectify

[gwt-contrib] Re: scheglov pointed out a leak in compilation units in dev mode after a refresh (issue1490801)

2011-08-12 Thread zundel
http://gwt-code-reviews.appspot.com/1490801/diff/5002/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java File dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java (right):