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 wrote: > Try deleting your run target and have the GPE rebuild them for you. -- You received this messa

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 AsyncCallback() { ... }); } Generates the following errors: ERROR: Errors in 'file:/C:/Prototipo/KioskoVista/trunk/src/main/ ja

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 th

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 w

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

Strange eclipse problem

2011-08-17 Thread Russ Abbott
I'm trying to run the MVP Contacts example. (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

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;");

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" wrote: > From the ValueBoxBase

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

2011-08-17 Thread P.G.Taboada
>From the ValueBoxBase 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); if

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 properti

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) http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance";

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 ( http://code.google.com/p/google-gin/wiki/GinTutorial#De

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

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

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 re

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 e

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 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 wrote: > >> I'm trying to compile

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 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: -draftCompile > Google

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] [-logdi

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

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

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 wrote: > I need to put some kind of Button in a CellTable column. > > I created a class that extends AbstractCell: > > public class AnchorCell extends AbstractCell { > >     @Override >  

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 AbstractCell { @Override public void onBrowserEvent(com.google.gwt.cell.client.Cell.Context context, Element parent, Anchor value, Native

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 unsu

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 > You must

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 > We use our own security implementation (implement shiro or spring will > delay our development), i just wan

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

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 wrote: > filed an > issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=6699 -- You re

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... i

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 > 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 ti

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 Grou

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

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 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 available file in a

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: ###

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 subscri

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 t

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 t

Re: Activities and Places and Layouts (again)

2011-08-17 Thread DaveC
No worries :o) On Aug 15, 7:10 pm, Mike Dee 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 wrote: > > > > > Hi Mike, > > > I'm trying to understand

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 1

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 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 when FF6 suppo

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: 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 goog

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: 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 https://groups.google.com/d/msg/google-web-

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 wrote: > Hi, > > As a workaround, I've implemented onBrowserEvent() in the Cells I use

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: 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 be

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 po

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 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 Antonia

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

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 http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/src/com/googl

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 Plea

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 Deckpane

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 > 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

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 https:

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 em

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 wrote: >

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 subscri

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 pla

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 injec

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 mak

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 padd

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 acti

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: http://co

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

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 imp

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 m

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 https://groups.google.com/d/

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: 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: Datagrid with ScrollPanel

2011-08-17 Thread ciosbel
Sorry, my bad. HasKeyboardPagingPolicy is an interface implemented by CellTable in 2.3 (in 2.4 or in trunk, the inheritance chain in slightly different but still working in the same manner) that defines a *setKeyboardPagingPolicy

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 https://groups.google.com/d/m

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 ValueChangeHandler() { @Override

Re: requestfactory security problem

2011-08-17 Thread Nuno Rosa
RequestFactory accepts a parameter to define a UserInformation class, you should implement this class with your authentication mechanism. If this parameter is availa

Re: GWT CELLTABLE :How to avoid RPC call in AsycDataProvider when I click on prev button.

2011-08-17 Thread BST
You have to append the data you get (the 100 rows )to a list or a data store of your choice. I can't think of another way. It would be easier if you put that list or your custom datastore inside the AsyncDataProvider. Basically the idea is caching the rows you are getting from the server. --

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 > mat

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: 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, upFace

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: 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 tab

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 phoneNumbers

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.eq

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 web