Integrating RequestFactory into an eclipse project

2011-08-17 Thread Spundun
Hi all, I'm trying to add RequestFactory and objectify to my existing eclipse project that uses GPE and GAE. The page http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html has the following instructions in the sectioin titled wiring Add the following jars to your

requestfactory security problem

2011-08-17 Thread July
hello all: I'm using GWT 2.3 requestfactory+ GAE 1.5 user authentication for my app, it only allows authenticated people to access, implemented as below: if the user has not login to Google, redirect him the Google login screen. if yes, check if he has the right to access. if yes display the

Re: Dynamically editing list of ValueProxies with ListEditor

2011-08-17 Thread Mihail Lesikov
What version of GWT you are using ? GWT 2.4 rc1 What happens if you try something like: PhoneNumber p1 = request.create(PhoneNumber.class); PhoneNumber p2 = request.create(PhoneNumber.class); p1.setValue(234234234); p2.setValue(12312); p1.equals(p2) ? p1.equals(p2) the

Re: Dynamically editing list of ValueProxies with ListEditor

2011-08-17 Thread Mihail Lesikov
listEditor.getList().remove(phoneNumber); // phone number is the last proxy in the list 1) as a result, the first element in the list is always removed 2) when flush is called on the contactEditor(parent editor that contacs the driver), no values are filled in the list of

Re: FlexTable RowSpan problem

2011-08-17 Thread Paul Robinson
On 16/08/11 21:47, Ivan Pulleyn wrote: I've recently experienced similar bugs in FlexTable and had to work around it by next my tables and never using colSpan. I'm curious if GWT 2.4 will fix this but I haven't had the chance to look into it. This is not a bug in GWT, it is the way html

Re: How to set the selection color of a CellList widget?

2011-08-17 Thread ozgur aydinli
Hi Rod, You can extend CellList.Resources interface and create the cell list with your new Resources. public interface MyCellListResources extends CellList.Resources { @Source(MyCellList.css) Style cellListStyle(); } and in your MyCellList.css override

Re: UI Binder Button Problem

2011-08-17 Thread walker1c
Hi Alex, That would be a start. Does the tag in your post work? The Javadoc at http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/CustomButton.html shows upFace as a sub-node of the PushButton tag. If I'm reading the UIBinder documentation correctly,

Re: FlexTable RowSpan problem

2011-08-17 Thread Ivan Pulleyn
Maybe this is a misunderstanding on my part then. When I insert at (0,0) with colspan=2, then I was expecting that a subsequent insert at (0, 2) would be the next cell over. HoweverFlexTable sticks an empty cell in between, resulting in 3 cells existing in the table rather than 2, which is what I

Re: How to do user simple user authentication and provide a different module for different user types?

2011-08-17 Thread Sérgio Miguel Neves Lopes
Thank you for the suggestions. I've been looking at Apache Shiro and it seems I'm going to use it as soon as I can manage to incorporate it into my application. On 2011/08/16, at 19:14, Juan Pablo Gardella wrote: You can see Spring Security or Apache Shiro. This frameworks are easy and

Re: Getting Height of cell table

