DockLayoutPanel and YUI

2009-10-04 Thread jd
Hi, I am using DockLayoutPanel and have found that it seems to be imcompatible with YUI Grids. Specifically, when I include this on my page: link rel=stylesheet type=text/css href=http://yui.yahooapis.com/ 2.8.0r4/build/grids/grids-min.css The page does not layout correctly in IE6.

Re: Open Source WIdget Library

2009-10-04 Thread Rockster
or gwt-mosaic! On Oct 3, 10:56 pm, Geraldo Lopes geraldo...@gmail.com wrote: Another option: http://code.google.com/p/google-web-toolkit-incubator/ Geraldo On 3 out, 08:56, James jdrinka...@gmail.com wrote: Hello All, I've been looking for the best open source widget libraries to

Re: DockLayoutPanel and YUI

2009-10-04 Thread jd
... and while I am bashing IE6 - I found another issue: When DockLayoutPanel is set to use Unit.EM I found that a child in the east overlapped with the centre child by about 10 px. When I changed to Unit.PX it works OK. Again, in Safari Unit.EM worked fine. Bring on Chrome Frame! On Oct 4,

Re: GWT, MVP a beginner's question

2009-10-04 Thread Miroslav Genov
Hello, How you test the following snippet ? The following snippet is not following the Law of Demeter and I'm not sure that such usage is correct, because in your test if have to mock the display, the MyReusablePanel and the Display of MyReusablePanel. Regards, Miroslav Dave Pinn

Re: client side same-origin IE issue

2009-10-04 Thread David Given
Brian Blain wrote: [...] I wanted to be able to move the project war dir to another computer that does not have a server and open ClientUpload.html. Right now when ClientUpload.html is opened in Firefox or Chrome the URL is file:/// C:/.../ClientUpload/war/ClientUpload.html and

Line Chart rendering problem

2009-10-04 Thread LN
Hello everybody, I am having a though time tryng to use the LineChart from gwtext in my project. First of all, I am using an Y axis of type Numeric Axis http://www.gwt-ext.com/docs/2.0.4/com/gwtext/client/widgets/chart/yui/NumericAxis.html I want to put the minimum to 2,5 and the maximum to 3,5

Re: using affine transformations in GWT

2009-10-04 Thread stephan17
Atm I'm using gwtcanvas to draw. but it is not possible to do affine transformations with it, that's the problem. On 25 Sep., 18:08, David Given d...@cowlark.com wrote: Stephan wrote: [...] i want to use affine transformations in Google Web Toolkit... How do i do that? GWT has no

Changing UI Theme at runtime.

2009-10-04 Thread AndyB
I know it is possible, as it is done in the showcase example. I have tried looking through the code for the example but it is somewhat confounding. What I am interested in doing is changing the GWT user interface theme, the one that is inherited from the module XML, at runtime. I was wondering

Security problem while connecting MySQL using JDBC in GWT hosted mode

2009-10-04 Thread Ehsan
I want to connect to a mysql database at localhost:3306 using jdbc in a GWT servlet, but when try connecting i get this error : java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) ... I know that i need to apply a security policy for tomcat to

Re: Open Source WIdget Library

2009-10-04 Thread Sergey Elin
Another library is ExtGWT http://www.extjs.com/products/gxt/ 2009/10/3 mikedshaffer mikedshaf...@gmail.com: You should also take a look at SmartGWT http://code.google.com/p/smartgwt/ On Oct 3, 5:56 am, James jdrinka...@gmail.com wrote: Hello All, I've been looking for the best open source

Re: Getting User Principal in Client

2009-10-04 Thread brancoch
In our application, I have built a proof concept for this type of requirement. First, we are using GWT 2.0/GXT2.0.1 and UIBinder. I have built custom parsers for UIBinder to support GXT widgets wrapped under a composite. These extended widgets have a secure method that takes a string of comma

Re: Serialization problem using CustomFieldSerializer(s) and specifying specific .java files in gwt module xml

2009-10-04 Thread brancoch
I had something similar using GWT2.0 and GAE plugin in Eclipse. I was using a custom serializable object (UserContext) which was holding a reference to SetString. I was working ok for awhile then suddently stopped working. After reviewing all items that was introduced since the last time it was

Re: File Upload not working after migrating to GWT1.7

2009-10-04 Thread frenky
Could you please post a client side, server side and web.xml here. Would help a lot. France On Sep 30, 8:49 pm, abhiram wuntakal abhir...@gmail.com wrote: Hi Thomas. Thanks a lot for that. It is working fine now... regards, Abhiram On Wed, Sep 30, 2009 at 3:29 PM, Thomas Broyer

TextBoxImpl, find cursor position when clicking inside a selection range

