Re: How I add my own class to .gwt-TabPanelBottom?

2009-02-20 Thread alex.d
Well, i had the same problem and i edited the .gwt-TabPanelBottom itself just to test, but nothing really happened. Any ideas on how to erase the border of the TabPanel? On 19 Feb., 22:13, ProtoLD protosh...@gmail.com wrote: Forgot to mention, I'd' like to do something like this:

Re: How I add my own class to .gwt-TabPanelBottom?

2009-02-20 Thread alex.d
...but this was probably just a cache issue. On 20 Feb., 09:22, alex.d alex.dukhov...@googlemail.com wrote: Well, i had the same problem and i edited the .gwt-TabPanelBottom itself just to test, but nothing really happened. Any ideas on how to erase the border of the TabPanel? On 19 Feb.,

Re: Can't configure properly Charts4j charts under GWT

2009-02-20 Thread micha
Hi Miguel, at first the important thing: unfortunately the charts4j library cannot be used on the client side of a GWT app. It uses some JRE types that are not supported by the GWT compiler. Now just a short explaination how I made the module run in the first place. You need to create a proper

Re: How I add my own class to .gwt-TabPanelBottom?

2009-02-20 Thread alex.d
... and going back to your question: just put .gwt-TabPanelBottom { border: 0px; } in your own css file - you'll overwrite qwt style and that should do the trick ;-) On 20 Feb., 09:31, alex.d alex.dukhov...@googlemail.com wrote: ...but this was probably just a cache issue. On 20 Feb.,

Selenium and GWT TreeItem selection

2009-02-20 Thread sitaro
Hello!! I need to run a test with Selenium in wich a certain TreeItem is selected and I never get it working. I put the correct locator, but when it arrives to: selenium.click(myLocator); it doesn't seem to happen anything, the TreeItem is not selected. How should I do it? Thank you very much!!

Re: Manage development and production environment

2009-02-20 Thread cyril.lakech
If I create a new module XML file to set user agent and locale, then hosted mode doesn't work myDevModule.xml : module rename-to=myRealModule inherits name=myRealModule / set-property name=user.agent value=ie6 / set-property name=locale value=default / /module I

Observer and Gwt

2009-02-20 Thread frankCostello
Hi, I make a chat with gwt but I have a problem. I implements a Observer pattern of java.util for comunicate with the user, but when I deploy my app , give me an error! The class tha that implements Observer is: client-side. public class ChatGui extends Panel implements Observer{ .

Re: Gwt-ext Designer Netbeans

2009-02-20 Thread heru
thank you for your reply --~--~-~--~~~---~--~~ 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

Re: Adding or Removing a row dynamically in PagingScrollTable

2009-02-20 Thread debu
Thanks a lot for ur help..I figured out how to do it..For the benefit of others i'll post a code snippet..Plz check if it works.. /** * Removes row with row number passed as parameter. * * @param row */ public void removeRow(int row) { getCachedTableModel().removeRow(row);

GWT Maven Jetty Restlet

2009-02-20 Thread eoc...@googlemail.com
Hi, My main problem is that I would like to call a restlet resource from my serverside project (running under maven and jetty on port 8282) using gwt-rest in the client side project. I am currently using the Cypal plugin for eclipse which runs Tomcat hosted mode on http://localhost:. It is

GWT Style and Comments

2009-02-20 Thread Miroslav Genov
Hello, I have question regarding the code style that is used by the GWT team. I know it's not GWT specific question but it is connected. In the http://code.google.com/webtoolkit/makinggwtbetter.html there is a guide for formatting and structuring the code and here is small quote from it:

JRE emulation and Class.cast() or Class.isAssignable()

2009-02-20 Thread Stefan Hübner
Hi, the current GWT release doesn't support various methods of java.lang.Class. In particular I'm looking for a way to get the functionality of the cast()- and isAssignableFrom()-methods. Is there a way to implement their behaviour in a GWT-compatible way? Thankfull for any hint! -Stefan

gwt properties file

2009-02-20 Thread jake H
Hello, I m working with gwt-properties files and i m wondering 1)if instead .properties file extension i can use another one. 2)I have some simple data , like name etc witch are saved in this file. But in order to work fine every time i change their values, i have to recompile. Is there any way

