Re: CellTable multiline header, header custom style

2010-11-10 Thread Johan Rydberg
On 11/10/10 7:35 PM, John LaBanca wrote: On Wed, Nov 10, 2010 at 6:33 AM, István Szoboszlai > wrote: Hello, I would need 2 functions in the new GWT 2.1 CellTable. 1. Multiple -f for table header. We plan to start work on a more feature filled version of C

Re: Why does Google not support Maps V3 on GWT?

2010-11-10 Thread Carl
Hi Eric Thanks for the reply, so am I correct in saying that if I want to use v3 I must check it out at and contribute at: http://code.google.com/p/gwt-google-apis/source/browse/#svn/changes/vinays/gwt-google-maps-v3 Any Idea of the time frame (I know the standard Google answer is NO, but a hin

Re: gwt 2.1, maven, eclipse 3.5

2010-11-10 Thread David Chandler
Hi Frank, I wrote such a guide in a recent post on the GWT blog: http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html. Follow the steps in the last section. Steps 5 and 6 are no longer necessary with the latest Google Plugin for Eclipse. Also, there is a feature

Re: 2.1 RequestFactory design frustrations

2010-11-10 Thread David Chandler
Hi Dave, We're on it. See http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_1_1 and particularly http://code.google.com/p/google-web-toolkit/issues/detail?id=5111, which will make it possible for you to implement a service as a traditional DAO instead of static methods on an entity

popup a TabLayoutPanel

2010-11-10 Thread nanotalk
Hi, AFAIK, a TabLayoutPanel object can only be added to RootLayoutPanel. I want to make a TabLayoutPanel on a pop-up window, is it possible? I can do that with TabPanel, but it's deprecated. -- Nano Surbakti -- You received this message because you are subscribed to the Google Groups "Google W

MVP : VP to VP and Nested View communication

2010-11-10 Thread zixzigma
Hello Everyone, Problem: a View and its Presenter want to communicate with another View/Presenter. Special Case: one view is nested in another. background: to implement MVP for "one view and it's presenter" we would need a View Interface, a View Implementation which is associated with a UiBinder

Re: DockLayoutPanel can not show center element using uibinder

2010-11-10 Thread Shelley
Yes! it works! i considered everything but the RootLayoutPanel. thanks very much. On Nov 10, 10:57 pm, zixzigma wrote: > i think, in your onModuleLoad method, > >         RootPanel.get().add( new ExpensesShell() ); > > change RootPanel to RootLayoutPanel. > > please report back if it works. > tha

Re: GWT MVP Roo - Expenses

2010-11-10 Thread zixzigma
i fixed my project setup. it appeared i didnot have a missing jar file aopalliance, which is required for Gin/Guice to work. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegrou

2.1 RequestFactory design frustrations