2011-08-17 Thread BST
Managed to find a solution: updating it below. I am adding a handler to the celltable when the celltable updates it rowdata automatically a valueChange event is fired, so making use of it. Had to go thru the source code for this. .addHandler(new ValueChangeHandlerMyDTO() { @Override

Re: Custom Handlers for CellTable

2011-08-17 Thread BST
A solution for adding ValueChange Handler: https://groups.google.com/d/topic/google-web-toolkit/yN3K778FVsU/discussion -- 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: CellTable

2011-08-17 Thread BST
Is it like a Cell Table that directly edits csv files or something like that? -- 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/-/qZegttRnr-gJ. To

Re: MenuBar working well in hosted page but not in the others

2011-08-17 Thread BST
I just tried the example that you posted. It works for me. I am getting an alert whenever I select Bold or A or B. Are you expecting something else? -- 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: requestfactory security problem

2011-08-17 Thread July
Thanks for reply, but seem both links you provided can not be opened. i use GWT2.3 and seem no UserInformation defined? -- 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: requestfactory security problem

2011-08-17 Thread BST
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/requestfactory/server/RequestFactoryServlet.html Message in the above link RequestFactory has moved to com.google.web.bindery.requestfactory. This package will be removed in a future version of GWT. -- You received this

Aw: Re: requestfactory security problem

2011-08-17 Thread Jens
The UserInformation class is old. You have to write a ServletFilter that does the authentication for every request and you may also want a custom RequestTransport implementation for RequestFactory. Take a look at the mobilewebapp sample in GWT 2.4 release branch or trunk to see how you can

Re: How do I load test data into my Widget

2011-08-17 Thread BST
I guess what you are looking for is uploading the files or keeping the files in server and displaying the list of available files in a location at server or war file and when clicked display the contents of the file. -- You received this message because you are subscribed to the Google Groups

Re: Re: requestfactory security problem

2011-08-17 Thread Mihail Lesikov
Check this topic - https://groups.google.com/forum/?pli=1#!searchin/google-web-toolkit/RequestFactory$20security|sort:date/google-web-toolkit/BBG4ivoedLM/BE6BTl8ikSEJ Have a look at how the Expenses sample uses Google AppEngine's UserService to authenticate users with RequestFactory:

how to test presenter that is activity

2011-08-17 Thread tanteanni
On of the main advantages of MVP-patrtern propagated is testability because if implemented correctly there is no need for GWTTestCase. But if i use MVP in conjunction with activities places - meaning presenters become activities - this advantage seem to gone?! Beeing a presenter and activity

GWT MenuBar : how to set size and spacing between the element

2011-08-17 Thread saurabh saurabh
Hi everyone, I have made a Composite widget as header of page. Now I encounter these few problems here: 1) I am not able to set the size of MenuBar. Whatever I set the width, I see no changes over the web page. 2) I want some custom styling of my MenuBar like the space or

GWT 2.3: Activities and Automatic Event Deregistration

2011-08-17 Thread objectuser
Handlers added to the eventBus passed to the Activity.start method are not automatically deregistered for me. I'm guessing it's my code, since I don't see much recent discussion about this. I don't throw away my activities each time, so maybe that's my issue. But reading the documentation

Re: how to test presenter that is activity