GlassPanel problem in Hosted mode and IE.

2009-02-20 Thread ramesh chiluveri
Hai All, I developed an application using GlassPanel.I want to show a Login Dialogbox on top of the Glass Panel. I used gwt-incubator1.5 jar file to use gray background effect. It is working in fine in mozilla firefox and chroome but not in IE and Hosted mode. If i have opened two IE

Re: Mobile Phones

2009-02-20 Thread Arthur Kalmenson
If it's a modified version of FF then it should work (unless the JS engine was taken out, which I doubt). However, your best bet is to make a super simple GWT app and try it on the browser. One thing that you need to keep in mind for the mobile world is the limited amount of memory and CPU. This

Re: Announcing GWT 1.6 Milestone 1

2009-02-20 Thread Arthur Kalmenson
1) Backwards compatibility. If we updated JUnitShell to use HostedMode, it seems like old test cases would probably break. The idea of a JUnitHostedMode is a good one... but how would we be able to tell which one the user meant, since the JUnit framework is in control? So does this mean

Re: HTML file gets overwritten

2009-02-20 Thread Arthur Kalmenson
When is it overwriting your HTML file? You should be able to just call the no-cache.js script that GWT creates and include it in any page. -- Arthur Kalmenson On Thu, Feb 19, 2009 at 2:45 PM, abrocketsfan ahmed.m.bas...@gmail.com wrote: Hey all, I started off with a sample GWT project in

Re: Using GWT on an existing Java application

2009-02-20 Thread Arthur Kalmenson
The benefit of GWT being Java based is that you can reuse a lot of your existing swing application classes that are not UI specific. So if you're using the MVC pattern, you should just need to swap out the V that's swing based with a View that's GWT based. An automatic conversion program from

Re: Observer and Gwt

2009-02-20 Thread Arthur Kalmenson
You can't communicate from the client side to the server side using direct Java calls (or observer/observable pattern). You have to communicate with the server using GWT-RPC, JSONP or regular a RequestBuilder. -- Arthur Kalmenson On Fri, Feb 20, 2009 at 5:37 AM, frankCostello

Re: GWT Style and Comments

2009-02-20 Thread Arthur Kalmenson
This might be better placed on the GWT Contributors group -- Arthur Kalmenson On Fri, Feb 20, 2009 at 7:10 AM, Miroslav Genov mgenov.j...@gmail.com wrote: Hello, I have question regarding the code style that is used by the GWT team. I know it's not GWT specific question but it is

Re: Compiling project

2009-02-20 Thread fatjack1...@googlemail.com
Excuse my ignorance but firstly how do I check the logs, and secondly how do I deploy the database driver JAR? On Feb 19, 1:59 pm, Isaac Truett itru...@gmail.com wrote: Look in your server logs. If I had to guess (which is all I can do with the information you've provided) it would be that you

Re: Compiling project

2009-02-20 Thread keith.m...@gmail.com
I've run into this. You need to copy your database driver into the tomcat/webapps/appname/WEB-INF/lib directory Assuming you put the lib directory under WEB-INF, which is how I got mine to work. I think you can do that or have the lib and classes directory up a level (alongside WEB-INF), at

Re: GWT + FlowPanel + CSS = Tableless

2009-02-20 Thread CJ Wilks
Geraldo, that Eric Meyer post is fantastic, most importantly because he wrote it, and so perhaps people will listen and do something about it. Certain GWT uses of tables are clearly an abomination (e.g. DecoratorPanel, DialogBox). There is no need to introduce a table and 9 cells, when other

Re: Observer and Gwt

2009-02-20 Thread frankCostello
I communicate with the server through RPC, but I wanted to know how to implement the Observer pattern in GWT. I wanted to know how the server invokes the method update() on the client! I'm doing a chat through Observer I know all the events! Server-side public class service implements extends

Re: Using GWT on an existing Java application

2009-02-20 Thread Robert Uomini
Thanks, Arthur. On Fri, Feb 20, 2009 at 5:48 AM, Arthur Kalmenson arthur.k...@gmail.comwrote: The benefit of GWT being Java based is that you can reuse a lot of your existing swing application classes that are not UI specific. So if you're using the MVC pattern, you should just need to swap

Re: How I add my own class to .gwt-TabPanelBottom?

2009-02-20 Thread ProtoLD
The problem is, I will have tabpanels within tabpanels I need to set individual styles on each of them. Some of them I need the padding removed, others I need it. Hence I need to find out how to add a style to the tabPanelBottom so I can manipulate each one individually. I've even extended the

Re: Compiling project

2009-02-20 Thread Isaac Truett
The logs are probably in the logs directory and the driver would go in the lib directory, but the exact names are subject to change with different application servers and configurations. I am beginning to suspect that you don't actually have an application server running. Log files are the sort

is smartgwt compatible to gwt ext?

2009-02-20 Thread ytbryan
hi all, i have a few questions and hope someone can answer them: 1) I am having problem when i put gwt ext panel into smartgwt's SectionStackSection. are they compatible? 2) what is the replacement of panel class in smartgwt? i can't find a panel in smartgwt 3) is the smartgwt's mac version