2010-11-10 Thread dparish
I'm switching some of my work from RPC to RequestFactory. I'm doing this because I use open jpa on the backend and keep having to hack through serialization problems (such as proxy objects that won't serialize). RequestFactory seems like the perfect option. I'm caught off guard by some GWT design

Re: RequestFactory remove() not working

2010-11-10 Thread ziggystardust
Did you ever find an answer to your question? I am having the same problem and have not yet been able to find an answer. On Oct 27, 5:28 am, AlexG wrote: > Hi @ all, > > I know, that theres an issue, and that this bug is already known. > > I always get errors, when I try toremovean Entity. I´m us

Re: Why does Google not support Maps V3 on GWT?

2010-11-10 Thread Eric Ayers
To recap from previous discussions on the gwt-google-apis mailing list: Just as the v2 API grew out of a third party API, so will the Maps v3 API. There are third party maps v3 apis out there. We are in the process of adopting one of them and adopting it as the official bindings for v3. Our sta

Re: gwt 2.1, maven, eclipse 3.5

2010-11-10 Thread Frank Bølviken
Yes i Know I have you use that plugin. I just find it wired that when you create a project with the Google plugin you can change the code and just hit refresh in browser. But I could not do that when importing a gwt project. Any guide on just creating a simple project from the Google plugin wizard,

GWT MVP Roo - Expenses

2010-11-10 Thread zixzigma
Hello everyone, I was studying Roo generated Expenses app. class "ScaffoldDesktopApp" has no default/no-arg constructor. yet it works, and compiler doesnt generate error. why is that ? is it because GIN is used on the other constructor ? I created basic project with GIN setup, but i was forced t

Re: GWT 1.5.3 + Liferay 5.1.2 : Internationalisation Issue

2010-11-10 Thread pn
In case anyone has the same problem, the solution is to place the meta tag in top_meta-ext.jsp file. e.g. in my case I put the following in top_meta-ext.jsp: and then I could see this in the source of the portlet page and GWT localisation in Liferay works great then. thanks. On Nov 9, 2:3

Re: Why does Google not support Maps V3 on GWT?

2010-11-10 Thread Blagoja Chavkoski
Hi, I have asked also the same question but no answer till now!!! Its not that they not supported the api it self, the maps images look different(not updated also) at list this should be a easy to do...!!! If you got some answer, please mail it here. Thanks, B On Wed, Nov 10, 2010 at 9:49 PM,

Re: Why does Google not support Maps V3 on GWT?

2010-11-10 Thread Chris Conroy
This is a question better suited for the GALGWT mailing list gwt-google-a...@googlegroups.com On Wed, Nov 10, 2010 at 12:22 AM, Carl wrote: > I have noticed that Google Maps V2 has been deprecated, > And since this is the only supported version for GWT I am getting a > bit worried... > > Does any

array of suggestBox?

2010-11-10 Thread seven.reeds
Hi, I am trying to play with SuggestBox in a small test. I am not a Java wizard though. In my test i have an oracle that holds all the countries in the world. The form I am building will ask for a country as a SuggestBox. Now, If I want the person filling out the form to enter all of the count

Re: Deferred Binding with interfaces

2010-11-10 Thread Jeff Larsen
you could aways wrap the bundle in an implementation. interface BundleWrapper{ DefaultResources getResources(); } class BundleWrapperGoodBye implements BundleWrapper{ DefaultResources getResources(){ return GWT.create(GoodByeResources.class); } class BundleWrapper

Re: CellTable column text alignment

2010-11-10 Thread John LaBanca
Can you use CellTable#addColumnStyleName() to add the text-align property to the col element for the column? Thanks, John LaBanca jlaba...@google.com On Wed, Nov 10, 2010 at 11:01 AM, Lukas Herman wrote: > Hello, > is there any way to set text-align property on CellTable column? The > current

how to disable daylight saving time (or set it to 0) on client-side?

2010-11-10 Thread Lucas de Oliveira
Hi all, I'm struggling with a problem concearning dates within the DST period on the client-side. Check the following code: *DateTimeFormat dtf = DateTimeFormat.getFormat(".MM.dd HH:mm"); * *Date date = dtf.parse("2010.10.17 00:00");* *Window.alert(date);* This code ouputs "*Sun Oct 17 01:00

Re: CellTable multiline header, header custom style

2010-11-10 Thread John LaBanca
On Wed, Nov 10, 2010 at 6:33 AM, István Szoboszlai wrote: > Hello, > > I would need 2 functions in the new GWT 2.1 CellTable. > > 1. Multiple -f for table header. > We plan to start work on a more feature filled version of CellTable. We can include multi-row headers. > 2. Custom style for comp

Re: Setting specific slice color in PieChart

2010-11-10 Thread Killian
Thanks that's exactly what I needed to know ! Cheers :-) On Oct 25, 6:00 pm, Chris Conroy wrote: > It should work out of the box. One gotcha is that if you have a value that > is 0, the it won't take up a color slice. > > See the SpeedTracer LatencyDashboard as an > example:http://code.google.co

Re: RequestFactory and Security/Authentication

2010-11-10 Thread zixzigma
I am also interested to know what is the best practice in implementing client-side application-level security (role-based security). Would be great if Google team provide some tips as how it fits within RequestFactory and MVP. -- You received this message because you are subscribed to the Google

Re: Is there a way to get the context root in GWT?

2010-11-10 Thread Blackberet
specifically on the client side On Nov 10, 12:45 pm, Blackberet wrote: > I need to programmatically get the context root of my gwt web > application. > > How would I go about doing this? > > thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit

Re: Property 'gwt.logging' not found

2010-11-10 Thread John
Whoops! I only noticed the change from ENABLED to TRUE - I didn't even catch the addition of .enabled. Adding that in fixed it - thanks again! John On Nov 10, 9:23 am, John wrote: > Unfortunately that doesn't fix it - thanks for the suggestion though! > > On Nov 10, 8:55 am, Prashant Hegde wro

Is there a way to get the context root in GWT?

2010-11-10 Thread Blackberet
I need to programmatically get the context root of my gwt web application. How would I go about doing this? thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com.

Re: RequestFactory and Security/Authentication

2010-11-10 Thread Stephen Haberman
> In the current state, I honestly doubt that RequestFactory should > be used in a productive environment, as it introduces really > hard-to-overlook security problems. That was my impression was well. I agree it will be interesting to see how, if at all, this gets addressed in future releases.

Re: Maven stops with i18n generation error

2010-11-10 Thread cri
Your current problem is due to the Messages directory being specified incorrectly in the pom file. The latter most package component should be "client" as I recall. Unfortunately, you will encounter additional problems. For example, there is a generated class dir that doesn't get included in the ec

anything like smartgwt but totally compatible with gwt?

2010-11-10 Thread Sachin Dole
Hey Guys, At our workplace, we use smartgwt and like it because of the widgets it provides but hate it cuz its not interoperable with gwt. Is there another library that is 100% interoperable with gwt? Or, has anyone used smartgwt in a manner totally inter-operable with gwt? I know, there are degre

Re: GWT and Maven plugin

2010-11-10 Thread Musicman75
Hello, you have to specify the Location of the war file in the GWT maven Plugin configuration. On 9 Nov., 23:00, EMan wrote: > I have some basic questions. > I am trying to use GWT maven plugin with eclipse.  when I do mvn > gwt:compile, it seems to output the gwt compiled code to /target.  but >

Re: uibinder and nested layout

2010-11-10 Thread Sachin Dole
thank you! I totally got it. On Tue, Nov 9, 2010 at 8:39 PM, Prashant Hegde wrote: > In our application, we have a top level UiBinder which sets the layout, > with the content as a LayoutPanel which has a ui:field assigned to it. This > ui:field is used as a container for another ui:binder xml fo

Re: RequestFactory Security/Authentication

2010-11-10 Thread Jack
Everytime a request is made the RequestFactoryServlet loads an implementation of UserInformation and calls boolean isUserLoggedIn(). If you do not provide a custom UserInformation implementation a SimpleUserInformationImpl will be choosen which always returns true for isUserLoggedIn(). To define a

Re: RequestFactory and Security/Authentication

2010-11-10 Thread Tobias
My understanding is that - apart from the basic authentication support, e.g. against AppEngine - RequestFactory does not provide any security-related framework. You have to make sure that the service methods check for authorization. Also, make sure, the "side-effects" that RequestFactory carries, l

RequestFactory & Editor Framework: AssertionError: addInvocation() should have failed

2010-11-10 Thread Jack
Hi, We start integrating RequestFactory and Editors into our app. But we constantly get an "AssertionError: addInvocation() should have failed". From GWT source code it seems that this error will occur when calling more then one request method defined in a service method stub before calling fire(

Re: Application works in devlopment mode but not in war file

2010-11-10 Thread Deepak Singh
Hi, There is no stack trace on the server and on firebug as well as developer tools. It simply displays the error in asinle line. When using my GWT application in a local environment, everything works as it should. The problem comes in after I compile and deploy my application. Uncaught com.goog

Re: Deferred Binding with interfaces

2010-11-10 Thread Thalles
Hello Jeff, thanks for your reply! Actually, I wanted to utilize deferred binding to prevent these kind of code. Meaning, when I need to implement a new Resource class, I just need to add some configuration in the Module.gwt.xml, not in the actual code. I got it to work with GIN, but deferred bi

CellTable column text alignment

2010-11-10 Thread Lukas Herman
Hello, is there any way to set text-align property on CellTable column? The current CellTable code allows only static cellStyle to be applied to tdClasses. I would expect an optional Column class cellStyle property, which would be appended to tdClasses during rendering. -- You received this messa

Re: Entire Site in GWT?

2010-11-10 Thread PhilBeaudoin
We also decided to build our entire website using GWT (hosted on App Engine). It's early in the development process, but with a good MVP framework and UiBinder it is not that different from building a traditional website but you get a faster, richer and much more interactive experience. Check out t

Re: DockLayoutPanel can not show center element using uibinder

2010-11-10 Thread zixzigma
i think, in your onModuleLoad method, RootPanel.get().add( new ExpensesShell() ); change RootPanel to RootLayoutPanel. please report back if it works. thank you -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this gro

Re: gwt 2.1, maven, eclipse 3.5

2010-11-10 Thread Frank Bølviken
Anyone? :) Searched around the web, and I cant find one single guide on this subject which is good. There's always earlier versions of gwt, and guides which isnt working etc. Im thinking of a guide which either first creates the project via maven archetype:generate and importing into eclipse, or a

Re: Property 'gwt.logging' not found

2010-11-10 Thread John
Unfortunately that doesn't fix it - thanks for the suggestion though! On Nov 10, 8:55 am, Prashant Hegde wrote: > Try > > *and not* > > > Regards > Prashant > > > > > > > > On Wed, Nov 10, 2010 at 7:14 PM, John wrote: > > I'm trying to switch from gwt-log over to the new logging in 2.1, but >

Support for IE9

2010-11-10 Thread Navdeep
Are there any plans for google web tool kit to support IE9, IE9 beta has been launched and a number of people have installed and have started using the beta version. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, se

RequestFactory and Security/Authentication

2010-11-10 Thread Max E.
Hello, i have troubles understanding how Security works with RequestFactory in GWT 2.1. I do unterstand the documentation and I do unterstand the expenses sample. How can I restrict access for the client only to entities she is allowed to access? I found UserInformation, but how does it work? How

Multiple Modules in Eclipse IDE

2010-11-10 Thread Jim Majure
I am trying to create multiple modules in a single Eclipse project. I consistently get the "No source code is available for type : did you forget to inherit a required module?" I am using Eclipse 3.5, with the latest version of the GWT plugin. I do have the proper tags. The runtime configuration

Re: Nested Views in MVP

2010-11-10 Thread Y2i
First of all, thanks to everyone who contributed to this thread and many thanks to folks who contributed to GWT! Just wanted to comment on activities/view/presenters: I actually like it that there is a separate concept of an activity because it directly corresponds to user activity. Activity is

GWT and Maven plugin

2010-11-10 Thread EMan
I have some basic questions. I am trying to use GWT maven plugin with eclipse. when I do mvn gwt:compile, it seems to output the gwt compiled code to /target. but when I compile in eclipse output goes to /war. where is the proper place these files should be output to? ultimately I want to war t

RequestFactory Security/Authentication

2010-11-10 Thread Max E.
Hello, I'm having problems to understand how User Authentication works with the RequestFactory. I do understand the documentation and the expenses example. How is it possible to implement Authentication/ How do users login? How can Users only view the Entities they are allowed to see. How can the

Image.SetUrl speed differences between browsers

2010-11-10 Thread Karol
I've created a GWT browser for images (vector-based, live maps), generated on the fly on the server. Every new image is displayed (when the user click a button) using same Image widget by setting a new address in SetUrl method. The server reports that every image is generated in 0.1 second, so no b

Maven stops with i18n generation error

2010-11-10 Thread Alex Nederlof
Hi all, I can't get Maven to work. When I make a new Maven project from eclipse of from the command line it gives me: 11/10/10 11:08:42 AM CET: Collecting project info '/pom.xml' /Users/ alex/Development/webapps/tralala/pom.xml 11/10/10 11:08:42 AM CET: Generating sources /tralala/pom.xml 11/10/1

Error where creating instance of SimpleEventBus, GWT 2.1, Eclipse Plugin

2010-11-10 Thread Bogdan Sulima
Hello all, code snippet causes strange error when running code in development mode SimpleEventBus eventBus = new SimpleEventBus(); Caused by: java.lang.Error: Unresolved compilation problems: The type EventBus cannot be the superclass of SimpleEventBus; a superclass must be a class

tree based widget that supports multiple selection and drag & drop function

2010-11-10 Thread DB
Hello, Can someone suggest tree based widget or its extension that can support multiple selection & drag & drop function? Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@google

Why does Google not support Maps V3 on GWT?

2010-11-10 Thread Carl
I have noticed that Google Maps V2 has been deprecated, And since this is the only supported version for GWT I am getting a bit worried... Does anybody know why it has not been supported, or why there is no road-map to support it? Thanks Carl -- You received this message because you are subscri

Re: Property 'gwt.logging' not found

2010-11-10 Thread Prashant Hegde
Try *and not* Regards Prashant On Wed, Nov 10, 2010 at 7:14 PM, John wrote: > I'm trying to switch from gwt-log over to the new logging in 2.1, but > I'm getting an error at compile time: > > Loading inherited module 'com.google.gwt.logging.Logging' > Module 'com.google.gwt.logging.Loggi

Property 'gwt.logging' not found

2010-11-10 Thread John
I'm trying to switch from gwt-log over to the new logging in 2.1, but I'm getting an error at compile time: Loading inherited module 'com.google.gwt.logging.Logging' Module 'com.google.gwt.logging.Logging' has already been loaded and will be skipped [ERROR] Property 'gwt.logging' not foun

Re: Driver Best Practices with CheckBox and RadioButtons

2010-11-10 Thread Geraldo Lopes
will0, Thanks for the code piece. I used it to make an extension of ListBox. public class MyListBox extends ListBox implements LeafValueEditor { @Override public void setValue(String value) { if (value == null) { setSelectedIndex(-1);

Re: How to use JSONObject with common code shared between client and server

2010-11-10 Thread Thomas Broyer
On 10 nov, 03:48, Kashif wrote: > No, I don't want to use Overlays - because that forces me to have a > DTO class that has separate implementation on client and server. Overlay types can implement interfaces, so you could code against interfaces to share some code between client and server, but

Re: Differences between development and production mode

2010-11-10 Thread Panam
GWT 2.1, Windows 7 (64) bit, Java 6.0_22 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr..

Differences between development and production mode

2010-11-10 Thread Panam
Hi, I just noticed some differences in behavior of my code running in development and production mode. In my code, there is a class Vec (to do some Vector calculus) which has an add, diff, and scale method. The first version of these methods created a clone of the instance, did the calculations on

Re: gwt 2.1, maven, eclipse 3.5

2010-11-10 Thread Musicman75
Hello, to use GWT 2.1 you have to use gwt-maven-plugin 2.1.0 (or 1.3.2.google from the google repo). It was released a few days ago in the maven repo. When running your app in Hosted mode (run AS Web Application) you have to reload the server with the reload button in the Development Mode view in

Re: Upgrade to GWT 2.1.0 with maven2 and now rpc 404

2010-11-10 Thread ultrafil
My problems became transitive dependency. I use beanlib-hibernate which depend of spring:2.0.5 artefact. I use also spring:2.5.6 in my application. So, the 404 error was generated by this error: NoSuchMethodError: org.springframework.beans.factory.xml.ParserContext.registerBeanComponent Because,

CellTable multiline header, header custom style

2010-11-10 Thread István Szoboszlai
Hello, I would need 2 functions in the new GWT 2.1 CellTable. 1. Multiple -f for table header. 2. Custom style for component in the header. As I have seen in the code, there is no easy way. The method createHeaders(boolean isFooter) is private and can not appand custom stylename to the componen

Re: gwt 2.1, maven, eclipse 3.5

2010-11-10 Thread Karl
Hi, did you have a look at the giudes at http://mojo.codehaus.org/gwt-maven-plugin/archetype.html ? It describes how to create a gwt project with archetype:generate and how to configure your pom in various ways. Regards /Karl On Nov 10, 11:04 am, Frank Bølviken wrote: > Anyone? :) > > Searched

Re: How to use JSONObject with common code shared between client and server

2010-11-10 Thread Kashif
I know that, but more importantly how can I have a class that is shared as common code where compiler will use gwt.Json.client JSONObject on client code and server code will use org.Json.JSONObject? On Nov 9, 10:49 pm, Gal Dolber wrote: > Sorry, under com.google.gwt.json.client > > > > > > On T

Re: Customising Roo generated GWT apps

2010-11-10 Thread Gary Rich
It seems this issue is being addressed by ROO-1280 "Roo update is too destructive". This appears to be scheduled for the 1.1.1 release due in December see Jira issue tracker @ http://jira.springframework.org/browse/ROO -- You received this message because you are subscribed to the Google Grou

Re: gwtupload.client.SingleUploader

2010-11-10 Thread Ignasi López
Please help! It's very important!! 2010/11/9 Ignasi López > hi, > i'm developing an application which uses singleUploader class. I would > know if there are a way to embed the popup with progress bar in my own > popup. > I think the probem is convert this popup into a panel or something > like t

Re: Problems while upgrading a GWT maven project from GWT 2.1 SNAPSHOT to GWT 2.1.0 final release

2010-11-10 Thread vsdev
Setting the version of the GWT maven plugin to 2.1.0 (which is released now) in the pom.xml solved the problem. Volker On Nov 4, 4:21 pm, David Chandler wrote: > Oops, here you go: > > http://groups.google.com/group/google-web-toolkit/browse_thread/threa... > > /dmc > > On Thu, Nov 4, 2010 at 11

Re: GWT Modules

2010-11-10 Thread Nirmal
In Eclipse, goto your project Properties; Select Google -> Web Toolkit You can manage the applicable EntryPoint classes for your project from here. Regards, Nirmal On Nov 9, 2:18 am, John Gentilin wrote: > I found my problem, my RemoteCommandProxy class which is > used as a wrapper around a Hash

Re: PureGWT Showcase Preview Part II

2010-11-10 Thread Tan Duy
Hi, Your project looks so great. Keep it up :) On Nov 10, 3:00 pm, Vagner Araujo wrote: > Hello, > > 2010/11/9 Nagin Kothari > > > Great Stuff. Particilarly I liked the scroll panel. Can you provide > > approximate plan for releasing first version? > > maybe in January 2011, 99% chance. ;-) > >

GWT - logging

2010-11-10 Thread Sreekanth Nambiar
Hi, I am new to GWT. Started developing few pages. Now comes the question of logging. So what should be my approach on logging. I got to know i can use GWT.log() or an asynchronous call to the server to log. What is the best approach. Can i log to a file in the server using GWT.log()? How effic

DockLayoutPanel can not show center element using uibinder

2010-11-10 Thread Shelley
hello all: below is a super simple app, which demonstrate the use of uibinder, so strange that after lanching the app, i can only see the top part of docklayoutpanel, nothing shows in the below part! is there anything wrong? please help me out, thanks very much. public class KeyProviderExample imp