change default style

2008-12-11 Thread ArunDhaJ
Hi all, How can we change the default style of a widgets? I want to create two tree with different styles. .gwt-Tree { } .gwt-Tree .gwt-TreeItem { } .gwt-Tree .gwt-TreeItem-selected { } I want to change the above default style to my own style as follows: .gwt-SmallTree { } .gwt-SmallTree .gwt-S

Re: change default style

2008-12-11 Thread Litty Preeth
Its done as: .gwt-SmallTree { } .gwt-SmallTree .gwt-TreeItem { } .gwt-SmallTree .gwt-TreeItem-selected { } .gwt-BigTree { } .gwt-BigTree .gwt-TreeItem { } .gwt-BigTree .gwt-TreeItem-selected { } - Litty Preeth On Thu, Dec 11, 2008 at 3:53 PM, ArunDhaJ <[EMAIL PROTECTED]> wrote: > > Hi all, > H

Re: How to have a layered panel?

2008-12-11 Thread Litty Preeth
Hey Make sure that the contents of the popup is put into a ScrollPanel. Coz if you disable the window scrolling and the popup size goes beyond the screen size then the overflowing popup area will get hidden. - Litty On Thu, Dec 11, 2008 at 2:13 AM, rakesh wagh <[EMAIL PROTECTED]> wrote: > > Yup

Re: Dynamically load GWT-Ext js

2008-12-11 Thread Sanj
Hi All, If i load all js files at the loading times then application performance makes a huge issue for me because these files takes 15-20 sec for loading. I am thinking, To create my home page in completely as a GWT widget and after loading that home page loading all javascript files through J

Re: What gwt method and/or event indicates that the object has been rendered?

2008-12-11 Thread Thomas Broyer
On 11 déc, 07:10, Adam T <[EMAIL PROTECTED]> wrote: > Try overloading the onAttach() method of the widget/panel in question > which are called as the widget is attached to the DOM, it might be > wise to wrap your code that calls the getOffsetWidth() method up in a > DeferredCommand. Widget.onLo

Re: how to use gwt in legacy system ?

