Re: Gwt4Titanium Mobile 1.1.0 Preview: Introducing DevMode

2011-09-08 Thread leandro borbosa
I second Gal: great job Emitrom Team ! With DevMode this is a totally different story . I wonder how this work ? Honeslty i doubted this could even be possible. Did you wrote a plugin for Titanium Mobile similar to the browser plug in ? Most importantly is the preview available somewhere to play

Re: RequestBuilder doesnt work

2011-09-08 Thread Alexandre Ardhuin
Hi, You can not call an other domain with xmlHttpRequest. This is known as same origin policy. Alexandre. 2011/9/8 wahaha il...@yahoo.com.cn i tested the RequestBuilder class,it does not work. final RequestBuilder rb = new RequestBuilder(RequestBuilder.POST,

Does the last Google Plugin for Eclipse update install the Maven plugin too?

2011-09-08 Thread Ionuț G. Stan
I've just checked my Eclipse for plugin updates this morning, and this updated only the GPE plugin. After restart I noticed that I now have the Maven plugin installed too (actually, just a Maven section in the preferences pane, I can't find the plugin listed in the What is already installed

Re: Overriding themes

2011-09-08 Thread Sudhakar Abraham
To specify your own style in uibinder.xml file, edit ui:style/ ui:style tag as follows ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' ui:style .buttonSave { float: left; background:#E8E8E8; margin-left: 200px; } /ui:style g:DockLayoutPanel

Re: Gwt4Titanium Mobile 1.1.0 Preview: Introducing DevMode

2011-09-08 Thread Thomas Broyer
I don't know how it works for Titanium, but I provided changes to GWT a while ago to allow for DevMode in Adobe AIR. I guess Emitrom based their job on this (as Alain/Nino asked me for some info a few weeks ago) See http://code.google.com/p/google-web-toolkit/source/detail?r=7603,

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-08 Thread StefanR
Hi Tiago, I just made a little test and it works as expected. Only those getters are called which are referenced in the with() statement. Maybe there's an issue with your entityProxies? Can you provide some details about your setup? Regards, Stefan. -- You received this message because you

Server Side Call from a non presenter class

2011-09-08 Thread Sanjay Jain India
Hello all, I want to make server side to from a class which is not a presenter.As it is not a presenter it doesn't have dispatchasync instance.In this case I am not getting how to make a server side call. Here is my class which implements ValueChangeEvent. public class NameTokenHandler implements

gwt client session time out

2011-09-08 Thread Sanjay Jain India
I am using gwt 2.3 with gwtp framework.In this application I wan to maintain a session time of 5 mins.This means if current user is not doing up to 5 min and he comes after five min then on his first event/ action on screen a he should be be logged out. In gwt there is class named Timer which can

onModuleLoad() - what is it in javascript

2011-09-08 Thread dreamer
Hi, I am trying to figureout, what onModuleLoad() becomes after gwt compilation. Basically to figure out the magic behind onLoadModule. All is well, java script gets loaded in head. But how on the earth any function inside that script got executed, are there any events, that Browser fires once

Centering text in a Label

2011-09-08 Thread ph09
Hello, I try to centering text in a Label with following CSS: .gwt-Label-1 { border: 1px solid; font-size: 13px; vertical-align: middle; text-align: center; background-color: lavender; } It works all except of vertical-align: middle. The text is always at

Re: Centering text in a Label

2011-09-08 Thread István Szoboszlai
This is a quiet big problem. It is very hard to center things verically in a browser independent way. You should try googling for it. There are a few not very straight forward solutions. This issue is not related to GWT. Üdvözlettel / Best Regards - István Szoboszlai istvan.szobosz...@inepex.com

Re: Gwt4Titanium Mobile 1.1.0 Preview: Introducing DevMode

2011-09-08 Thread Juan Pablo Gardella
Great job Alain!! Congrats. 2011/9/8 leandro borbosa leandrob...@googlemail.com I second Gal: great job Emitrom Team ! With DevMode this is a totally different story . I wonder how this work ? Honeslty i doubted this could even be possible. Did you wrote a plugin for Titanium Mobile

Re: Centering text in a Label

2011-09-08 Thread Sudhakar Abraham
To adjust the properties padding-top,padding-bottom,padding- right,padding-left in Style Sheet, please see the following code. .gwt-Label-1 { border: 1px solid; font-size: 13px; padding-left:5px; padding-right:5px; padding-bottom:5px;

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-09-08 Thread tom
Hello Rayn, I've run into a similar problem. (Only difference being that I'm not constructing the Child collection but re-sending one I fetched earlier through RequestFactory). Did you figure out a solution? Regards, Tom -- You received this message because you are subscribed to the

Re: multithreading in Jetty(not exactly what I mean)

2011-09-08 Thread J.Ganesan
Threading is already in place in servlet. I suggest you have a look at java.util.concurrent.locks.ReentrantReadWriteLock for synchronization. J.Ganesan www.DataStoreGwt.com On Sep 8, 3:25 am, wasyl wass...@gmail.com wrote: Hi. I'm a newbie in GWT and my JAVA skills aren't to good as well. In

Re: Centering text in a Label

2011-09-08 Thread kalpana anbalagan
CSS line-height property can be used to vertically align. ex: .gwtLabel{ border: 1px solid red; font-size: 13px; height: 300px; line-height: 300px; text-align: center; background-color: lavender; } -Kalpana On Thu, Sep 8, 2011 at 5:59 PM, Sudhakar Abraham s.abra...@datastoregwt.com wrote:

Error build GWT

2011-09-08 Thread Fábio Marigo
I have a problem during the build of GWT. Could someone help me with the error below: Checking rule generate-with class='com.google.gwt.libideas.resources.rebind.context.InlineResourceBundleGenerator'/ Checking if all subconditions are true (all) Checking if all

AbstractCellTable is different in source and in 2.4 release.

2011-09-08 Thread Maero Polo
Hello, I am using GWT from sources. When I am using these sources, the AbstractCellTable class has method setTableBuilder. For me it is very interesting as I am using it as it is used in the example from the showcase Custom Data Grid. This morning I have seen that GWT 2.4 has been released.

Re: onModuleLoad() - what is it in javascript

2011-09-08 Thread Alexandre Ardhuin
Hi, Although I can not find an up-to-date version of this file in 2.4 documentation, some informations on the bootstrap sequence are available at http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideBootstrap Alexandre. 2011/9/8 dreamer venugopal.vasire...@gmail.com

Re: AbstractCellTable is different in source and in 2.4 release.

2011-09-08 Thread Jeff Larsen
Those changes to AbstractCellTable were just committed within the last couple of weeks and has been going under some pretty heavy changes. They usually like to let things like that bake for a while before actually releasing them. That being said, there is no reason to not use a version of

Re: Support for Tablets

2011-09-08 Thread skippy
Well, I just wonder why our old JSP based applications work just fine. iPad 2 work with all GWT components. Blackbarry playbook and xoom don't work at all. On Aug 16, 11:23 am, Jim Douglas jdou...@basis.com wrote: I must have been unclear.  Android has various low level HTML/DOM/ JavaScript

Is there a GWT book covering version = 2.1.1?

2011-09-08 Thread tom
Hello, Does anybody know if there's a book (about to be published?) that covers the new features since 2.1.1 (RequestFactory, Editor framework, ...)? I'm working with GWT (v2.3) for a couple of weeks now, and I'm still getting stuck for hours on simple problems day by day. I think it's mainly

New group for Google Plugin for Eclipse (GPE)

2011-09-08 Thread Sriram Saroop
Hi folks, We have created a new group for Google Plugin for Eclipse (GPE). https://groups.google.com/group/google-plugin-eclipse google-plugin-ecli...@googlegroups.com Do join this group and feel free to post your queries/suggestions on GPE. Cheers, The GPE team -- You received this message

Re: Server Side Call from a non presenter class

2011-09-08 Thread Hardik Mishra
Hello Sanjay, If its possible pass DispatchAsync from its parent from where you are calling it. Thanks Regards Hardik Mishra On Sep 8, 12:51 pm, Sanjay Jain India snj...@gmail.com wrote: Hello all, I want to make server side to from a class which is not a presenter.As it is not a

is there a Naming conventions of gwt?

2011-09-08 Thread wahaha
is there a Naming conventions of gwt? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: Centering text in a Label

2011-09-08 Thread skly
Try this: height:24px; line-height:24px; 2011/9/8 István Szoboszlai mrsz...@gmail.com This is a quiet big problem. It is very hard to center things verically in a browser independent way. You should try googling for it. There are a few not very straight forward solutions. This issue is not

Plugin for Eclipse vs GWT Designer

2011-09-08 Thread Marcin Wiśnicki
According to download page, GWT Plugin for Eclipse contains lightweight version of GWT designer. What should I install if I want full GWT Designer and still have everything else from Plugin for Eclipse ? -- You received this message because you are subscribed to the Google Groups Google Web

Validation Messages i18n Client/Server

2011-09-08 Thread Alex
Hey guys, I am using GWT on GAE and try to find a solution to write my validation classes only once. So far everything works very well besides some Regex-quirks. But now I struggle with my validation Messages. I want to output i18n'ed messages from validation. But I can of course not use

UiHandler and how to do it right?

2011-09-08 Thread Volker
I try to get a button working using UiBinder with UiHandler. Unfortunately the screen shows up fine but the button does not react on any clicks. While searching for some good examples how to use the UiHandler annotation I got confused. The tutorial on the official gwt site says:

Why rpc requets calls arent operated independetly(concurrently) by methods in server-side code

2011-09-08 Thread wasyl
Hi. I've got below described problem: The client-side code calls a request, which starts downloading emails into server-side database. It takes a lot of time. At the same time another request is repeatedly getting already downloaded mails (it's being repeated every 5 sec.) to append them to