2011-08-17 Thread Nicolas Antoniazzi
If you use MVP, you might use some kind of factory for your objects, like the PlaceController. The best is to use dependency injection for this (with Gin). The PlaceController is Injected in the Activity (or in your custom factory). When it comes to testing, you can use a special factory (or

Re: How do I load test data into my Widget

2011-08-17 Thread DemiSheep
I am trying to write a widget which will be used to attach notes to documents. So I am trying to setup a mock environment to simulate this. My main focus is the notes for the documents, which I can store anywhere, but I had thought I'd store them at the end of the files I am viewing. Is there a

Re: GWT 2.3: Activities and Automatic Event Deregistration

2011-08-17 Thread objectuser
I might understand this better. It seems like the event registration is still fired in the event cycle that causes the onStop method to be called. After that, subsequent events don't activate that registration. Confirmation is welcome. :) -- You received this message because you are

Re: How do I load test data into my Widget

2011-08-17 Thread DemiSheep
Can I put the files in a war file and have the client open the files for viewing?? What you described is exactly what I want to do. Click on a available file in a list and then have it displayed in another panel. Then my main focus is to attach a note to the file. On Aug 17, 7:01 am, BST

Re: GWT MenuBar : how to set size and spacing between the element

2011-08-17 Thread saurabh saurabh
Ok I got an answer CSS styling and I need to override the particular style already given in extended CSS style. Sorry for bothering for such a silly question. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: how to test presenter that is activity

2011-08-17 Thread tanteanni
thx i already use gin. but how to get a testable PlaceController - Placecontroller is a class not an interface? my only idea is to give null? -- 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: how to test presenter that is activity

2011-08-17 Thread Nicolas Antoniazzi
Yes, indeed, I did not realized this ! That's a good question :) ! 2011/8/17 tanteanni tantea...@hotmail.com thx i already use gin. but how to get a testable PlaceController - Placecontroller is a class not an interface? my only idea is to give null? -- You received this message because

Problem in Tabbing on a Button

2011-08-17 Thread Manish
I have a Flowpanel in which I inturn add Deckpanel and ButtonPanel Now this Deckpanel have Dynamic GWT Companents added and ButtonPanel have Buttons which are disabled and enabled Dynamically.My issue is when I try to do tab movement then tab movement/shift-tab movement from ButtonPanel to

Re: GWT Developer Plugin for Firefox 6

2011-08-17 Thread Jesper Rønn-Jensen
Jason Yin wrote: just upgraded to firefox 6 today.. and realized GWT Developer plugin isn't compatible with it. Just to add to the thread: I changed version numbers inside the .xpi file. But FF6 still complaints that it is incompatible. So I guess we must have to wait for a release Please

Trouble with List Editors

2011-08-17 Thread Maiku
Hello, I have a model that contains a List of Language objects (which just contain a string for the language code and boolean to denote default). I am trying to setup a List Editor like that shown in

RequestBuilder POST problem

2011-08-17 Thread Max
Hello, I'm sending a POST request to my webserver (let's call it server A) from RequestBuilder, which returns JSON representation of the object being created. In my callback method I refresh the UI to reflect the changes. Everything works fine, while I use server A as a host name in the browser's

Re: how to test presenter that is activity

2011-08-17 Thread Nicolas Antoniazzi
One solution could be to create an interface in your project around PlaceController and bind this interface on an inherited version of PlaceController. Then, inject the interface instead of the concrete implementation. But there is certainly an easyier way of doing it... 2011/8/17 Nicolas

Re: how to test presenter that is activity

2011-08-17 Thread objectuser
Maybe I'm not understanding the issue, but can't you just create a place controller like so: @Provides @Singleton PlaceController createPlaceController(EventBus eventBus, PlaceController.Delegate delegate) { return new PlaceController(eventBus, delegate); } Put whatever in the delegate

Re: how to test presenter that is activity

2011-08-17 Thread tanteanni
i didn't know about this nice constructor - thx objectuser! i'll try it :-) -- 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/-/o-kXOhM2fzsJ. To

Re: how to test presenter that is activity

2011-08-17 Thread tanteanni
on additional question about the mock PlaceController: i guess the normal PlaceController is the source of PlaceChangeEvents, isn't it? Is it possible to let the mock fire such events on call of goTo in PlaceController? (Will the PlaceController delegate goTo-calls to it's delegate?) it would

Re: how to test presenter that is activity

2011-08-17 Thread objectuser
The delegate appears to be irrelevant in unit tests. I test my navigation using placeController.goTo as I show above. My activities start, stop, etc. So it works out very well, I think. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: CellTree and SelectionModel

2011-08-17 Thread tom
Now got it working with SingleSelectionModel. The first time I tried it, the SingleSelectionModel wasn't working properly because it lacked a ProvidesKey to distinguish my EntityProxies. On 12 Aug., 15:40, tom majortom...@gmail.com wrote: Hi, As a workaround, I've implemented onBrowserEvent()

Re: how to test presenter that is activity

2011-08-17 Thread tanteanni
that means the PlaceController works as always?! it delgates only the GwtTestCase-needed-stuff? - great! -- 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: MenuBar working well in hosted page but not in the others

2011-08-17 Thread Marko Borges
Sorry! I forgot to tell. I have it working now! Thanks for trying to help. Is there an easy way to insert blank space in Menu before inserting MenuItems? If there is a way without having to edit css would be perfect. I tried to insert in an HorizontalPanel but my menu stays badly formatted inside