Re: How I add my own class to .gwt-TabPanelBottom?

2009-02-20 Thread alex.d
I see. Well, i don't have a complete solution for your, but: what you have to do is to find the TabPanel-Element(the one with borders) and set it's style. To find the right element - check TabPanel structure in FireBug(or similar) - you'll probably find some tables in tables... Then use function

Re: Announcing GWT 1.6 Milestone 1

2009-02-20 Thread Scott Blum
On Fri, Feb 20, 2009 at 8:29 AM, Arthur Kalmenson arthur.k...@gmail.comwrote: 1) Backwards compatibility. If we updated JUnitShell to use HostedMode, it seems like old test cases would probably break. The idea of a JUnitHostedMode is a good one... but how would we be able to tell which

Re: Mobile Phones

2009-02-20 Thread fatjack1...@googlemail.com
Ok cheers for the information. What is the lazy loading strategy and how do you use the garbage collector to clear widgets? Regards, JAck On Feb 20, 1:19 pm, Arthur Kalmenson arthur.k...@gmail.com wrote: If it's a modified version of FF then it should work (unless the JS engine was taken out,

basics needed to work with GWT?

2009-02-20 Thread kumar
Hi, I would like to start working with GWT. can some one please let me know what are the basic things i need to know before I start using GWT for development? Regards, Kumar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

IE7 and history tokens with UTF-8 characters that are percent encoded

2009-02-20 Thread Andreas
I'm having a problem with IE7 and history tokens that contain UTF-8 characters that are percent encoded. It seems that history tokens aren't decoded if the address is loaded from a bookmark or if the browser reload button is pressed. For example, History.newItem(ä) is displayed in the browser

Re: 1-2 minute build time in netbeans with nb4gwt

2009-02-20 Thread david.dominguez.marti...@gmail.com
Add to your xml's project file one of these lines: set-property name=user.agent value=gecko1_8 / (compile code just for firefox) set-property name=user.agent value=ie6 / (compile code just for explorer) In this way, GWT only generates one version for your browser instead generate all versions

Re: Selenium and GWT TreeItem selection

2009-02-20 Thread Korny Sietsma
The trouble is, as I understand it (note gwt is very new to me as well!) selenium.click() effectively fires the Javascript onClick() handler - but GWT looks for stuff like mouseDown and the like, not onClick(). I'm using code like: (note this is using the ruby selenium-rc driver - names will be

same-origin security restriction on MAC

2009-02-20 Thread David
Hello Is it somehow possible to disable the same-origin security restriction in the GWT shell on mac? Some description to bypass this problem are already posted, but non of them is really satisfying. They are either for Linux or they use some proxy that I cannot use. The server side of my

hi i need help

2009-02-20 Thread andres ospina
how to pass jsp values to gwt Google-Web-Toolkit@googlegroups.com --~--~-~--~~~---~--~~ 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

Re: hi i need help

2009-02-20 Thread Lothar Kimmeringer
andres ospina schrieb: how to pass jsp values to gwt I'm not sure if I understand you right, so please ask your question again, explaining where you are calling a JSP- page and where GWT comes into play. Regards, Lothar --~--~-~--~~~---~--~~ You received

hi

2009-02-20 Thread andres
how to pass jsp values to 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