Re: Validation Messages i18n Client/Server

2011-09-08 Thread Juan Pablo Gardella
See gwt-vl http://gwt-vl.sourceforge.net/ 2011/9/8 Alex alexanderwolf...@googlemail.com Hey guys, I am using GWT on GAE and try to find a solution to write my validation classes only once. So far everything works very well besides some Regex-quirks. But now I struggle with my validation

Re: Why rpc requets calls arent operated independetly(concurrently) by methods in server-side code

2011-09-08 Thread Juan Pablo Gardella
There is one thread in client side. Javascript it's not multithread. 2011/9/8 wasyl wass...@gmail.com Hi. I've got below described problem: The client-side code calls a request, which starts downloading emails into server-side database. It takes a lot of time. At the same time another

Searching for calendar library

2011-09-08 Thread Xavier
Hi, I'm searching for a library for a grahical calendar (agenda) with : - time (days of week) on horizontal axis - and other ressource on vertical axis Exemple : https://lh4.googleusercontent.com/-w-Ke1HpiyEs/TmjBhw6vuPI/C5s/fd3Hzut4MHE/calendrier.gif Thanks Xavier -- You received

Re: Plugin for Eclipse vs GWT Designer

2011-09-08 Thread Eric Clayberg (Google)
If you want everything, you should install the GPE first followed by the full version of GWT Designer. They can easily co-exist in the same Eclipse environment. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on