2009-10-04 Thread bhomass
when using a TextBoxImpl, you can get the cursor position and selection length correctly, except when you highlight some text, then click inside the highlighted area. In which case you consistently get cursor position of 0. this means, there is no way to programmatically determine where the

using the webserver GWT installs

2009-10-04 Thread tedpottel
Hi, I have an apache server set up and was going to install JBoss, then I say JBoss uses Jettey and Google toolkit uses Jitty. Since I have gwt install and working, I’m assuming I have the same web server used in JBoss? In my apache folder, I put my html and php files in the www directory. I

History handling

2009-10-04 Thread Daniel
Hello there! I'm writing a GWT api for use in my web applications, and one of the problems I'm running into is an inability to distinguish between user input on the address bar and the back and forward buttons. I've got only a little over 1000 LOC written, so I'm not opposed to scrapping the

Re: GWT, MVP a beginner's question

2009-10-04 Thread Dave Pinn
What is your alternative, Miroslav? --~--~-~--~~~---~--~~ 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,

Dependency injection and GWT?

2009-10-04 Thread Chris Burrell
Hi I want to build a view in GWT but it is one of a few different types of views. So I was thinking, I could have them all share something common via inheritance, so that I could inject any kind of view I'd like into my module... I'm having trouble binding one of those things together. Any help

Re: GWT, MVP a beginner's question

2009-10-04 Thread Chris
Don't you just inject a Mock Panel in that case? (Sorry rather new) On Oct 4, 11:08 pm, Dave Pinn dp...@byandlarge.net wrote: What is your alternative, Miroslav? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Freezing DOM ? ? ?

2009-10-04 Thread Aladdin
Hi, I want to find a way to freeze the DOM while rearranging some elements, for example I have table that I need to remove it and then replace it with another table, my problem is as soon as I remove it the container resize its self to minimum size and then when I add the new table it expand

Re: Security problem while connecting MySQL using JDBC in GWT hosted mode

2009-10-04 Thread rjcarr
I'm not familiar with your specific errors but I use tomcat to connect to a jndi database and because of this I use the 'noserver' switch when running in hosted mode. This way GWT doesn't start its own server but uses the tomcat I already have running. On Oct 3, 10:52 am, Ehsan

Re: How do I overlay two images?

2009-10-04 Thread rjcarr
For this you'll likely want to use the AbsolutePanel. This allows you position items (Images) absolutely, i.e., by pixel, and then you can control their z-level by CSS. This is essentially the same thing you'd do outside of GWT ... you'd need to use floating divs positioned absolutely. On Oct

Re: setVisible vs. add/remove

2009-10-04 Thread rjcarr
I wouldn't imagine the speed would make much of a difference since DOM manipulation is so fast in general. If you had to pick a faster solution, I'd say changing the visibility would be faster, but you'd need to do some profiling to verify. On Oct 3, 12:58 pm, David Pinn dp...@byandlarge.net

css and grid row text color...

2009-10-04 Thread padysr...@gmail.com
GWT 1.7...using Dark theme... Have a grid with rows and data set with setText calls. By default each row has a style like .rowStyle { background-color: white; color: black; } .selectRowStyle { background-color: blue; color: white; } When a row is selected, the selectRowStyle is

Re: Email support client side security

2009-10-04 Thread Dan Moore
Hi Michael, There is a project for client side cryptography (I help maintain it) that is a TripleDES implementation. It's here: http://code.google.com/p/gwt-crypto/ As far as your other questions, I imagine you could write an smtp server in GWT, but what would the point be? GWT runs as

Re: css and grid row text color...

2009-10-04 Thread golfdude
Looking at the inner html, the tr ( row ) gets the background color but no style is applied to the td ( cell ). Used the cellformatter to solve it. Thanks pady --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

python gwt

2009-10-04 Thread alf
Why google team choose java to compile into javascript when create GWT I think best had been python compile into javascript this away server and client will be same and in my case python is better than java. thanks --~--~-~--~~~---~--~~ You received this message

Lifecycle of a widget

2009-10-04 Thread Saurabh
Hi, I am trying to understand the lifecycle of widgets and how they attach / detach from DOM. I have found some posts on the gwt blog but I have not found any detailed info explaining this to a newbie. The question that I am trying to find answer to is - How can you load/ unload widgets on

Open HTML link in new window on onClick(ClickEvent event)

2009-10-04 Thread DrakeJ
What do I fill up here under the ClickEvent to open a new tab in firefox with say http://www.google.com? onClick(ClickEvent event) { }}); Thankyou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: setVisible vs. add/remove