Re: hi i need help

2009-02-20 Thread andres ospina
I need to pass variables from JSP to GWT 2009/2/20 Lothar Kimmeringer j...@kimmeringer.de andres ospina schrieb: how to pass jsp values to gwt I'm not sure if I understand you right, so please ask your question again, explaining where you are calling a JSP- page and where GWT comes

Re: hi i need help

2009-02-20 Thread andres ospina
I need to pass values from JSP to GWT 2009/2/20 andres ospina felipeospin...@gmail.com I need to pass variables from JSP to GWT 2009/2/20 Lothar Kimmeringer j...@kimmeringer.de andres ospina schrieb: how to pass jsp values to gwt I'm not sure if I understand you right, so please ask

Re: hi i need help

2009-02-20 Thread andres ospina
I need to pass values from JSP to GWT, for url 2009/2/20 andres ospina felipeospin...@gmail.com I need to pass values from JSP to GWT 2009/2/20 andres ospina felipeospin...@gmail.com I need to pass variables from JSP to GWT 2009/2/20 Lothar Kimmeringer j...@kimmeringer.de andres ospina

Re: Question about JavaScript and socket connections

2009-02-20 Thread Ian Petersen
On Fri, Feb 20, 2009 at 7:59 AM, FractalBob ruom...@gmail.com wrote: I understand that an app can't create socket connections, so what puzzles me is that mail clients, such as Thunderbird, which are written using JavaScript, are able to run at all. Any comments? You're confusing apps written

Re: hi i need help