Re: Searching for calendar library

2011-09-08 Thread Juan Pablo Gardella
http://code.google.com/p/gwt-cal/ 2011/9/8 Xavier xno...@gmail.com Hi, I'm searching for a library for a grahical calendar (agenda) with : - time (days of week) on horizontal axis - and other ressource on vertical axis Exemple :

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-08 Thread Tiago
Hello Stefan, Here's a summary of a situation where I got the error: I have a Child entity which has a link to its Parent. The parent entity also has a collection of entities of the Child type. I'm loading the child to display its values with the help of the GWT Editor framework, in read-only

No source code is available for type com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you forget to inherit a required module?

2011-09-08 Thread Brad Leupen
Hello! I just upgraded my GWT project from 2.4 rc1 to 2.4 GA and have encountered a problem with the GWT compiler. Dev mode works now that i have configured annotation processing on my project, by the compiler gives me this: Errors in 'file:/C:/myproject/.apt_generated/com/acme/project/client/

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-08 Thread Tiago
I'll post here a stack trace of the error I get, maybe it helps (I've cut off everything before GWT classes, which were mostly springframework and jetty stacks) If I remove the ListChild getter from ParentProxy, I don't have this error anymore. SEVERE: Unexpected error

Re: TextShadow won't apply

2011-09-08 Thread Evan Ruff
ANNND as usual, I'm an idiot. I was adding a semi-colon to the end of the statement. myLabel.getElement().getStyle().setProperty( textShadow, #000 5px 5px 5px ); works like a charm. myLabel.getElement().getStyle().setProperty( textShadow, #000 5px 5px 5px *;* ); Doesn't apply.