2008-12-11 Thread sutarsa giri
Hi i have same experience in my project. previous project was build on the top of struts2, spring and hibernate. in my opinion, the thing that can be reuse just the data access layer. for UI part, i need to build them from scratch. rgds, gede On Wed, Dec 10, 2008 at 4:08 PM, leon <[EMAIL PROTECTE

GWT Beans Binding (JSR 295) v0.2

2008-12-11 Thread georgopoulos.georg...@gmail.com
Hi, I released v0.2 of GWT Beans Binding (JSR 295) port: Change log for v0.2 - ListBoxAdapterProvider added (not working) - BeanPropertyDescriptorGenerator updated to support PropertyDescriptor.getPropertyType() - HasPropertyChangeSupport interface added. Th

onHistoryChange(String token) is not working.

2008-12-11 Thread Rinku
Hi, I am using FileUpload Widget to upload a file. When I am upolading more than one files with FileUploadWidget and after uploading the files I am using History.back on a click of a button then onHistoryChange() method is not invoking. When I am uploading a single file then onHistoryChange()

Google Visualization and Maps libraries for GWT Released

2008-12-11 Thread Eric Ayers
We have recently announced the availability of a new Google Web Toolkit (GWT) library wrapping the Visualization API and the final release of the Maps API bindings. The Maps API library is upgraded to version 1.0.2 and includes several bugfixes since the previous release. The new Visualization A

Re: change default style

2008-12-11 Thread ArunDhaJ
Thanks Litty.. :-) --~--~-~--~~~---~--~~ 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 [EM

Widget similar to ListBox

2008-12-11 Thread ArunDhaJ
Hi all, Is there any widget similar to ListBox, in which styles could be defined to each item ??? I'm using GWT-1.4.62. I tried creating my own widget by adding labels with styles and added click listeners... I got struck up when I wanted to highlight the selected label, and need to get the select

Re: GWT Beans Binding (JSR 295) v0.2

2008-12-11 Thread flash
George, Please excuse my ignorance on this one. Will this API allow me to keep DTOs and JPAs in sync? From the description of the project it looks like it can do that. Just wanted to hear your thoughts on this. If the API does allow this style of synchronization between objects, do they have to b

Re: GWT Beans Binding (JSR 295) v0.2

2008-12-11 Thread flash
Correction: In the second sentence I meant to say "JPA Entities" instead of "JPAs". On Dec 11, 9:55 am, flash <[EMAIL PROTECTED]> wrote: > George, > > Please excuse my ignorance on this one. Will this API allow me to keep > DTOs and JPAs in sync? From the description of the project it looks >

Re: TextBox listener for contents changed?

2008-12-11 Thread Jason Essington
That's correct, onChange fires after the text box looses focus, but you can listen to onkeypress. onKeypress is fired before the text box is updated allowing you to cancel the keypress if desired. The trick is to use DeferredCommand.addCommand() to handle the text. public void onKeyPress(Wi

Re: What gwt method and/or event indicates that the object has been rendered?

2008-12-11 Thread Jason Essington
Thomas is correct here. onAttach() performs some very important functions related to widget behavior, so if you are not careful (to call super.onAttach()) then you would end up with broken widgets if you override that method. It is useful to override onAttach() if you need to perform some

Re: GWT Beans Binding (JSR 295) v0.2

2008-12-11 Thread georgopoulos.georg...@gmail.com
The project does only the bean binding client side (widgets with lists of DTO) it does not talk to the server, but I am planing to extend it in GWT Mosaic with a data source API for syncing data between client & server. More about beans binding you can find in https://beansbinding.dev.java.net/ a

Linked source folder in Eclipse project and GWT

2008-12-11 Thread bbones
Is it possible to use shared source folder linked Eclipse standard way with GWT tools? There is no problem in design time, compiler see all files in classpath. But in Host mode I've got an error [ERROR] Line 28: No source code is available for type plantspring.gwt.intf.MainMenuService; did you f

My GWT Ant task wont find my remote service

2008-12-11 Thread José
Hello all, I'm trying to set up an Ant task to run my GWT applications. The layout of my toy-app looks like this : src/org/om/ client/ model/ClientUser.java [the class of the bean sent by my remote service] service/user/RpcUserService.java [interface of the service] s

Will be GWT development stopped ?

2008-12-11 Thread jan.kub...@gmail.com
I've heard that GWT development should be now or in following days stopped or blocked. Is That true or not ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send em

How to import Objects from another Eclipseprojects???

2008-12-11 Thread aemik
Hello, Ich have a problem: I have a GWT Project in Eclipse and i want to use RPC. Its no problem to use it with Strings or Objects in the gwt client package. (Like the Stockwatcher Tutorial). But now i want to use an Object from another Eclipseproject with a different packagestructure. This Obj

JSESSIONID cookie in hosted mode

2008-12-11 Thread markus.ecker
Hi! When I run GWT in hosted mode, no JSESSIONID cookie is sent to the browser. Do I have to tune the configuration files to enable the session cookie ? Thanks, Markus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

GWT Spring Integration

2008-12-11 Thread Sriram Iyengar
Hi, We have been trying to get GWT and Spring to work, but unfortunately no luck as yet. Our application makes a simple call to the service side of GWT (on Spring MVC) and tries to render the response as a table (a list of items). If someone can post a working copy of a 'hello world' kind;a app,

Unsaved Changes Pop Up

2008-12-11 Thread Cuetumayu
Hello, I have developed a small module on GWT that is embedded in a previously existing Struts based Web application. I would be interested in knowing if there is a way to disable the pop up that is displayed every time I leave the GWT module which says: "Are you sure you want to navigate away f

Gwt-ext

2008-12-11 Thread heartbreakkid_ra...@yahoo.com
When we run GWT application every time it loads all the widgets to be displayed and displays it..Is there any way by which we can save the widgets to be displayed, so that it doesn't have to load it everytime it is run? Please let me know anything about this...Thank you --~--~-~--~~--

Geocode Directions?

2008-12-11 Thread Darren
I'm wish to return the distance and expected travel time from point A to point B. I don't particularly want to view the polyline - I'm just really after the distance and expected travel time. I do a lot of geocoding and would love to add this information to what I'm doing - is it possible? --~--

How to size VerticalSplitPanel contents?

2008-12-11 Thread dhoffer
I have a VerticalSplitPanel that contains a Tree in the top panel and TextArea in the bottom panel. How can I make the top & bottom panels fill all available space? Currently the tree is only as large as its contents and the TextArea is some small fixed size. How can I make both fill all availa

Re: TextBox listener for contents changed?

2008-12-11 Thread David Hoffer
Is this better than using onKeyUp() ? What are the pros/cons? -Dave On Thu, Dec 11, 2008 at 8:31 AM, Jason Essington <[EMAIL PROTECTED]> wrote: > > That's correct, onChange fires after the text box looses focus, but > you can listen to onkeypress. onKeypress is fired before the text box > is up

Re: GWT Spring Integration

2008-12-11 Thread davidroe
perhaps one of these articles will help: http://delicious.com/davidroe/spring /dave On Dec 10, 8:43 pm, Sriram Iyengar <[EMAIL PROTECTED]> wrote: > Hi, We have been trying to get GWT and Spring to work, but > unfortunately no luck as yet. > > Our application makes a simple call to the service s

Re: How to import Objects from another Eclipseprojects???

2008-12-11 Thread Isaac Truett
Aemik, This topic comes up fairly often. You can find many of those previous discussions by searching for the "no source code" message on the forum. Here's one such thread: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8777393d88e0a096 Hope that helps, Isaac On Thu, De

Re: GWT Spring Integration

2008-12-11 Thread olivier nouguier
Hi, http://gwt-widget.sourceforge.net/ http://code.google.com/p/net-orcades-spring/ On Thu, Dec 11, 2008 at 5:43 AM, Sriram Iyengar <[EMAIL PROTECTED]> wrote: > > Hi, We have been trying to get GWT and Spring to work, but > unfortunately no luck as yet. > > Our application makes a simple call to

dialogBox.hide() is not working

2008-12-11 Thread prat
public void onMouseEnter(Widget sender) { dialogBox.center(); dialogBox.show(); } public void onMouseLeave(Widget sender) { dialogBox.hide();

How to get GWT shell/tomcat to access perl cgi

2008-12-11 Thread sssmack
I imagine the cgi should be put into the www area/directory but I don't know how to set this up. Please give me a link that will help me or try and describe how to do this. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: gwt-docs-20081026.zip (Google Web Toolkit Documentation)

2008-12-11 Thread Melissa Sinclair Stevens
Thanks! On Oct 26, 3:44 pm, "Davide Rognoni" wrote: > Hi All, > I built an archive of the "Google Web Toolkit" documentation to keep > on your computer and read while not connected to the Internet. > > See the attached file. > >  gwt-docs-20081026.zip > 3246KViewDownload --~--~-~--~

Re: GTileLayerOverlay show and hide

2008-12-11 Thread ben
That does sound like my problem, but remove and add don't seem to work either for me. I'm using mapitz library currently, and will make a switch to the gwt-google-apis in the near future. Maybe the problem is related to the mapitz library as well? On Dec 10, 8:43 pm, Eric Ayers wrote: > Are yo

Re: GWT Enhancements & RoadMap

2008-12-11 Thread Jeremiah Elliott
http://googlewebtoolkit.blogspot.com/ this answers some of your questions. On Wed, Dec 10, 2008 at 8:21 PM, GWTFan wrote: > > In the Google IO conference this year we brought up the discussion on > using toolkits like GXT (for its richness and for widgets like > datepicker, closable tabs, etc).

Re: GTileLayerOverlay show and hide

2008-12-11 Thread Eric Ayers
What the maps team always asks of me is to try to reproduce the problem in a small bit of straight JavaScript and if you can reproduce it, then they will look at the problem. You might be able to determine if that has a chance of solving it before moving all your code over. Also, do you know whi

Re: GTileLayerOverlay show and hide

2008-12-11 Thread ben
I was just trying to figure out how I determine the maps version. On Dec 11, 2:32 pm, Eric Ayers wrote: > What the maps team always asks of me is to try to reproduce the > problem in a small bit of straight JavaScript and if you can reproduce > it, then they will look at the problem. You might

Re: GTileLayerOverlay show and hide

2008-12-11 Thread ben
as a side note, is the transition for gwt-api's version and mapitz a large change? On Dec 11, 2:34 pm, ben wrote: > I was just trying to figure out how I determine the maps version. > > On Dec 11, 2:32 pm, Eric Ayers wrote: > > > What the maps team always asks of me is to try to reproduce the >

Re: Native GWT Compiler

2008-12-11 Thread Sumit Chandel
Hi Alex, Dobes, There is a flag that you need to pass in to have the compiler run in multi-threaded mode. The flag is: -localWorkers N, where N is some number greater than 1, depending on how many threads you want to use to compile your GWT application. Sorry for not mentioning this earlier. Ho

Re: GTileLayerOverlay show and hide

2008-12-11 Thread Eric Ayers
/** * Return the Maps API Version currently loaded. * * @return the Maps API Version currently loaded. */ public static native String getVersion() /*-{ return $wnd.G_API_VERSION; }-*/; On Thu, Dec 11, 2008 at 2:34 PM, ben wrote: > > I was just trying to figure out how I deter

Re: Native GWT Compiler

2008-12-11 Thread Alex Epshteyn
Thanks, Sumit. Can this arg also be used for GWTShell? On Thu, Dec 11, 2008 at 2:46 PM, Sumit Chandel wrote: > Hi Alex, Dobes, > > There is a flag that you need to pass in to have the compiler run in > multi-threaded mode. > > The flag is: > > -localWorkers N, where N is some number greater tha

Re: PopupPanel over pdf bug in Firefox

2008-12-11 Thread ka1n
I've found a workaround. Simply use another PopupPanel to position the iframe shim. - Paul On Dec 10, 3:44 pm, ka1n wrote: > Thanks for the reply. Unfortunately the solution you mentioned is not > sufficient for me because the pdf is taking up most of the screen. > Making it invisible for a m

Re: How to set DropDownListBox in multi-column list style

2008-12-11 Thread Sumit Chandel
Hi Gudgee, Similar to another thread about the same topic (link below), I think the best approach to render something like what you're looking for here would be to use a DisclosurePanel with either a FlexTable, Grid or FlowPanel depending on the look and functionality you want to have for the mult

Re: GTileLayerOverlay show and hide

2008-12-11 Thread ben
Thanks, it returns null but I looked at the fusionmaps local js file, and it seems mJavascriptVersion = 109. So the problem is fixed in 125, based on the link you gave me. Interesting. Anyway, they reference doing add/remove. I tried doing map.removeOverlay, addOverlay, with a reference to the

Re: GTileLayerOverlay show and hide

2008-12-11 Thread Eric Ayers
As far as the effort required to port: Classes have been renamed to drop the leading 'G'. Callbacks follow a different pattern (for map events in particular.) I guess the big question is, how much code do you have in your app that uses the Maps API? On Thu, Dec 11, 2008 at 2:43 PM, ben wrote:

Re: GTileLayerOverlay show and hide

2008-12-11 Thread Eric Ayers
You might try over on the Google-Maps-Api google group, but be sure to read their posting guidelines first. On Thu, Dec 11, 2008 at 3:19 PM, ben wrote: > > Thanks, it returns null but I looked at the fusionmaps local js file, > and it seems mJavascriptVersion = 109. So the problem is fixed in >

Re: Strange Dev Shell problem

2008-12-11 Thread Tóth Imre
Maybe the question is too easy, or strange? 2008/12/10 Tóth Imre > Hi all! > I am struggling with the Development Shell becouse it cant show me the > exeptions. > i run it from eclipse with the following argumnets: > -logLevel ALL -noserver -whitelist . -out www > http://localhost/scheduler/i

Re: GTileLayerOverlay show and hide

2008-12-11 Thread ben
thanks for the help On Dec 11, 3:25 pm, Eric Ayers wrote: > You might try over on the Google-Maps-Api google group, but be sure to > read their posting guidelines first. > > > > On Thu, Dec 11, 2008 at 3:19 PM, ben wrote: > > > Thanks, it returns null but I looked at the fusionmaps local js fil

Re: GTileLayerOverlay show and hide

2008-12-11 Thread ben
Unfortunately, I can't post a link to be helpful to them On Dec 11, 3:41 pm, ben wrote: > thanks for the help > > On Dec 11, 3:25 pm, Eric Ayers wrote: > > > You might try over on the Google-Maps-Api google group, but be sure to > > read their posting guidelines first. > > > On Thu, Dec 11, 200

reloading pagingscrolltable's listed data

2008-12-11 Thread Hasan Turksoy
Hi all, i have a pagingscrolltable which shows search results according to some user entered search criterias. How can i change the listed data of pagingscrolltable? seems i can change the listed data if i change the tablemodel - right? if so, how can i change the tablemodel of a pagingscrollt

TreeTable from incubator

2008-12-11 Thread sergey
I need TreeTable in my project and consider using one developed in GWT incubator http://code.google.com/p/google-web-toolkit-incubator/wiki/TreeTable . Somebody has experience using it? What is the status of this project? -Sergey --~--~-~--~~~---~--~~ You received

how to set default button?

2008-12-11 Thread UVic_Paul
Hey all, Been searching around without success, so time to ask the group How do you (or can you) set the default button on a "form"? For example, let's say you have a panel with 4 TextBox widgets, an "Enter" button, and a "Cancel" button. When the user presses "Enter" during input of any o

GWT 1.4 DisclosurePanel Horizontal Orientation

2008-12-11 Thread nickle
I need a DisclosurePanel that opens horizantally not vertically. Questions: 1. Can this be done through CSS without using rotated images? 2. As DisclosurePanel is final; how would one add this functionality besides coping the source from the trunk and rebuilding your own widget? thanks nick -

GWT bootstrap model

2008-12-11 Thread Raziel
Using GWT 1.5.3: According to the documentation, "In the GWT 1.4 bootstrap model, GWT expects to find all its files in the same path as the .nocache.js file.". Thus, having the host HTML file at http://host.domain.tld/myApp/index.html, and the .nocache.js and other files generated by the GWT comp

Re: GWTShell and facelet.

2008-12-11 Thread acc
Hi Olivier, Have you added a to include the nocache.js bootstrap file in your JSF JSP? -alex On Dec 10, 7:57 am, "olivier FRESSE" wrote: > I'm not sure that it's the issue. > From my understanding, the noserver mode is really useful when you wan't to > use > GWT RPC.

Re: how to set default button?

2008-12-11 Thread mikedshaf...@gmail.com
Maybe others with more GWT Form experience can chime in, but adding a KeyboardListener to your text boxes to do a form submit seems completely reasonable and non-hacky. In fact, it's completely in line with traditional UI paradigms, where the whole form submit() concept and all is what's really u

Serializable and isSerializable dead ends

2008-12-11 Thread Gary S
After trying suggestions on other threads about these problems, the serialization policy file is still not found, even though it is generated. The alternative of adding the isSerializable marker to Serializable classes results in not found errors for isSerializable. We have tried 1.5.2 and 1.5.3 a

how to set style with id attribute css selector

2008-12-11 Thread bharat.j...@gmail.com
Hi, I have a form panel and I want to set style using id attribute so basically when i do formPane.addStyleName("teststyle") it will transform into but I am looking for someting like . My goal is to set styles using css id selectors. Thoughts, thanks in advance, Bharat --~--~-~--~---

Re: GWT hosted mode in infinity loop when debugging

2008-12-11 Thread Alex Epshteyn
Matic, I just started having the exact same problem! I'm using IntelliJ not Eclipse, though. The debugger just keeps looping. When I forcibly pause the process, I see that it's always somewhere in the RPC service instantiation process and never finishes it (i.e. GWT.create()). I don't think t

Who's Using GWT?

2008-12-11 Thread Sumit Chandel
Hello everyone, We've recently updated the GWT homepage to include a page displaying a non-exhaustive list of applications that are built with GWT. We were also able to capture a few developers on video for those who happened to be around the Google Mountain View area and developed awesome applic

Re: There is a bug in CellPanel.java

2008-12-11 Thread wurenhai
I agree that I must add 'b' to a cell before a set the size. But my problem is that, it doesn't report error in host model, while it reports error in IE. I use gwt 1.5.3. On 12月9日, 上午2时04分, "Ian Bambury" wrote: > You can't set the size of the cell that 'b' is in before you add 'b' to a > cell

Re: Reduce GWT (MD5) file names size

2008-12-11 Thread Sumit Chandel
Hi Pawel, It seems that the suggested changes to the md5 hash would lead to a saving of 7 bytes per application load for a given client. Every byte counts, but I'm not sure if the number of bytes saved in this case would be worth spending engineering time to implement in GWT. My suggestion would

Re: GWT event model

2008-12-11 Thread Sumit Chandel
Hi Mike, As Adam mentioned, the new event system you discovered in trunk is indeed for GWT 1.6, following the design details explained in the link he posted above. The new event system should solve some of the problems in the current Event system (as detailed in the doc), including the use case y

Re: GWT hosted mode in infinity loop when debugging

2008-12-11 Thread Alex Epshteyn
I think I just solved the problem by reverting my IntelliJ project files to an earlier state. It wasn't any new code that I had written - looks like just the project files got out of whack somehow. Good to back those up often. On Thu, Dec 11, 2008 at 8:34 PM, Alex Epshteyn wrote: > > Matic, >

Re: how to set default button?

2008-12-11 Thread Riyaz Mansoor
For a PopupPanel take a look at onKeyPressPreview - handle ENTER, ESC etc key events there. Generally, you are looking at over-riding onEventPreview to handle the keyboard events you want. There is no magical "setDefaultButton" method. In fact, the default button formatting (if required) you ha

Re: How to size VerticalSplitPanel contents?

2008-12-11 Thread Litty Preeth
did u try css width: 100% height:100% - Litty On Thu, Dec 11, 2008 at 10:48 PM, dhoffer wrote: > > I have a VerticalSplitPanel that contains a Tree in the top panel and > TextArea in the bottom panel. How can I make the top & bottom panels > fill all available space? > > Currently the tree is

Re: TextBox listener for contents changed?

2008-12-11 Thread Litty Preeth
If you want to be notified for each char change then you should use onKeyUp else if you want to process the text after all the text has been entered then u shud use onChange of ChangeListener. On Thu, Dec 11, 2008 at 10:51 PM, David Hoffer wrote: > > Is this better than using onKeyUp() ? What

Re: dialogBox.hide() is not working

2008-12-11 Thread Litty Preeth
you dnt hav to call dialogBox.center() and show() both... if you want to centralize ur dialogBox then u can call dialogBox.center() alone. It will both centralize ur dialogbox and shows it. And I think the DialogBox class itself has a mouseListener for dragging. So it could be tht the mouse events

Re: how to set style with id attribute css selector

2008-12-11 Thread Danny Schimke
To set ID's "Debug-ID" is the word you're searching for. You can define an ID be using the ensureDebugID()- Method on e.g. composite widgets / elements. When you do this there will be a prefix before your real ID. If your ID is "teststyle", the result will be the following: id="gwt-debug-teststyle