2009-02-20 Thread Todd Seiber
Look into the Dictionary class (http://google-web- toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/ Dictionary.html) Your JSP page could have: var myDictionary = { myValue: %= myValue % }; And GWT could read with: Dictionary myDictionary =

Re: is invalid or violates the same origin policy A problem with POST request to the Yahoo API.

2009-02-20 Thread scottland.yo...@googlemail.com
I'll have a search on how to do that, is it simple enough to do? I tried downgrading to 1.5.2 but it didn't change anything. On Feb 20, 9:08 pm, davidroe roe.da...@gmail.com wrote: perform the request by dynamically adding a script tag? On Feb 20, 12:36 pm, scott young

Re: hi i need help

2009-02-20 Thread andres ospina
I can Regel example of a couple I could not understand much yet 2009/2/20 Todd Seiber todd.sei...@gmail.com Look into the Dictionary class (http://google-web- toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/

Re: HTML file gets overwritten

2009-02-20 Thread abrocketsfan
The HTML file is overwritten when the compile script is run; basically after any change to a GWT module, you may want to debug the project within the Eclipse IDE. When you run, the default HTML file for the project will start in hosted mode. Even though I can add the script into a different

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-20 Thread BobM
Whoa! Wait a minute. You've sent me back to the books ... back to the Developer's Guide and other GWT documentation. to re-confirm my understanding. I am simply trying to run this application in hosted mode. My understanding is that I don't have to compile anything or set any adjustments to

Changing color of text on fly.

2009-02-20 Thread Mani
Hi, I have a list box which will populate values from database. Based on certain conditions, I need to display each value in appropriate color. How to change color of text? Here is piece of code that I have. userNameBox = new ListBox(false); userNameBox.ensureDebugId(cwListBox-multiBox);

FlexTable issues

2009-02-20 Thread NewToGWT
Hello, I have a FlexTable, the first column of each row in the FlexTable is a TextBox. I am calling a service to update the other elements (columns) of the FlexTable row based on what the user keyed into the text box in that row. The question I have is: How do I determine which row in the

Re: is invalid or violates the same origin policy A problem with POST request to the Yahoo API.

2009-02-20 Thread davidroe
it is a technique that Yahoo were one of the first to use and promote. essentially, the return value of the script is a function callback that wraps the data. as long as you have the function defined on your side, everything is straight forward.

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-20 Thread gregor
What is the classpath arguement in your hosted mode command line or script? Whatever it is, it doesn't look like it's got org.bcs.server.SelectionSearchServiceImp covered in it. On Feb 20, 10:41 pm, BobM bmar...@bcscomputers.com wrote: Whoa!  Wait a minute.  You've sent me back to the books ...

Re: Cannot find resource 'app.html' in the public path of module 'org.bcs.app'

2009-02-20 Thread Allahbaksh Asadullah
HI Bob, I have not used ant file to build. But what I thin looking at your problem is that if your source has public folder in it then you need put src directory as folder in classpath irrespective of whether you have added bin or not. So I think in ant file also you need to include the src

Re: is invalid or violates the same origin policy A problem with POST request to the Yahoo API.

2009-02-20 Thread scott young
Ok thanks dave, I'll give it a shot. On Fri, Feb 20, 2009 at 10:49 PM, davidroe roe.da...@gmail.com wrote: it is a technique that Yahoo were one of the first to use and promote. essentially, the return value of the script is a function callback that wraps the data. as long as you have the

Get subtree parent index?

2009-02-20 Thread nebs
Hello, I'm having trouble identifying tree elements. Let me explain with an example. Let's say I have a Tree object which contains a few TreeItem objects. Each TreeItem object in turn contains a few TreeItems and a button. These buttons are generated via loops and so do not have an object name

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-20 Thread Isaac Truett
No, there's no getting around compiling your server-side Java. Now, a lot of examples are written with the assumption that you're using Eclipse or some other IDE. And since anything that can properly be termed an IDE will be doing the compilation for you, automatically, and usually in the

not able to download GWT

2009-02-20 Thread sanskri
hello when I tried downloading GWT 1.6 or 1.5 for that matter I'm getting only 3 to 4mb part of zip so the downloaded zip file is corrupted. Could anyone help if you have observed same problem? Thanks Regards, Sanskriti --~--~-~--~~~---~--~~ You received this

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-20 Thread BobM
Thank you, Gentlemen, both! Let deal with these responses one at a time: Gregor: I am running an ant script based on the AppName-shell which was created by applicationCreator. Here is the relevant section of the ant build.xml: !-- === CSRapp: Run this application in GWT shell

Re: any generic hook for all ajax requests complete for Selenium testing?

2009-02-20 Thread Korny Sietsma
bump - anyone? I've dug through the online docs, but my gwt-fu is limited at this stage. I'd like to get selenium tests up and running as soon as we start writing code... I can always go digging through the javascript, but strangely, the idea doesn't thrill me :) - Korny On Fri, Feb 20, 2009

[gwt-contrib] Re: Error embedded 1.6 Compiler

2009-02-20 Thread nicolas de loof
I may be wrong, but doesn't the ProcessBuilder use the OS interpreter to parse the forked process command line arguments ? (This may be JRE dependenant) In such case, it may fail on windows with long classpath String as we can have on JEE web applications and maven projects For my personnal

[gwt-contrib] Re: RR : Declassifying RPC / Removing all type names from compilation

2009-02-20 Thread Eric Ayers
I know this is a bit late, but is it true that we will now need to be more aggressive about deploying servlet classes? Is the obfuscated name mapping stable if new type names are added? On Wed, Feb 18, 2009 at 8:15 PM, BobV b...@google.com wrote: Thanks for the review. SerializerBase

[gwt-contrib] Re: Error embedded 1.6 Compiler

2009-02-20 Thread Scott Blum
On Fri, Feb 20, 2009 at 3:09 AM, nicolas de loof nicolas.del...@gmail.comwrote: I may be wrong, but doesn't the ProcessBuilder use the OS interpreter to parse the forked process command line arguments ? (This may be JRE dependenant) Not sure, but it's worth pointing out that

[gwt-contrib] Respecting onBeforeSelect.cancel

2009-02-20 Thread nwolf
Reviewers: ecc, Description: When beforeSelect is fired check that if cancel is called the tree item doesn't get selected. Please review this at http://gwt-code-reviews.appspot.com/5801 Affected files: src-demo/com/google/gwt/gen2/demo/fasttree/client/FastTreeDemo.java

[gwt-contrib] Respecting onBeforeSelect.cancel

2009-02-20 Thread nwolf
Reviewers: ecc, Description: When beforeSelect is fired check that if cancel is called the tree item doesn't get selected. Please review this at http://gwt-code-reviews.appspot.com/6801 Affected files: src-demo/com/google/gwt/gen2/demo/fasttree/client/FastTreeDemo.java