Re: making gwtext's toolbarbutton ICON appear

2009-04-02 Thread wouter
Stumbled on that too. Solved my problem using GWT PushButtons and wrapping them in GXT AdapterToolItems. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email t

Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Alexandros Papadakis
Hi, Will there be a 64bit version? Best regards, Alex On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum wrote: > The GWT team is happy to announce the availability of Google Web Toolkit 1.6 > RC2.  Download it here: > > http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3 > > For an o

Re: Issues in viewing pages developed using gwt and hosted in linux server using IE.

2009-04-02 Thread ben
Hi, I've got the same problem with my tomcat 6 on windows and Internet Explorer 6 displaying a StackPanel. You can see more on the related issue. http://code.google.com/p/google-web-toolkit/issues/detail?id=3372&can=5 Moreover It can be viewed browsing the GWT showcase with IE6. So still no ide

Re: Is there any other easy and faster way to add text to FlexTable?

2009-04-02 Thread Suren
Hi Thomas, Thanks for the reply. I 've visted the link you gave, it sounds interesting. But how can I acheive that? Also I would like to mention that, I am populating 100 columns and 100 rows in flextable. And I am setting styles using cellFormatter. but its lightning fast in firefox and dead

GWT with python

2009-04-02 Thread Prashant Gupta
is there any way to integrate GWT with python? if yes, how do i request server using GWT? thanks, Prashant --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send emai

FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Suren
Hi All, I am populating 100x100 cells in Flextable from database. Its taking 10 mins in IE to display the table, but only less than 10 secs in Firefox. I am wondering why such extreme difference exists between these two browsers? Ofcourse my code may not be performance efficient though. But st

Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Vitali Lovich
With GWT 2.0 (I believe that's the version after 1.6 & the current trunk) has OOPHM scheduled for it, which removes the platform dependancy pretty much, I'm running it right now on 64-bit Ubuntu with my native Firefox. On Thu, Apr 2, 2009 at 3:18 AM, Alexandros Papadakis wrote: > > Hi, > > Will

Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Nicanor Babula
Hi, I faced this problem too when trying to work with a grid having lots of rows and columns. I think is slower in IE because of the way it renders the pages. Anyway, it turns out that with large numbers of DOM elements browsers fail displaying the pages. Therefore you could try in some way red

Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Suren
Hi Nicanor, Thanks for the reply. So, lets assume, I am going for the partial rows display in the beginning and adding more rows when I scroll.. In this case, Should there be a rendering issue? like when I scroll, untill the population is being done, the screen will hang or it will be blank in

Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Alexandros Papadakis
Great 1.5.3 (which I am using) in Hosted mode can not run under 64bit java. The compiler can, which is nice. As bigger and bigger projects are going to be developed, this will be an issue, since 32bit java can only address 1.5 gigs of memory (or... am I wrong???) Regards, On Thu, Apr 2

Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Nicanor Babula
On Thursday 02 April 2009 10:19:59 Suren wrote: > Hi Nicanor, > > Thanks for the reply. > > So, lets assume, I am going for the partial rows display in the > beginning and adding more rows when I scroll.. > > In this case, Should there be a rendering issue? like when I scroll, > untill the populat

Re: What is the easier way to deploy a GWT application to Tomcat using Eclipse?

2009-04-02 Thread tetsuo
On 2 Apr., 08:21, "alex.d" wrote: > Ant is definitely worth to take a look at. I'm using it to make my war- > file. After that i have to upload/copy it to webapps-folder - > deploying complete! > with something like [code] [/code] the ant

Where is the server log?

2009-04-02 Thread J.F.Sebastian
Hello everybody, I'm really desperate because my gwt app (based on 1.5.3) keeps crashing on the server side. The error message keeps telling me to check the server log. But where are they in hosted mode? When I look for log files using find . | grep .log$ | xargs ls -la I only see the timestamp

Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Vitali Lovich
For me, the bigger benefit is the ability to utilize the native browser to its full-power. For instance, Firebug + Firefox. 2009/4/2 Alexandros Papadakis > > Great > > 1.5.3 (which I am using) in Hosted mode can not run under 64bit java. > The compiler can, which is nice. > > As bigger and

Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Tony Strauss
Depending on the nature of your data, it might be better to implement a paging table rather than fetching more rows during scrolling, For what it's worth, I think that hitting the server during paging is more intuitive than hitting the server during scrolling. Implementing your own paging table

keyboardlistener calling clicklistener?

2009-04-02 Thread alan m
Hi all, MyFocusPanel extends FocusPanel and has a working ClickListener: public MyFocusPanel(ClickListener listener) { super(); initFocusPanel(); addClickListener(listener); } I also want to listen for keyboard events in initFocusP

problem with integrating flash in GWT

2009-04-02 Thread Swathi Kondepati
> Hi > >Iam new to GWT and have no idea on flash.I had included the flash > application in GWT using "SWFWidget". Our flash application contains a > hyperlink which must open the path > "D:\websites\projectname\backup_temp\userID\DownloadedFiles.zip" in the > local system. > Th

Re: making gwtext's toolbarbutton ICON appear

2009-04-02 Thread Mark RG Itol
Hi wouter, If you wouldn't mind, can you share to us the code on PushButton and GXT AdapterToolItems? Thanks a lot. :) Mark On Apr 2, 3:12 pm, wouter wrote: > Stumbled on that too. Solved my problem using GWT PushButtons and > wrapping them in  GXT AdapterToolItems. --~--~-~--~~

Re: GWT with python

2009-04-02 Thread Tony Strauss
GWT can integrate with any server-side language (Python, PHP, Ruby, Java, etc.). GWT's developer guide covers communicating with servers in detail: http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideServerCalls Basically, GWT applications can us

Using gwt-user.jar and gwt-dev-linux.jar in *.war file

2009-04-02 Thread Vasily Vasilkov
Hi! I have the web-application that uses classes from GWT in its server-side code (com.google.gwt.user.server.rpc.RPC for example) I pack my classes, static files and libs (gwt jars too) into app.war file and deploy it on tomcat 6.x While deploying it I've got the following tomcat error: INFO:

How to set icon of tree nodes via CSS

2009-04-02 Thread Mark RG Itol
Hi guys, I am using GWT's Treepanel and I need to set different icons for my TreeNodes. I tried using TreeNode.setIconCls(String) but it doesn't seem to work. My style names are contained in a CSS file and I am also using these style names in setting the icons of menu items (using setIconCls()) a

Problem Loading image for the first time

2009-04-02 Thread Kedar
Hi all I have created a sample application containing login pages. when i try to execute it in hosted mode it works perfect but when i deploy it the image at the top panel looks like one of the piece of it, even in Chrome it disappears at first load but when i reload the page it works fine

Re: What is the easier way to deploy a GWT application to Tomcat using Eclipse?

2009-04-02 Thread alex.d
Except for undeploying the previous version, expiring user sessions etc... No thx, i'd rather copy manually ;-) On 2 Apr., 10:59, tetsuo wrote: > On 2 Apr., 08:21, "alex.d" wrote:> Ant is > definitely worth to take a look at. I'm using it to make my war- > > file. After that i have to upload/c

Re: GWT with python

2009-04-02 Thread Prashant Gupta
Thanks a lot Tony. On Thu, Apr 2, 2009 at 3:57 PM, Tony Strauss < tony.stra...@designingpatterns.com> wrote: > > GWT can integrate with any server-side language (Python, PHP, Ruby, > Java, etc.). GWT's developer guide covers communicating with servers > in detail: > > http://code.google.com/docr

Re: keyboardlistener calling clicklistener?

2009-04-02 Thread alex.d
If you want to handle click- and keyEvents inside MyFocusPanel class itself then i would add both listeners inside MyFocusPanel and call the same handlerFunction() to handle them. But if you want some other class(let's say some outerPanel) to handle events for MyFocusPanel then i'd rather add even

Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Arthur Kalmenson
> As bigger and bigger projects are going to be developed, this will > be an issue, since 32bit java can only address 1.5 gigs of > memory (or... am I wrong???) Wouldn't 32bit Java have the same restrictions that regular 32bit OSes have, i.e. 4GB of memory at most. Regardless, on the server sid

Re: gwt template

2009-04-02 Thread asianCoolz
because I want to customize the look and feel of the widget to look nicer --~--~-~--~~~---~--~~ 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@googlegroup

gwt 1.6 tabpanel handler

2009-04-02 Thread asianCoolz
i am refering to http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a41c4d65f58d9997/a94afffa999e3c68?lnk=gst&q=tabpanel+1.6#a94afffa999e3c68 how to do handler for tabpanel in 1.6 ? --~--~-~--~~~---~--~~ You received this message because you are

Re: Using gwt-user.jar and gwt-dev-linux.jar in *.war file

2009-04-02 Thread Thomas Broyer
On 2 avr, 12:28, Vasily Vasilkov wrote: > Hi! > > I have the web-application that uses classes from GWT in its > server-side code (com.google.gwt.user.server.rpc.RPC for example) > > I pack my classes, static files and libs (gwt jars too) into app.war > file and deploy it on tomcat 6.x > > Whil

Re: Back & Refresh button handling

2009-04-02 Thread Arthur Kalmenson
> I think the only solution here is to call some javascript outside GWT > that can detect a page refresh. I thought that onUnload (http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Widget.html#onUnload()) can do that job. If there's some Javascript, you can al

Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Thomas Broyer
On 2 avr, 09:36, Suren wrote: > > I am populating 100x100 cells in Flextable from database. At the risk of repeating myself: if you know in advance the size of the table and you do not use colspan/rowspan, use a Grid instead of FlexTable for slightly better perfs. > Its taking 10 mins in IE t

Re: gwt template

2009-04-02 Thread Nitin Sawant
Why you using templates? On Apr 2, 9:20 am, asianCoolz wrote: > which template library do u folks recommend ? > > i found few > athttp://code.google.com/p/gwt-templates/http://jawspeak.com/2008/11/29/introducting-jaws-very-simple-gwt-html... > > which one is more flexible? --~--~-~--~--

Re: A thought about GWT project structure

2009-04-02 Thread Thomas Broyer
On 1 avr, 21:27, Ken wrote: > In GWT recommended project structure, client code and server code are > placed in one project. I find this structure is not so development- > friendly in practice. (GWT 1.6 has some new update to the project > structure to make it more like standard WAR project, bu

Re: Back & Refresh button handling

2009-04-02 Thread Vitali Lovich
Nope - that's for adding/removing a widget from a document. Window close is a different event (Window.addCloseHandler). By design, you can't interfere with the window closing. On Thu, Apr 2, 2009 at 9:05 AM, Arthur Kalmenson wrote: > > > I think the only solution here is to call some javascript

Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Magius
I'm not a fanatic of paginated tables but I think this is the easiest way. I receive all the data in the GWT-client and show the information in a paginated way. Each time the user press "next" you anly have to replace the table data with the next N records. On Apr 2, 3:09 pm, Thomas Broyer wrot

Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Miles T.
Use the native browser to its full power ? What are you talking about ? On Apr 2, 11:15 am, Vitali Lovich wrote: > For me, the bigger benefit is the ability to utilize the native browser to > its full-power.  For instance, Firebug + Firefox. > > 2009/4/2 Alexandros Papadakis > > > > > Great

Re: What is the easier way to deploy a GWT application to Tomcat using Eclipse?

2009-04-02 Thread tetsuo
you can make some coffe with ant, if your coffeemachine has an ip adress ^^ like calling a exe or bash file [code] [/code] thats your undeployment. have a look at http://ant.apache.org/manual/index.html tetsuo --~--~-~--~~~---~--~~ You received this message

Display not updating

2009-04-02 Thread Gary1975
Hi, I have a function that is used to process a set of data that is returned from a server. This routine gets the date range for the data returned and pops up a window for the used to enter the range that they are interested in. The code will then go through the data and draw a polyline on a map

How to define a Context Listener

2009-04-02 Thread Pints
Hi, Does anyone has any idea that how can we define a servlet in GWT which can behave as a Listeners of servlets. Do i have to do a complete RPC to call any normal servlet also.? I believe yes as to talk to server RPC is the only way. Please confirm. Any ideas would be appreciated. My idea was

Serialization issue with generic Maps

2009-04-02 Thread snorbi
Hello, We have problems serializing generic Maps in gwt-1.6.2 (both in web and hosted mode). It seems that type parameters of generic remote service method parameters are not scanned properly when searching for potential serializable types. To reproduce the problem, please see the application sn

Re: gwt 1.6 tabpanel handler

2009-04-02 Thread asianCoolz
found it tabPanel.addSelectionHandler( new SelectionHandler() { public void onSelection(SelectionEvent event) { // TODO Auto-generated method stub } }); On Apr 2, 8:56 p

Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Alexandros Papadakis
I am talking about HUGE GWT applications that would require more than 1.5 gigs of memory. -Xmx1512M is the max I can have using a 32bit java. On Thu, Apr 2, 2009 at 4:58 PM, Miles T. wrote: > > Use the native browser to its full power ? What are you talking > about ? > > On Apr 2, 11:15 am, V

Re: PopupPanel Align Right

2009-04-02 Thread cj
Thanks. I was hoping to avoid handling resize events. All I want to do is align an image or text along the right side of a panel. With straight HTML and CSS this can easily be done by using the align: right; style. With GWT, I can align things with the left side just fine. The set position met

Re: PopupPanel Align Right

2009-04-02 Thread cj
Thanks. I was hoping to avoid handling resize events. All I want to do is align an image or text along the right side of a panel. With straight HTML and CSS this can easily be done by using the align: right; style. With GWT, I can align things with the left side just fine. The set position met

gwt 1.6 Class KeyEvent

2009-04-02 Thread Дмитрий Николаев
Javadoc from http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/event/dom/client/KeyEvent.html Class KeyEvent There is no static DomEvent.TypegetType() in class, mayme something wrong ? --~--~-~--~~~---~--~~ You received this message

Re: Loading Images into GWT via MySQL

2009-04-02 Thread John Ivens
I'd like to thank the contributors for this discussion, particularly Darren, who provided a nice solution to a problem I had making transient images on the server side and displaying them on the client side. On Mon, Mar 16, 2009 at 12:40 AM, alex.d wrote: > > Does the img.setUrl("data:image/jpg;b

Re: PopupPanel Align Right

2009-04-02 Thread alan m
FWIW the CSS syntax is "text-align:right;" You could also try "float:right;" depending on what else is going on in the layout. hth Alanj On Thu, Apr 2, 2009 at 4:23 PM, cj wrote: > > Thanks.  I was hoping to avoid handling resize events. > All I want to do is align an image or text along the

Re: gwt 1.6 Class KeyEvent

2009-04-02 Thread salvador.ce
example of event this link: http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/ 2009/4/2 Дмитрий Николаев > > Javadoc from > http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/event/dom/client/KeyEvent.html > > Class KeyEvent > > There is no > static DomE

Re: PopupPanel Align Right

2009-04-02 Thread cj
Thanks for the correction on text-align. Though, that still doesn't work for me. I've tried the float attribute. It doesn't seem to have an affect. I should also clarify that I'm trying to right align an image on top of an existing panel. That is why I was originally playing with the PopupPane

why not plain "www" directory in 1.6?

2009-04-02 Thread Roberto -MadBob- Guido
I found in 1.6 is not managed a fallback mode to obtain a classic "www" folder to copy in the server's folder (such as in previous releases of GWT), and I'm asking why... I can understand for *many* people the .war archive is easier to deploy, but it is not necessarly true for *everyone*! A .war r

Grid + Pagination +

2009-04-02 Thread Kutty
Hi I am using Gridpanel as Shown below ColumnConfig[] columns; ArrayList searchItemList=new ArrayList(); searchItemList.addAll(searchInfo.getAdvancedSearchList()); try{ searchItemList.remove(0); }catch (Excep

browser back button

2009-04-02 Thread Juzlim
When the user presses the back button on their browser, I'd like to be able to pop-up a confirmation message. If they cancel, then I'd like them to stay in their current state. What is the easiest way of doing this? In other words, how can you prevent the back button from invoking "onHistoryChange

Mac OS X 10.5.6 and GWT-mac-1.5.3 -- SOAP-ENV:ClientHTTP Get method not implemented.

2009-04-02 Thread Erik.Husby
I am just getting started with GWT. Downloaded gwt-mac-1.5.3 onto my Mac OS X 10.5.6 running Java 1.5.0_16. When I try any of the Sample applications, for example Hello-shell, the Development Shell starts on port and then the second window opens. And it shows the one line SOAP-ENV:ClientHTTP

Re: How to use the tag in module XML file?

2009-04-02 Thread Muddasser Alam
Hi Steffan, This is how I did it. I had some classes in a package say x.y.z in the "source" folder of project XYZ. I created a "abc.gwt.xml" file in the "source" folder i.e. OUTSIDE the package (one level higher). There is only one entry in that "abc.gwt.xml" file Now you need to inherit th

What is the best practice to change the Icon of a PushButton ?

2009-04-02 Thread Engidea-GWT
Hi all, I must say that GWT is GREAT !!! I need to change the icon of a PushButton depending on application status, I managed to write this working code public class IconButton extends PushButton { public IconButton(Image icon, ClickHandler listener) { super(icon,listener); } p

1.6.2 upgrade has produced a script error in our code

2009-04-02 Thread Christopher Lariscy - Curriculum Advantage
We are now receiving an IE error on each page of our existing code. When tracing this into the compiled files we find that it is erroring on a js function generated by GWT. I am linking the function that it errors on. function com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_Jav

Re: why not plain "www" directory in 1.6?

2009-04-02 Thread Isaac Truett
What's stopping you from copying your compiler output to the Apache document root? On Thu, Apr 2, 2009 at 9:24 AM, Roberto -MadBob- Guido wrote: > > I found in 1.6 is not managed a fallback mode to obtain a classic > "www" folder to copy in the server's folder (such as in previous > releases of

Re: PopupPanel Align Right

2009-04-02 Thread alan m
you could setStyleName(myCssName) on your existing panel, and then place your image with css: .myCssName {background-image:url("url"); background-repeat:no-repeat; background-position:right;} On Thu, Apr 2, 2009 at 4:58 PM, cj wrote: > > Thanks for the correction on text-align.  Though, that

Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Scott Blum
It should be possible to run the compiler in a 64-bit VM, so that should solve the problem of compiling huge apps. On Thu, Apr 2, 2009 at 11:14 AM, Alexandros Papadakis wrote: > > I am talking about HUGE GWT applications that would require more than > 1.5 gigs of memory. > > -Xmx1512M is the max

Re: why not plain "www" directory in 1.6?

2009-04-02 Thread Jonathan Weissman
I only use GWT for producing the client side javascript, which I copy into a .Net web project that includes the server side code and a host HTML file that integrates the GWT output with third party libraries. It seems that a .war archive would make it more complicated to copy the GWT output that I

compiler error in GWT 1.6 RC2

2009-04-02 Thread L Frohman
I am trying ot convert my GWT 1.5 project to 1.6. It ran OK in hosted mode in 1.6, but when I try to compile, I get the error below, in com.google.gwt.dev.Compiler. Has anybody seen this before? --- [java] Compiling module com.parvia.builder.Builder [java][ERROR] Unexpected inter

Re: why not plain "www" directory in 1.6?

2009-04-02 Thread Alex (Google)
To expand on Isaac's suggestion, everything that used to be in www is now in a directory called war. (I think the name is a bit misleading, too.) You should be able to copy everything from war to your web server. And since you aren't using any Java servlets you can omit copying the war/WEB-INF

GWT Eclipse Plugin made by GWT Team?

2009-04-02 Thread Joseph M
Ive heard rumours about an Eclipse plugin made by the GWT Team. I think I even saw a YouTube video of it in use (maybe from the Google I/ O conference). When will this plugin be released into the wild. -Joseph --~--~-~--~~~---~--~~ You received this message beca

Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Vitali Lovich
In OOPHM, you run your regular browser (Firefox, IE, or Safari on Mac). So you can use any developer tools that come for the browser (it's also a lot faster in terms of UI responsiveness). On Thu, Apr 2, 2009 at 9:58 AM, Miles T. wrote: > > Use the native browser to its full power ? What are yo

My GWT Project - Clarity Accounting

2009-04-02 Thread Dobes
The GWT Blog recently asked for some sample projects - here's ours: Clarity Accounting, a great-looking online accounting application for small businesses to stay on top of their business and get the reports they need to file their taxes. http://www.clarityaccounting.com --~--~-~--~---

Re: Mac OS X 10.5.6 and GWT-mac-1.5.3 -- SOAP-ENV:ClientHTTP Get method not implemented.

2009-04-02 Thread Erik.Husby
Turns out the program Livebackup by Atempo was using port . Once I discovered that running Hello-shell -port 9888 worked great. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To p

Re: GWT 1.6 - How do I change the default "war" directory name

2009-04-02 Thread El Mentecato Mayor
I'm curious, did you then use something like: -war src/your/app/path/public/WebContent assuming your static content was in a subdirectory of the public directory (?). And now you will need to have WEB-INF/lib inside your WebContent dir? I will need to do migrate to 1.6 sometime, and I just do

Re: can inlineHTML be used to load static HTML pages?

2009-04-02 Thread myapplicationquestions
hello? any answer? On Apr 1, 5:23 pm, myapplicationquestions wrote: > caninlineHTMLbe used to load static HTML pages? I want to harness > the power of HTML designing tools to generate static HTML but use GWT > to load the widget. Please note that there may be some actions defined > in static htm

Re: PopupPanel Align Right

2009-04-02 Thread cj
That gets me pretty close. Thanks. Though, the background image is obscured by the image that is already added to the panel. I tried adding a high z-index value in the css, but that didn't fix it. Also, I am interested to know how to do this with html. Thanks On Apr 2, 10:09 am, alan m wrot

Feature Request: Table mouse functions

2009-04-02 Thread ProtoLD
Is there a place to request features? One specifically for me, is more mouse functions for the tables. As it is they only have a "onCellClicked" which is nice, but there are quite a number of other mouse functions supported in JS. One specifically that I had to write a custom module for (which

Re: can inlineHTML be used to load static HTML pages?

2009-04-02 Thread Thomas Broyer
On 1 avr, 23:23, myapplicationquestions wrote: > can inlineHTML be used to load static HTML pages? Not really: 1. loading probably requires an HTTP request (have a look at RequestBuilder). 2. I wouldn't recommend inserting a full HTML page (with , ,

Re: browser back button

2009-04-02 Thread Thomas Broyer
On 2 avr, 17:39, Juzlim wrote: > When the user presses the back button on their browser, I'd like to be > able to pop-up a confirmation message. If they cancel, then I'd like > them to stay in their current state. What is the easiest way of doing > this? In other words, how can you prevent the b

Re: 1.6.2 upgrade has produced a script error in our code

2009-04-02 Thread Thomas Broyer
On 2 avr, 15:14, Christopher Lariscy - Curriculum Advantage wrote: > We are now receiving an IE error on each page of our existing code. > When tracing this into the compiled files we find that it is erroring > on a js function generated by GWT.  I am linking the function that it > errors on. >

Re: gwt 1.6 Class KeyEvent

2009-04-02 Thread Thomas Broyer
On 2 avr, 17:25, Дмитрий Николаев wrote: > Javadoc > fromhttp://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g... > > Class KeyEvent > > There is no > static DomEvent.Type  getType() > in class, mayme something wrong ? No, it's an abstract class serving as a base class for Key

Re: browser back button

2009-04-02 Thread Vitali Lovich
Here's the problem: This is the way you normally popup a confirmation dialog. Window.addWindowClosingHandler(new ClosingHandler() { @Override public void onWindowClosing (ClosingEvent event) { event.setMessage("Are you sure?";); } }); or prior to 1.6 Window.

Re: browser back button

2009-04-02 Thread Thomas Broyer
On 3 avr, 00:43, Vitali Lovich wrote: > Here's the problem:  This is the way you normally popup a confirmation > dialog. ...when the user navigates *away* from your app, not *within* your app (which doesn't involve "unloading" the page, as GWT apps are "one-page apps") > The problem, if I'm n

Re: browser back button

2009-04-02 Thread Vitali Lovich
On Thu, Apr 2, 2009 at 7:29 PM, Thomas Broyer wrote: > > > > On 3 avr, 00:43, Vitali Lovich wrote: > > Here's the problem: This is the way you normally popup a confirmation > > dialog. > > ...when the user navigates *away* from your app, not *within* your app > (which doesn't involve "unloading

best practise when using GWT.create()

2009-04-02 Thread asianCoolz
when using GWT.create(..) for image bundle, i18n or service 1.should i put the GWT.create() as global variable private final in the main class (entry point) and pass as reference to all my composite class files that required it? 2. should I just put the GWT.create() in every constructor of each c

Re: IE6 support SLA

2009-04-02 Thread Starman
I understand that GWT architecture would easily allow for indefinate IE6 support. But at some point in time, the cost of adding support for IE6 when Google develops new UI components or implements features leveraging new browsers capabilities will be difficult to justify. I am not looking for a c

Re: can inlineHTML be used to load static HTML pages?

2009-04-02 Thread myapplicationquestions
Thanks a lot. But isn't this a major limitation that we cannot harness the power of page designers? Can GWT module be embedded in any existing page? Basically we are trying to build a new enterprise application which is pretty UI savy but now it looks more difficult to use GWT as a full fledge opt

Re: why not plain "www" directory in 1.6?

2009-04-02 Thread jchimene
On Apr 2, 11:44 am, "Alex (Google)" wrote: > To expand on Isaac's suggestion, everything that used to be in www is > now in a directory called war.  (I think the name is a bit misleading, > too.)  You should be able to copy everything from war to your web > server.  And since you aren't using a

Re: Why not use applets?

2009-04-02 Thread Rakesh
>>Weak reference (Weak listener in SWT/Swing) that isn't supported >>in javascript, but does in javaFX (java). You can simulate this in gwt. About speed and performance: Remember js runs inside the browser. It is completely at the mercy of browser(unlike applets). You should see the js engine impr