Re: Injected CSS rules are evaluated after onModuleLoad/Widget#onLoad

2010-01-08 Thread Sebastian Beigel
I found a work around, I wrapped the positioning code in my onLoad() method in a DeferredCommand and it works. Is this the preferred solution for this problem? Sebastian On Fri, Jan 8, 2010 at 4:38 PM, Sebastian Beigel sebast...@beigel.de wrote: Hi, I tried to follow the best practices and

Status of GWT RPC-Auth?

2010-01-08 Thread wstrange
What is the status of GWT RPC-Auth: http://code.google.com/p/google-web-toolkit/wiki/RpcAuth The reason I ask is there seems to be a woeful lack of concrete examples on how to write secure GWT applications. There are many postings that explain the theory of how to write such applications -

Re: Validating ClientBundles ?

2010-01-08 Thread vinnyjames
I had the same issue and unchecking the box fixed it. When I start eclipse (even without a google project open) it hits this and seems to consume a lot of resources. I have to kill the eclipse process from the command line and even other processes complain that they cannot fork (e.g. starting

GWT 2.0 + Maven2 with Eclipse

2010-01-08 Thread Sergi
Hi!, Has anyone managed to configure Maven2 gwt 2.0.0 under eclipse? 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. To unsubscribe from this group, send

Re: GWT dev mode with pre-installed tomcat

2010-01-08 Thread Martin D'Aloia
Create a new Run configuration in Eclipse with these parameters: Main class: com.google.gwt.dev.DevMode Arguments: -noserver -startupUrl http://localhost:8080/your_context/com.package.to.your.AppModule In Classpath tab: under User Entries add your source folder. On

Injected CSS rules are evaluated after onModuleLoad/Widget#onLoad

2010-01-08 Thread Sebastian Beigel
Hi, I tried to follow the best practices and moved my static CSS files from style-tags in the HTML-page to CssResources in a ClientBundle declared in my EntryPoint and injected in a static initializer. Unfortunately, this doesn't work for me because I do some element positioning in an

How to know if an widget(eg: FlexTable) is completely loaded in the page

2010-01-08 Thread Amit
Hi, I am facing a problem in my GWT project. I have a FlexTable and I want to get the absolute top of this widget. Now, I get this top value in pixels correctly each time, except for one occasion, that is when the page loads for the first time. I could not find out why the absolute top position

Building Composite Web Application using GWT...

2010-01-08 Thread sha...@gmail.com
hi, i was wondering if its possible to build composite applicaiton in GWT. By composite i mean building separate and Independent modules that can be glued together using some form of plug play machanism? thanks in advance.. Shamol -- You received this message because you are subscribed to the

GWT Server side programming

2010-01-08 Thread octopus
I've been trying to figure out how to add existing servlets to a GWT project in eclipse. I have a master servlet running, and I want to dispatch requests to other servlets running on the same server. These servlets are other open source web applications that are available for download. Can

Re: Problem with IE.

2010-01-08 Thread will vuong
do you have the standards doctype set on your host html page? On Jan 7, 6:29 am, Jimmy Lee jim1...@gmail.com wrote: I am playing with GWT 2.0 and it just works fine with Chrome and FF, but not with IE. I have tested it with IE 7 and 8. Strange thing is that both show no errors at all and say

Re: GWT 2 Css issues with new layout panels (Proposal)

2010-01-08 Thread Chris Ramsdale
You may want to add your comments to the following issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4429q=layout%20css - Chris On Fri, Jan 8, 2010 at 9:29 AM, Sebastian use...@laliluna.de wrote: Hello, the new layout panels SplitLayout, DockLayout etc do not mark their

Re: GWT 2.0 books

2010-01-08 Thread roanmtn
How is that book coming along? Is the rough cut available on Safari Books Online yet? On Dec 2 2009, 7:30 pm, FKereki fker...@gmail.com wrote: Personally, I'm authoring abookonGWT2.0for Addison Wesley; I expect the Rough Cut to be available on Safari Books Online early next year. -- You

Re: Possible bug in gwt with type casting or normal behavior!

2010-01-08 Thread Chris Ramsdale
I would try recompiling in pretty mode to see what js is produced. I know the following works correctly for me (I used a TextBox to get around compiler optimizations): public void onModuleLoad() { RootPanel.get().add(textBox); RootPanel.get().add(button); hash = new HashMapInteger,

Error com.google.gwt.dev.shell.GWTShellServlet

2010-01-08 Thread Acerezo
Hi all!! I'm trying to run this project but I have this error: java.lang.ClassNotFoundException: com.google.gwt.dev.shell.GWTShellServlet Anyone can help me, please? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

addDomHandler issue with Internet Explorer.

2010-01-08 Thread Memo Sanchez
Good day, I am facing a really strange problem with IE, which I think it is caused by the addDomHandler, but I am not sure of this. We are creating a huge application, and my task is to create a button with Rounded corners, I created the new Button with basically is a DecoratorButton, that

Re: Help is needed (running GWT application)

2010-01-08 Thread Johnathan James
Can you give more detail on what you are doing? Something like.. 1. Created Web Project in Eclipse. 2. Ran the project as Debug in Eclipse. 3. A URL was given to me in Eclipse. 4. I pasted the URL in a browser, and got the error. It will help figure out whats going wrong.. Johnathan On Jan 8,

RPC error with jboss

2010-01-08 Thread Lucas Vargas Freitas Ventura
Hello, I am testing the DynaTable app , and it work fine in development mode, (using Eclipse plugging). But i want test the application in my jboss server, so i ran the ant script to make the war file and put this file in deploy folder into jboss. The server start fine, but when i enter in the

Re: Injected CSS rules are evaluated after onModuleLoad/Widget#onLoad

2010-01-08 Thread DaveC
Have you tried StyleInjector.inject(cssText, true) ...? the DOM will be updated immediately instead of just before returning to the event loop. Using this option excessively will decrease performance, especially if used with an inject-css-on-init coding pattern I had a similar problem using the

Re: How to know if an widget(eg: FlexTable) is completely loaded in the page

2010-01-08 Thread UJ
Dear Amit, Probably by the time you are requesting the location, the widget has not been initialized. You will have to wait until the FlexTable is loaded/ displayed on the browser. You may try one of the following methods: 1. Using FocusListener

Re: Error com.google.gwt.dev.shell.GWTShellServlet

2010-01-08 Thread UJ
gwt-servlet.jar is needed. see: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/f30983fcbef8030f Regards, Upendra Jariya. -- 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: Building Composite Web Application using GWT...

2010-01-08 Thread rjcarr
Hi Shamoi- Your idea sounds interesting, and I'd like to help, but you need to be *way* more descriptive in what you mean by plug-and-play. In general, you can have as many modules as you want, but I've only ever loaded a single EntryPoint (i.e., a single nocache.js file), but it might be

Re: Status of GWT RPC-Auth?

2010-01-08 Thread rjcarr
I think the reason it is left as an exercise is because each servlet container handles authentication differently. The basic concept is to secure your servlet calls in one way or another, typically defined in the web.xml. Your first step is to understand how servlet security and authentication

Re: Custom class in RPC

2010-01-08 Thread rjcarr
Is there a restriction on the package the Class must be in? YES! Specifically, it must be in the client module (defined by the module xml file). Your actual code looks correct (although you could use jdk's Serializable instead of the GWT custom one). On Jan 8, 12:38 am, Micha Roon

Re: How to redefine standard.css ?

2010-01-08 Thread rjcarr
I'm not exactly sure what you're asking, but I'm not sure you can edit standard.css. If you like standard.css but just want to modify some fields, you could probably find where it lives, copy it to a location on your web path, disable the standard one and load your edited one. I'm reasonably

Re: StringBuffer problems in GWT

2010-01-08 Thread rjcarr
What is the context? What does this have to do with GWT? Where is the println directed to? If this is somehow making its way onto a web page, then you need to replace \n with br and put it inside of an HTML widget. On Jan 6, 11:46 am, Brittany bjacob...@gmail.com wrote: The simplest way to

Re: [gwt-contrib] All the content of RichTextEditor is deleted in FF first time you push a key

2010-01-08 Thread Joel Webber
If you're not explicitly selecting the RTA's text (using formatter.selectAll(), and it's becoming selected by default, please do file a bug for this. It's likely a mozilla bug, but there's probably something we can do to forcibly work around it. Do post a snippet that reproduces the exact behavior

Re: [gwt-contrib] All the content of RichTextEditor is deleted in FF first time you push a key

2010-01-08 Thread John LaBanca
Are you using RichTextArea that is part of GWT, or another widget called RichTextEditor (in google3?). Thanks, John LaBanca jlaba...@google.com On Fri, Jan 8, 2010 at 2:26 PM, Joel Webber j...@google.com wrote: If you're not explicitly selecting the RTA's text (using formatter.selectAll(),

Re: [gwt-contrib] All the content of RichTextEditor is deleted in FF first time you push a key

2010-01-08 Thread Joel Webber
[-gwtc] He's not likely to know about google3 :) On Fri, Jan 8, 2010 at 2:38 PM, John LaBanca jlaba...@google.com wrote: Are you using RichTextArea that is part of GWT, or another widget called RichTextEditor (in google3?). Thanks, John LaBanca jlaba...@google.com On Fri, Jan 8, 2010

Re: [gwt-contrib] All the content of RichTextEditor is deleted in FF first time you push a key

2010-01-08 Thread Joel Webber
Ok, I'm a complete idiot. Please ignore stupid chatter between me and John about our internal repository. There is nothing in GWT (internally or externally) called RichTextEditor, so I just assumed RichTextArea was being referred to on this thread. On Fri, Jan 8, 2010 at 2:45 PM, Joel Webber

Re: [gwt-contrib] All the content of RichTextEditor is deleted in FF first time you push a key

2010-01-08 Thread Manuel Carrasco Moñino
Sorry I made a mistake, I'm using the RichTextArea in GWT-2.0.0. Manolo On Fri, Jan 8, 2010 at 8:38 PM, John LaBanca jlaba...@google.com wrote: Are you using RichTextArea that is part of GWT, or another widget called RichTextEditor (in google3?). Thanks, John LaBanca jlaba...@google.com

Re: [gwt-contrib] All the content of RichTextEditor is deleted in FF first time you push a key

2010-01-08 Thread Manuel Carrasco Moñino
No, I'm not calling selectAll. I've played with different combinations and it happens every time, so I'm going to open a ticket and attach a piece of code. I'm using gwt 2.0.0 and FF 3.5 in linux, but it also happens in windows and gwt-1.7.1. Thanks Manolo On Fri, Jan 8, 2010 at 8:26 PM, Joel

Re: [gwt-contrib] Re: Custom element parsers for UiBinder

2010-01-08 Thread Miroslav Pokorny
In your ElementParserToUse annontation why not pass the class instead of classname which enforces some typesafety. On 09/01/2010, at 3:30 AM, ggeorg georgopoulos.georg...@gmail.com wrote: Hi Ray, Please have a look at: http://code.google.com/p/google-web-toolkit/issues/detail?id=4461

[gwt-contrib] Re: Custom element parsers for UiBinder

2010-01-08 Thread ggeorg
Because the ElementParser is not in the client package. On Jan 8, 11:09 pm, Miroslav Pokorny miroslav.poko...@gmail.com wrote: In your ElementParserToUse annontation why not pass the class instead   of classname which enforces some typesafety. On 09/01/2010, at 3:30 AM, ggeorg

<    1   2