Re: Re: requestfactory security problem

2011-08-17 Thread July
very helpful, Thank you all for the help -- 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/-/4byTLNJMcmMJ. To post to this group, send email to

Re: how to test presenter that is activity

2011-08-17 Thread objectuser
It works for me. These are just JUnit tests (Jukito tests, specifically). -- 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/-/PGy-XD24Ux4J. To post

Re: GWT Developer Plugin for Firefox 6

2011-08-17 Thread Jason Yin
Hi Chris Thank you for your reply. Jason On Aug 16, 5:03 pm, Chris Conroy con...@google.com wrote: Jason, Unfortunately, for the time being we're unable to keep pace with Mozilla's new release schedule since the plugin update process is quite manual. We'll be sure to announce to the list

Controlling Size(screen) on Mobile Device

2011-08-17 Thread Doug
Good Afternoon All, What is the best way to control the size of a page on a mobile browser? For example, on the sample 'greeting' app that is created when you create a new project is about 1/3 of the page with when viewed in a normal browser. If you view it on a mobile device it takes up about

Re: Activities and Places and Layouts (again)

2011-08-17 Thread DaveC
No worries :o) On Aug 15, 7:10 pm, Mike Dee mdichiapp...@gmail.com wrote: Dave, I think you got it.  Double checked and wasn't setting height to 100%.  Thanks, that seems to have done it.  Thought I was doing that. Mike On Aug 15, 9:01 am, DaveC david.andrew.chap...@gmail.com wrote:

WindowBuilderPro GwtJavaUI Composite and GWT UiBinder Composite