2009-10-04 Thread Sripathi Krishnan
setVisible should be faster than add/remove, but I don't think that is the entire story. Invoking setVisible() means you have the Widget constructed and attached to the DOM. If you have only a few components in your application and can afford (memory wise) to create all widgets, then setVisible

Re: loading widgets deferred binding

2009-10-04 Thread Sripathi Krishnan
It is possible in GWT 2.0, which hasn't been released as yet (but you can still get it working by building from trunk). The feature is called 'Developer Guided Code Splitting'. The developer has to demarcate code by invoking the GWT.runAsync() method, and then provide a callback interface which

[gwt-contrib] Re: DockLayoutPanel and Maps

2009-10-04 Thread jd
I found an issue using DockLayoutPanel with YUI grids. Just double posting here as Joel is listening... http://groups.google.com/group/google-web-toolkit/browse_thread/thread/56eae8aff7502287 On Sep 29, 8:52 pm, Joel Webber j...@google.com wrote: That makes sense. RequiresResize was created

[gwt-contrib] Can't build trunk

2009-10-04 Thread tfga
Hi, I'm trying to build trunk on Windows. I followed the instructions from http://code.google.com/webtoolkit/makinggwtbetter.html#compiling The 1st error I got was: gwt\common.ant.xml:276: Unable to launch command: svn info So I installed the Cygwin port of svn and added it's path to

[gwt-contrib] Re: Can't build trunk

2009-10-04 Thread Eric Ayers
You need to run your build under the windows command shell. That probably means you need to get the native windows svn executable too. On Sun, Oct 4, 2009 at 1:23 AM, tfga thiago...@gmail.com wrote: Hi, I'm trying to build trunk on Windows. I followed the instructions from

[gwt-contrib] Re: Can't build trunk

2009-10-04 Thread tfga
Thank you for you reply, Eric. I was launching ant from within Eclipse. I ran it under cygwin and got a different error (below). I'll try to run it under cmd.exe, as you suggested. gwtc: [java] Compiling module com.google.gwt.sample.mail.Mail [java]Scanning for additional

[gwt-contrib] Re: Can't build trunk

2009-10-04 Thread John LaBanca
You might also need to do an 'ant clean' after recent updates. Thanks, John LaBanca jlaba...@google.com On Sun, Oct 4, 2009 at 1:27 PM, tfga thiago...@gmail.com wrote: Thank you for you reply, Eric. I was launching ant from within Eclipse. I ran it under cygwin and got a different error

[gwt-contrib] Re: Can't build trunk

2009-10-04 Thread tfga
Sorry. I still get the same thing :( On Oct 4, 5:57 pm, John LaBanca jlaba...@google.com wrote: You might also need to do an 'ant clean' after recent updates. Thanks, John LaBanca jlaba...@google.com On Sun, Oct 4, 2009 at 1:27 PM, tfga thiago...@gmail.com wrote: Thank you for you

[gwt-contrib] Re: Can't build trunk

2009-10-04 Thread Eric Ayers
Ok, I didn't mean to mislead you, as it turns out, I was able to get the trunk build to complete successfully under cygwin on Vista svn up svn st (no files appeared modified, if they do, try svn -R revert ./) ant clean ant On Sun, Oct 4, 2009 at 8:38 PM, tfga thiago...@gmail.com wrote:

[gwt-contrib] Re: Can't build trunk

2009-10-04 Thread Freeland Abbott
Going back to some of your original questions: 1. The default behavior is to build cross-platform. If you only care about the platform you're on, there's a *-one family of targets, and to leave things like samples and tools behind, a *-dev family. Try ant dist-dev to make a

[gwt-contrib] Comment on UsingOOPHM in google-web-toolkit

2009-10-04 Thread codesite-noreply
Comment by brockm: I have build a 64-bit version of the OOPHM plugin for Safari on Snow Leopard that seems to work good, if anyone is interested. You can get it [http://anonsvn.jboss.org/repos/jbossworkspace/gwt-versions/gwt-2.0-plugins/oophm-mac-safari64.dmg here]. For more

[gwt-contrib] Comment on UsingOOPHM in google-web-toolkit

2009-10-04 Thread codesite-noreply
Comment by brockm: I have successfully built the Safari plug-in for 64-bit Safari on Snow Leopard if anybody is interested: http://anonsvn.jboss.org/repos/jbossworkspace/gwt-versions/gwt-2.0-plugins/oophm-mac-safari64.dmg For more information:

[gwt-contrib] Comment on UsingOOPHM in google-web-toolkit

2009-10-04 Thread codesite-noreply
Comment by tamplinjohn: What changes did you have to make for Snow Leopard? Can you mail a patch to j...@google.com? For more information: http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM --~--~-~--~~~---~--~~