Re: UiHandler and how to do it right?

2011-09-08 Thread Steve Wall
The value to the @UiHandler annotation is the ui:field value in your UiBinder. So in the first example, they Button must have been named button. There is no implicit naming convention on the method names. The argument to that method is what determines when that method runs (e.g. on a

Re: UiHandler and how to do it right?

2011-09-08 Thread Ben Munge
Do you have a corresponding field in your UIBinder ui.xml with the same ui:field property? For example, in your ui.xml you should have: g:Button ui:field=buttonClick Me/g:Button In the corresponding Java class you should have: @UiField Button button; @UiHandler(button) void

Re: Plugin for Eclipse vs GWT Designer

2011-09-08 Thread Marcin Wiśnicki
On Sep 8, 3:45 pm, Eric Clayberg (Google) clayb...@google.com wrote: If you want everything, you should install the GPE first followed by the full version of GWT Designer. They can easily co-exist in the same Eclipse environment. Thanks. This should be mentioned on downloads page. -- You

Re: is there a Naming conventions of gwt?

2011-09-08 Thread Ben Munge
Could you be more specific? GWT does utilize convention over configuration in several aspects. This is especially apparent in the UIBinder model where naming conventions allow you to easily associate Java elements and methods with the defined elements in your ui.xml. On Sep 8, 5:26 am, wahaha

Re: Is there a GWT book covering version = 2.1.1?

2011-09-08 Thread Ben Munge
There does seem to be a lack of valuable GWT books covering some of the newer aspects of the language. Have you gone through all the tutorials on the main site? I found the large scale application development and MVP pattern w/ UIBinder tutorial extremely valuable when learning the framework:

Re: Conditional CSS Updates

2011-09-08 Thread rth
Thanks for the tip Sanjay, Looking into getText for the CssResource though it looks like only one branch of the @if statement is contained in the CssResource.getText() value. E.g., below you can see that only the @else block has been included in the CssResource text (the correct block is always

Re: Searching for calendar library

2011-09-08 Thread Xavier NOPRE
Hi, 2011/9/8 Juan Pablo Gardella gardellajuanpa...@gmail.com http://code.google.com/p/gwt-cal/ Thank you for your answer. I know (a little) this library, but seems to have only hours in vertical axis. I need other criteria in vertical axis, like resources or people. Take a look at my picture

Re: Searching for calendar library

2011-09-08 Thread Xavier NOPRE
Unless gwt-cal has options to have different display mode ? ... Xavier -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: Conditional CSS Updates

2011-09-08 Thread Ben Munge
I don't think you can do this with conditional styles. I think you'd be better off firing an event on the event bus when they orientation changes and just change class/style through an event handler. On Aug 29, 12:39 am, rth rthol...@gmail.com wrote: Hi, I have a Conditional CSS block that

File download with GWT

2011-09-08 Thread Aurita Moya
I am new to GWT application and I need help downloading files using servlet, I have the part that generates an excel file. xls, but I need to display the window save as import

Re: No source code is available for type com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you forget to inherit a required module?

2011-09-08 Thread Brad Leupen
I just wasted an hour on this. Turns out you no longer compile GWT 2.4 with the -strict option if you use request factory. Come on guys. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Is there a GWT book covering version = 2.1.1?

2011-09-08 Thread BM
Have you checked the Manning's GWT in Action Second Edition book? They have it on MEAP program. This book is awesome. They cover the latest 2.3 version with extensive coverage on UIBinder, RPC, MVP, Activities and Places, RequestBuilder. They are in fact going to add chapter on RequestFactory

Re: Server Side Call from a non presenter class

2011-09-08 Thread BM
What framework are you using? Do you have a client factory? Perhaps you can define a singleton instance of the dispatchAsync in the client factory object and getting it from anywhere as long as you are passing the same instance of client factory. Secondly why would you want to make a server side

Re: Does the last Google Plugin for Eclipse update install the Maven plugin too?

2011-09-08 Thread David Chandler
GPE does not install the Maven binary or Eclipse plugin (m2eclipse/m2e), but will work with Maven projects if those dependencies are available. Beginning with Indigo, m2e (formerly Sonatype m2eclipse) is bundled with the Eclipse Java IDE (but not Java EE IDE), which is what you may be seeing.

Re: Is there a GWT book covering version = 2.1.1?

2011-09-08 Thread Ben Munge
Thanks for the tip BM! On Sep 8, 9:57 am, BM bhushan.ma...@gmail.com wrote: Have you checked the Manning's GWT in Action Second Edition book? They have it on MEAP program. This book is awesome. They cover the latest 2.3 version with extensive coverage on UIBinder, RPC, MVP, Activities and

Re: Plugin for Eclipse vs GWT Designer

2011-09-08 Thread Eric Clayberg (Google)
The download page already states that you you should Download this version for its extra features, or if you use GXT, GWT-Ext or SmartGWT. The 2.2 Release Noteshttp://code.google.com/webtoolkit/doc/2.2/ReleaseNotes.htmlalso discuss the differences and what you get by installing the full

Re: File download with GWT

2011-09-08 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/8c708ac2da186d17/ca92d9d8f78a0e19 On Sep 8, 7:33 am, Aurita Moya auram...@gmail.com wrote: I am new to GWT application and I need help downloading files using servlet, I have the part that generates an excel file. xls, but I

Re: What about non Javascript sites?

2011-09-08 Thread Alisson Prestes
I heard (and someone here could confirm it or not) that Closure Templates, another tool developed by Google, has the ability to generate the same page either in server side or client side. Does anybody know if it is possible to integrate it with GWT? Alisson Prestes

Re: Gwt4Titanium Mobile 1.1.0 Preview: Introducing DevMode

2011-09-08 Thread Alfredo Quiroga-Villamil
Hi Leandro: We went in not being sure ourselves if it would be possible since we didn't have a lot of luck finding documentation for how this whole process worked. But to answer your question, yes we had to essentially write the equivalent of a browser plugin. We have plans at some point to

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-08 Thread Thomas Broyer
I believe RF is not meant to be used with lazy-loading if you don't also use (and accept the consequences) OpenSessionInView. If you detach your objects early, then you have to either remove the lazy-loading (best IMO, lazy-loading is appealing but the risks of loading much more than needed,

Re: Overriding themes

2011-09-08 Thread Tobias
Hi Sudhakar, thanks for your reply. Yes, that is how you can assign a style to a single button. I was wondering what is the best way to set a style for ALL buttons in my application. Tobias On 8 Sep., 09:48, Sudhakar Abraham s.abra...@datastoregwt.com wrote: To specify your own style in

Re: Why rpc requets calls arent operated independetly(concurrently) by methods in server-side code

2011-09-08 Thread Uemit
@Juan: I don't think that the problem is related to Javascript being single threaded. You can have multiple XHTMLHttpRequests running in parallel (with modern browsers up to 6 per domain). @wasyl: Can you post some code on how you call the server requests ? Are you using RPC ? How are the

GWT and social networks

2011-09-08 Thread Diego Places
Hello everyone, I started programming in GWT 1 month .. I need help . social networks like facebook, twitter, google + richiedeno to be used to import the javascript and then use the html simple addition of various buttons. Everything seems easy!. But I had big problems with GWT javascript

How to change the displayed page in a CellTable

2011-09-08 Thread Vincau
Hi, I would like to know if it's possible to manage the displayed page in a CellTable. I mean, I can use the setSelected() method to select a row, but how can I tell the CellTable to change the currently displayed page in order to see the selected row ? Thanks in advance, Vincent -- You

GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Brad Leupen
I have these interfaces: @ExtraTypes({FooProxy.class}) public interface FooRequestFactory extends RequestFactory { ... } @ExtraTypes({BarProxy.class}) public interface BarRequestFactory extends FooRequestFactory { ... } if i look at the generated

Re: how come my extended StackLayoutPanel does show headers correctly?

2011-09-08 Thread Eric Clayberg (Google)
StackLayoutPanel does not provide enough API to get the required design time information (such as the headers). We resort to hacks to get access to that info for StackLayoutPanel itself at design time. It is unlikely that you can create a compatible sub-class of StackLayoutPanel, because there

Re: Is there a GWT book covering version = 2.1.1?

2011-09-08 Thread tom
Thank you, I'll have a look at 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/-/m8n1NNrPlI8J. To post to this group, send email to

How (editor + requestfactory) can actually update a collection in a domain

2011-09-08 Thread Andy
Hi, I have a entity e.g. public class User{ byte[] id; String name; ListContactDetail contact; } public class ContactDetail { byte[] id, String name, int privacyFlag, . } The question is how can we wire the contactDetails to an editor and send only the changes to the server,

Basic CSS question

2011-09-08 Thread Mike Dee
I think this is a basic CSS question. I am playing around with styles. I notice that in standard.css that body is defined to have a sans-serif font family. If I change the font-family to serif, I would expect all other elements (labels, menus, buttons, etc) to be affected. But I don't see any

Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Thomas Broyer
Can't you put your @ExtraTypes on the proxies instead? I.e. if you have FooProxy extends SuperFooProxy, then why not put @ExtraTypes(FooProxy.class) on the SuperFooProxy interface? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Brad Leupen
Hey Thomas, Thanks for the reply. I think I actually tried that at one point on the RC and ran into a stack overflow. Regardless, the design still wont really work for me because the base Component proxy object really has no idea what it's subclasses are or its subclasses' dependent ValueProxies.

Re: GWT and social networks

2011-09-08 Thread darkflame
Depends how much functionality you want. If you just want a facebook share, you could have; Window.open(http://www.facebook.com/sharer.php?u=+url, _blank,); Where url is the link to be shared. Then just trigger that on a button on your app. (which you could make to look like a facebook

Hosting GWT applications

2011-09-08 Thread sachin sreenivasan
Hi, I am developing an application using GWT and I need to host it somewhere so that I can share it with my friend who is located elsewhere. Can someone tell me what would be the best option to host my application to make it available for him for testing purpose? I guess google app engine can

Re: Hosting GWT applications

2011-09-08 Thread Ernesto Oltra
In the website (http://gwt.google.com/) there are some tutorials about GWT/Appengine And check http://code.google.com/appengine too for tutorials on Java-Appengine. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion

Converting dynamic Web project to GWT project

2011-09-08 Thread Perceval
Hey everyone, First post here. I've been working with GWT for more than two years now, but I have almost always worked on already started project. In the last few months, I started a few and I was always comfortable with building a dynamic web project first, that was attached to an EAR an a

Re: Basic CSS question

2011-09-08 Thread Ernesto Oltra
Hi, Use Firebug or Chrome Dev Tools to see the cascade of styles, because I had some hard times with that. You define the font X for body, but then GWT loads and injects the standard.css file and you have sans-serif or whatever again. You could: 1) Load your stylesheet and inject it after

Re: onModuleLoad() - what is it in javascript

2011-09-08 Thread Ernesto Oltra
The latest one: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideBootstrap -- 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: onModuleLoad() - what is it in javascript

2011-09-08 Thread Ernesto Oltra
Oops, and try using the Detailed compilation mode, to be able to search onModuleLoad in the javascript file and then track it better when compiled in advance mode. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on

Re: Basic CSS question

2011-09-08 Thread Mike Dee
What does injecting mean in terms of CSS? Sounds like this may alter the way cascading works in a typical web site/app? On Sep 8, 11:47 am, Ernesto Oltra ernestoka...@gmail.com wrote: Hi, Use Firebug or Chrome Dev Tools to see the cascade of styles, because I had some hard times with that.

Re: Basic CSS question

2011-09-08 Thread Tobias
I am currently also struggling with that issue, see: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/9e6d9651395c96a3/bddc3938127ba1b0 On Sep 8, 9:29 pm, Mike Dee mdichiapp...@gmail.com wrote: What does injecting mean in terms of CSS?  Sounds like this may alter the way

What's the version of Jetty in gwt-dev.jar ?

2011-09-08 Thread Leonel Gayard
Title says it all. What version of Jetty is included in gwt-dev.jar ? Also, did it change over the latest versions of GWT ? From GWT 2.0 to bleeding-edge 2.4, which versions of Jetty are bundled in each ? Thanks, Leonel -- You received this message because you are subscribed to the Google

Re: File download with GWT

2011-09-08 Thread Magno Machado
I use to do this with an Anchor widget that points to the servlet that serve the file On Thu, Sep 8, 2011 at 12:26 PM, Jim Douglas jdou...@basis.com wrote: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/8c708ac2da186d17/ca92d9d8f78a0e19 On Sep 8, 7:33 am, Aurita Moya

Re: Converting dynamic Web project to GWT project

2011-09-08 Thread Perceval
Forget that ; I found my own answer. I needed the Instantiations plugin : GWT Designer GUI Builder 8.0. Everything fine now... On 8 sep, 14:41, Perceval pfle...@videotron.ca wrote: Hey everyone, First post here. I've been working with GWT for more than two years now, but I have almost always

GWT and GPE 2.4 have arrived

2011-09-08 Thread Eric Clayberg (Google)
*Tools to help monetize and mobilize your development: Announcing the Google Plugin for Eclipse 2.4http://googlewebtoolkit.blogspot.com/2011/09/tools-to-help-monetize-and-mobilize.html * * * At this year’s Google I/O conference, we

Re: Basic CSS question

2011-09-08 Thread Ernesto Oltra
Sorry, I meant if you use the CssResource to bundle your stylesheets together with your app, it has a method ensureInjected(). The load process would be something like that: Host page - GWT code - standard.css - Your code - Your CSS file injected So it's easier to overwrite styles in this way.

Re: why does it take a whole MINUTE for gwt designer to parse an empty class of splitLayoutPanel

2011-09-08 Thread Eric Clayberg (Google)
No idea. That works pretty fast on our end, but it would be helpful to see a complete test case project. If you can profile Eclipse or take thread snapshots at various points during that minute, it would be very helpful. -- You received this message because you are subscribed to the Google

Re: GWT designer keeps hanging!! going mental

2011-09-08 Thread Eric Clayberg (Google)
We are still unable to reproduce this. I think we need to see a complete test case project as well as your Eclipse preferences. -- 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: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Y2i
I also have @ExtraTypes on RF due to stack overflow in RC. Haven't tried yet in the release. -- 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: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Y2i
Brad, what if you place @ExtraTypes(FooProxy.class) on some RequestContext returned by methods of FooRequestFactory? -- 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: Scalability problem with Cell widgets and KeyboardPagingPolicy.INCREASE_RANGE

2011-09-08 Thread camerojo
I have had no feedback on this but I think it is a serious but fairly easily resolved problem so I have reported it as an issue - http://code.google.com/p/google-web-toolkit/issues/detail?id=6777 On Aug 16, 4:40 pm, camerojo jadcpub-goo...@yahoo.com.au wrote: Cell widgets were a great step

Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Kevin Jordan
Doesn't appear much has changed on the RequestFactoryGenerator in the final release from RC1. I ended up having to do a copy of RequestFactoryGenerator and change AllReachableTypesVisitor to be: private static class AllReachableTypesVisitor extends RequestMethodTypesVisitor {

Design mode and Can't create SWT browser

2011-09-08 Thread darrell pfeifer
I keep getting the Can't create SWT browser screen. This was happening with 2.3 so I waited and updated to the 2.4 release but I still can't get a designer screen. I thought design mode was supposed to use webkit if it could. I've also tried adding the command line option to enable webkit but it

Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Kevin Jordan
Also, after you put that in your copied RequestFactoryGenerator, you'll need to put: generate-with class=package where you put your copied generator.RequestFactoryGenerator when-type-assignable

Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Kevin Jordan
Looking further, it would probably be best though if a fix for RequestFactoryModel was checked in that had a check against the type being examined and the type it gets for the proxy type in the @ExtraTypes array: private ListEntityProxyModel checkExtraTypes(JClassType type, boolean

Re: File download with GWT

2011-09-08 Thread Kevin Jordan
Yeah, use an anchor which will automatically launch it through the built-in function in the browser or you can use the open method in the GWT Window class to open a new window pointing to your servlet:

Re: File download with GWT

2011-09-08 Thread Jim Douglas
Window.open() is trapped by the popup blocker. I posted a link to the complete set of steps. On Sep 8, 5:26 pm, Kevin Jordan ke...@kjordan.net wrote: Yeah, use an anchor which will automatically launch it through the built-in function in the browser or you can use the open method in the GWT

try to parse a xml,errored

2011-09-08 Thread wahaha
code: public void onModuleLoad() { String str=a333/a; Document doc= XMLParser.createDocument(); Element top=doc.createElement(bbb); top.setAttribute(ddd, 3); top.setNodeValue(dd);

Re: try to parse a xml,errored

2011-09-08 Thread Jim Douglas
Add this to your *.gwt.xml file: inherits name=com.google.gwt.xml.XML/ On Sep 8, 7:32 pm, wahaha il...@yahoo.com.cn wrote: code:         public void onModuleLoad() {                 String str=a333/a;                 Document doc= XMLParser.createDocument();                 Element

Re: onModuleLoad() - what is it in javascript

2011-09-08 Thread dreamer
seems 1.6 documentation is old, it is assuming main script is in body. now it is in head tag. In detailed compile file, there is call for compile like schooldistrict();. Which is bootstrap javascript function for all script lets. My guess is main script (function/object) is getting executed

Re: onModuleLoad() - what is it in javascript

2011-09-08 Thread dreamer
Just for proof of concept, save the below two code segments as html and js files and launch html, it builds the body. test.html== html head titleThis is test page sas/title script type=text/javascript language=javascript src=test.js/ script /head /html ===

Re: Conditional CSS Updates

2011-09-08 Thread Sanjay
Yes, I agree. Even if my proposed method worked, it is not meant for this. If anything, CSS3 Media Queries are meant for this. Alas, gwt doesnt support them yet. My advice: as much as possible, build fluid layouts that scale to the amount of room on the screen. If you need a master/details

  1   2   >