2011-08-17 Thread Luc
It's kind of newbie question.. I can't figure out how WindowBuilder manages panels in design view for GWT Java UI and GWT UiBinder. Everything seems fine when I follow the instructions in this tutorial (http://code.google.com/javadevtools/wbpro/tutorials/ loginmanager.html), but when I try to do

Re: Integrating RequestFactory into an eclipse project

2011-08-17 Thread Nick Chalko
What do I use as a validator of my choice that I can use with GAE and which is easily gettable? http://www.hibernate.org/subprojects/validator.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

StockWatcher JSON - tutorial

2011-08-17 Thread Gaurav
tried follwing stockwatcher GWT tutorial for using JSON data. Data on the screen not getting refreshed but the call to the backend server is successfull. adding new stocks to the list refreshes the data as expected. kindly help. Regards, Gaurav -- You received this message because you are

java.lang.NoSuchMethodError: org.mortbay.thread.Timeout

2011-08-17 Thread Raja
Hello, I'm new to GWT. I have created a Webapplication project. i have defined a class called Abc.java, which will use smartgwt libraries for xpath. I have created a JunitTest class to test this Abc.java. My test class is as follows:

Re: How do I load test data into my Widget

2011-08-17 Thread DemiSheep
I think I'll just hard code a couple of the files for my purposes. Respectfully, DemiSheep On Aug 17, 9:06 am, DemiSheep andre.fl...@gmail.com wrote: Can I put the files in a war file and have the client open the files for viewing?? What you described is exactly what I want to do. Click on a

Re: WindowBuilderPro GwtJavaUI Composite and GWT UiBinder Composite

2011-08-17 Thread Eric Clayberg
The tutorial you are referring to is for GWT Java, not UiBinder. FlexTables don't allow children in UiBinder, so you can't add them in the design view either. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the

Best way to prevent dual login in gwt.

2011-08-17 Thread Daniel Mauricio Patino León
Some one can give me a idea of how to manage this? i dont want let users log in in my GWT app (pure GWT dom manipulation) in two places at the same time, including the same browser (different tabs) any help be apreciated -- You received this message because you are subscribed to the Google

Re: Best way to prevent dual login in gwt.

2011-08-17 Thread Juan Pablo Gardella
See apache shiro or spring security. You must manage authentication and authorization in server side 2011/8/17 Daniel Mauricio Patino León ceo.lion@gmail.com Some one can give me a idea of how to manage this? i dont want let users log in in my GWT app (pure GWT dom manipulation) in two

Re: Best way to prevent dual login in gwt.

2011-08-17 Thread Daniel Mauricio Patino León
We use our own security implementation (implement shiro or spring will delay our development), i just want a idea of how to implement this whit GWT only, no external fw, a simple way. I was thinking in Timer and check every some time if the USER - SESSION ID are correct but isn't the best way...

Re: java.lang.IllegalArgumentException: Unknown proxy type

2011-08-17 Thread Andigator
This happens for me when I am extending EntityProxy directly for proxyA and proxyB and try to append requestA to requestB. @ExtraTypes won't fix it in my case. Ideas? On Aug 16, 3:44 pm, Y2i yur...@gmail.com wrote: filed an

Re: Best way to prevent dual login in gwt.

2011-08-17 Thread Jeff Chimene
On 08/17/2011 12:30 PM, Daniel Mauricio Patino León wrote: We use our own security implementation (implement shiro or spring will delay our development), i just want a idea of how to implement this whit GWT only, no external fw, a simple way. I was thinking in Timer and check every some time

Re: Best way to prevent dual login in gwt.

2011-08-17 Thread Juan Pablo Gardella
You must check every request with a filter, and in the case the request is not valid, show the log. In meanwhile in client side don't check anithing 2011/8/17 Daniel Mauricio Patino León ceo.lion@gmail.com We use our own security implementation (implement shiro or spring will delay our

Re: Best way to prevent dual login in gwt.

2011-08-17 Thread Daniel Mauricio Patino León
I think Juan Pablo Gardella just give me a idead, I will check every Action of the user instead. i mean when the user open a new module or do some CRUD operation and yes the server side with help of the user table (db), and some kind of Callback wrapper. 2011/8/17 Juan Pablo Gardella

When will there be official GWT binding for Google Maps Javascript API v3?

2011-08-17 Thread zhong
Would somebody know when there will be official GWT binding for Google Maps Javascript API v3? Thanks, Zhong -- 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

How can I create a widget add it to a CellTable and perform some action when it's clicked?

2011-08-17 Thread nacho
I need to put some kind of Button in a CellTable column. I created a class that extends AbstractCell: public class AnchorCell extends AbstractCellAnchor { @Override public void onBrowserEvent(com.google.gwt.cell.client.Cell.Context context, Element parent, Anchor value,

Re: How can I create a widget add it to a CellTable and perform some action when it's clicked?

2011-08-17 Thread Chris
Are you sure you don't want to use a ButtonCell? Seems to be way more convenient ;) On 17 Aug., 22:29, nacho vela.igna...@gmail.com wrote: I need to put some kind of Button in a CellTable column. I created a class that extends AbstractCell: public class AnchorCell extends AbstractCellAnchor

Re: java.lang.IllegalArgumentException: Unknown proxy type

2011-08-17 Thread Y2i
Have you tried to use @ExtraTypes on an interface that extends RequestFactory? -- 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/-/2qFWHzw8pTsJ. To

Moving a JavaScript-created object using the DOM

2011-08-17 Thread Sander Smith
I'm trying to embed a Twitter widget into my application using the JavaScript code that Twitter defines for this situation, and am not having much success. The only way I can get things to work is to put this JavaScript code outside of the application in the HTML file. There, it works great but is

Unknown argument: -draftCompile // GWT 2.3

2011-08-17 Thread Raghunath
I'm trying to compile my source in draft compilation flag. But I'm getting followin error while running in gwt in eclipse. Unknown argument: -draftCompile Google Web Toolkit 2.3.0 DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist- string] [-blacklist blacklist-string] [-logdir

Re: Unknown argument: -draftCompile // GWT 2.3

2011-08-17 Thread Magno Machado
AFAIK, this is an argument for the compiler (not for devmode), isn't it? On Wed, Aug 17, 2011 at 7:27 PM, Raghunath visuma...@gmail.com wrote: I'm trying to compile my source in draft compilation flag. But I'm getting followin error while running in gwt in eclipse. Unknown argument:

Re: Unknown argument: -draftCompile // GWT 2.3

2011-08-17 Thread raghu
Yes , Thanks for reply. I just got the difference. I just started reading the docs. On Wed, Aug 17, 2011 at 15:30, Magno Machado magn...@gmail.com wrote: AFAIK, this is an argument for the compiler (not for devmode), isn't it? On Wed, Aug 17, 2011 at 7:27 PM, Raghunath visuma...@gmail.com

Re: How can I create a widget add it to a CellTable and perform some action when it's clicked?

2011-08-17 Thread nacho
Looks i was trying to reinvent the wheel :D Thanks! -- 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/-/2WphgIMPNWIJ. To post to this group, send

RPC Number after full class name

2011-08-17 Thread Hilario Perez Corona
Hi, I'm creating a GWT-RPC server on Go, and i'm having a problem... When sending or returning RPC data, all class names have a number, for example: my.project.model.Data/*12345678* It appears that the number is some kind of versioning. Anybody knows how to generate that number so my JSON

gwt 2.3 + spring 2 + maven 2

2011-08-17 Thread Mike Chai
I'm new developing web applications with Java, so maybe this is implicitly known in the community but upon trying to search for integration for these 3 technologies I couldn't find a very straightforward answer. Some information is dated back to 2008ish where some people created glue to integrate

Re: gwt 2.3 + spring 2 + maven 2

2011-08-17 Thread Y2i
There is some documentation on GWT site on GWT, SpringSource and Roo integration http://code.google.com/webtoolkit/doc/latest/tutorial/roo-sts.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

GIN and ClientBundle (Singleton or not-to-Singleton)?

2011-08-17 Thread Daniel Guggi
Hi, I have some questions regarding ClientBundle and GIN. Suppose the following blank bundle: *public interface MyClientBundle extends ClientBundle { } * I want GIN to create the instance(es) of the MyClientBundle for me. The GIN-docs say (

Re: gwt 2.3 + spring 2 + maven 2

2011-08-17 Thread Daniel Guggi
@spring you may have a look here (requestfactory + spring3 integration): http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/ here an example pom (i use maven 3) ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=

Editor returns null values for empty strings after flush?

2011-08-17 Thread P.G.Taboada
hi, Not sure what I am doing wrong. I did build a form with uibinder and I am populating a few TextBoxes with an editor: mydriver.initialize( this ); mydriver.edit( somebean ); ... User edits data ... changedBean = myeditor.flush(); When I look at the changedBean, all empty string

Re: Editor returns null values for empty strings after flush?

2011-08-17 Thread P.G.Taboada
From the ValueBoxBaseT source: /** * Return the parsed value, or null if the field is empty. * * @throws ParseException if the value cannot be parsed */ public T getValueOrThrow() throws ParseException { String text = getText(); T parseResult = parser.parse(text);

Re: Editor returns null values for empty strings after flush?

2011-08-17 Thread P.G.Taboada
Well, the TextBoxBase, on the other hand, transforms any null value into a empty string. Not sure if this is good either, but as a matter o fact I do not know who is turning my empty strings to null. Flush? It should not. Or? On Aug 18, 12:45 am, P.G.Taboada pgtabo...@googlemail.com wrote:

Re: Using AbstractImagePrototype

2011-08-17 Thread bryanb
Found a solution on StackOverflow: http://stackoverflow.com/questions/5188799/gwt-add-filtering-to-celltable Used this snippet of code: AbstractImagePrototype proto = AbstractImagePrototype.create(resource); return proto.getHTML().replace(style=', style='position:absolute;right:0px;top:0px;);

Strange eclipse problem

2011-08-17 Thread Russ Abbott
I'm trying to run the MVP Contacts examplehttp://code.google.com/webtoolkit/articles/mvp-architecture.html. (But the same problem occurred in a completely different context.) I created a Contacts project. But I declared the package as * com.google.gwt.samples.contacts.* * * I then copied the src

Using a CellTable with individual Cell selection

2011-08-17 Thread Sander Smith
I need to create a table of records where each row in the table is selectable. I'm using a CellTable which works very nice, and allows me to select and act on rows. However, there's a cosmetic side-effect that I don't like. When anything in the table is clicked on, it seems like the cell that was

Re: Using a CellTable with individual Cell selection

2011-08-17 Thread Jeff Larsen
you can always override the CSS and get change .dataGridSelectedRowCell { border: selectionBorderWidth solid #628cd5; } to .dataGridSelectedRowCell { } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the

Re: Strange eclipse problem

2011-08-17 Thread Jeff Larsen
Try deleting your run target and have the GPE rebuild them for you. -- 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/-/lfeEflvap7kJ. To post to

did you forget to inherit a required module?.

2011-08-17 Thread Aurita Moya
When I called a service in a panel method public void mostrarSorteo(){ Servicios.getInstance().getAppService().consultar(new AsyncCallbackObjetoTo() { ... }); } Generates the following errors: ERROR: Errors in

Re: Strange eclipse problem

2011-08-17 Thread Russ Abbott
Thanks. I guess I should have thought of that. It's the only thing that wasn't deleted. (I assume you mean the run configuration.) *-- Russ * On Wed, Aug 17, 2011 at 7:20 PM, Jeff Larsen larse...@gmail.com wrote: Try deleting your run target and have the GPE rebuild them for you. -- You

Aw: Re: [gwt-contrib] Aw: Regression: instanceof compiler issue

2011-08-17 Thread dflorey
Hi, unfortunately I did not manage to reproduce the issue in a clean project. But I'd like to show the issue to someone with my existing projects. I've been able to find a workaround by adding the module classes to a fake rpc service. I could setup a TeamViewer session to show the issue on my

[gwt-contrib] Re: Provides an integration test for IsRenderable (issue1527804)

2011-08-17 Thread Hermes Freitas
WidgetInterpreter and WidgetPlaceholderInterpreter shouldn't output LazyDomElement. Rafa, do you remember why? I don't think this aggregates any performance gain for us, am I missing something? And I vote for #1 On Tue, Aug 16, 2011 at 10:10 PM, Rafael Castro rdcas...@google.com wrote:

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

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

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

2011-08-17 Thread jlabanca
A patch is coming that modifies the TableBuilder API to make it more flexible. TableBuilder.Utility is going away completely, and the event handling implementation is moved from AbstractCellTable into AbstractTableBuilder. This will allow users to implement a simple grid based TableBuilder with

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

2011-08-17 Thread rchandia
LGTM. Just nits. http://gwt-code-reviews.appspot.com/1522803/diff/3001/user/src/com/google/gwt/uibinder/attributeparsers/FieldReferenceConverter.java File user/src/com/google/gwt/uibinder/attributeparsers/FieldReferenceConverter.java (right):

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

2011-08-17 Thread Ray Ryan
LGTM On Wed, Aug 17, 2011 at 7:32 AM, jlaba...@google.com wrote: A patch is coming that modifies the TableBuilder API to make it more flexible. TableBuilder.Utility is going away completely, and the event handling implementation is moved from AbstractCellTable into AbstractTableBuilder.

[gwt-contrib] Re: Provides an integration test for IsRenderable (issue1527804)

2011-08-17 Thread Ray Ryan
I like #1 too. I think we should try to narrow the visibility of PotentialElement as much as we can. So #1 means two things , right? • Widgets are seated in their @UiFields immediately • In an IsRenderable owner, Element and subclasses are only available via LazyDomElement, and @UiField Element

[gwt-contrib] [google-web-toolkit] r10538 committed - Cherry picking r10489 into release/2.4 for public issue 1508802

2011-08-17 Thread codesite-noreply
Revision: 10538 Author: mrruss...@google.com Date: Wed Aug 17 06:37:04 2011 Log: Cherry picking r10489 into release/2.4 for public issue 1508802 http://code.google.com/p/google-web-toolkit/source/detail?r=10538 Added: /releases/2.4/dev/core/src/com/google/gwt/util/tools/shared

[gwt-contrib] Fixes issue where UiRenderer breaks when a field is referenced more than once (issue1525805)

2011-08-17 Thread rchandia
Reviewers: rjrjr, Description: Fixes issue where UiRenderer breaks when a field is referenced more than once Please review this at http://gwt-code-reviews.appspot.com/1525805/ Affected files: M user/src/com/google/gwt/uibinder/rebind/UiBinderParser.java M

[gwt-contrib] Re: Provides an integration test for IsRenderable (issue1527804)

2011-08-17 Thread Rafael Castro
Awesome, I like #1 too. I was driving to work this morning and thinking about it: #2 actually encourages bad behavior, because it'll seem it's OK to fiddle with the elements between calling bind and attaching, and it's really not. We _could_ make an effort to make it work, but it's much better to

[gwt-contrib] Re: Provides an integration test for IsRenderable (issue1527804)

2011-08-17 Thread Ray Ryan
Cool, I've filed http://code.google.com/p/google-web-toolkit/issues/detail?id=6701. Can I get an LGTM and submit this thing? On Wed Aug 17 09:58:03 GMT-700 2011, Rafael Castro wrote: Awesome, I like #1 too. I was driving to work this morning and thinking about it: #2 actually encourages bad

[gwt-contrib] Re: Provides an integration test for IsRenderable (issue1527804)

2011-08-17 Thread rjrjr
http://gwt-code-reviews.appspot.com/1527804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Provides an integration test for IsRenderable (issue1527804)

2011-08-17 Thread rdcastro
LGTM Got too tangled up in the discussion and forgot the review :-) http://gwt-code-reviews.appspot.com/1527804/diff/3001/user/test/com/google/gwt/uibinder/test/client/IsRenderableIntegrationTest.java File user/test/com/google/gwt/uibinder/test/client/IsRenderableIntegrationTest.java (right):

[gwt-contrib] [google-web-toolkit] r10539 committed - Tweak to allow parent ClassLoader at design time....

2011-08-17 Thread codesite-noreply
Revision: 10539 Author: scheg...@google.com Date: Wed Aug 17 06:52:30 2011 Log: Tweak to allow parent ClassLoader at design time. Review at http://gwt-code-reviews.appspot.com/1529803 Review by: to...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=10539

[gwt-contrib] Re: Fixes issue where UiRenderer breaks when a field is referenced more than once (issue1525805)

2011-08-17 Thread rjrjr
LGTM http://gwt-code-reviews.appspot.com/1525805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: Re: [gwt-contrib] Aw: Regression: instanceof compiler issue

2011-08-17 Thread Ray Ryan
That's a generous offer, but I don't know that anyone is going to be able to take you up on it. We'll keep an eye out for it here. And if you do manage to trim your failing code down to something you can share, we'll jump. Are you building against trunk? If not, you might try and see if the

[gwt-contrib] [google-web-toolkit] r10540 committed - Provides an integration test for IsRenderable...

2011-08-17 Thread codesite-noreply
Revision: 10540 Author: rj...@google.com Date: Wed Aug 17 10:09:20 2011 Log: Provides an integration test for IsRenderable Review at http://gwt-code-reviews.appspot.com/1527804 http://code.google.com/p/google-web-toolkit/source/detail?r=10540 Added:

Re: Re: [gwt-contrib] Aw: Regression: instanceof compiler issue

2011-08-17 Thread Daniel Florey
Hi Ray, thanks a lot. I'll try to check if building against trunk will change things. I've tried with 2.3 and 2.4rc and both produce the error - it worked fine with 2.04. After running into the error several times I've not disabled the runAsync and download everything in a single module. This

  1   2   >