Re: two browser windows

2009-11-13 Thread Angel Marquez
Hey Roy, > GWT *is* Javascript, Yes, I know this. > so if you can do it in JS, just write a GWT native method. Understood > Try Googling JSNI This makes sense. What I was refering to in Chris's post was this: With javascript this is rather easy defining methods in the window or document an

Re: two browser windows

2009-11-13 Thread Roy Smith
GWT *is* Javascript, so if you can do it in JS, just write a GWT native method. Try Googling JSNI 2009/11/13 Angel Marquez > Would you refer a site that does this with js. > > From what I understand you want to drag out a widget, say a text input > field, and have a new window appear, similar t

Re: how large of your GWT compiled code? My one is 850K

2009-11-13 Thread Dean S. Jones
850k is nothing, it's the size of many images or photo's, as hazy1 said, compression will reduce the size dramatically, ( I moved compression from the app server to my fronting Apache and it's much more efficient ) and you can also set the expires header on the GWT html/js to some future date ( a w

Re: Conflicts on Install GWT on Ganymede (3.5.1)

2009-11-13 Thread Roy Smith
There was particular release of Eclipse 3.4 (Gannmede) which was so badly busted that nothing would upgrade. The only solution was to downgrade and then upgrade, or reinstall. Obviously if the OP is running Ganymede, then installing 3.5 (Galileo) is the best option. iirc, workspaces are not compati

Re: Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Yozons Support on Gmail
Thanks. I read they were defined in UserAgent.gwt.xml, but had no idea where that file was. I didn't think to look in the gwt-user.jar, and I wouldn't have guessed gecko1_8 at all for Firefox 3.5. Your info was perfect. I wish it was just that clear in the docs! -- You received this message b

Re: Creating a module in GWT 1.7 - css file location

2009-11-13 Thread Steve C
OK, I answered my own question, at least as far as item #1, with some help from http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideAutomaticResourceInclusion It seems that either approach will work. Having the css in the public package will result in it automatical

Re: Conflicts on Install GWT on Ganymede (3.5.1)

2009-11-13 Thread Ben
Eclipse Ganymede is 3.4 not 3.5 On Nov 12, 10:50 am, Rajeev Dayal wrote: > Which install of Eclipse are you using? What other plugins do you have > installed? > > > > On Wed, Nov 11, 2009 at 9:59 AM, tobias wrote: > > Cannot complete the install because of a conflicting dependency. > >  Software

Re: Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Mat Gessel
Values are defined in com.google.gwt.user.UserAgent.gwt.xml in gwt-user.jar. The values for GWT 1.7.x are: ie6,ie8,gecko,gecko1_8,safari,opera gecko1_8 is Firefox 1.5 and later. ie6 is IE6 and IE7. As of GWT 1.6 you can set the "user.agent" to property to multiple comma-separated values. Note that

Announcing: The gwt-rpc-annotation library

2009-11-13 Thread Chi H
Announcing the gwt-rpc-annotation library - http://code.google.com/p/gwt-rpc-annotation/ This library simplifies the development of GWT-RPC services through the use of a JSR-269 annotation processor. It is currently being used extensively at Solium Capital - http://www.solium.com - and we are ha

Re: GWT: JUnit & Google App Engine Tutorial assumes intelligence

2009-11-13 Thread Steve C
I'd like to generalize this whole discussion a bit - to my mind the entire JUnit testing scenario is one of the worst documented and described elements in GWT. Most of the examples out there are repackagings of the same simplistic ones that have been around for a few versions now. In addition to

Re: Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Open eSignForms
Where can I see a list of user.agent values I can choose from for set- property? I'd like to do IE8 (I believe it's "ie8") and FF 3.5 for my base testing before building for a 6 combos that seem to be build by default. -- You received this message because you are subscribed to the Google Groups

Re: two browser windows

2009-11-13 Thread Angel Marquez
Would you refer a site that does this with js. >From what I understand you want to drag out a widget, say a text input field, and have a new window appear, similar to when you drag out a url tab in chrome. Then example would be able to input text into the primary window that would appear in the se

Re: how large of your GWT compiled code? My one is 850K

2009-11-13 Thread hazy1
Our code size, uncompressed is several megabytes. We compress and cache it (both on the client and on the server - cache the zipped file in memory). It is not much trouble after doing this. On Nov 12, 6:48 pm, Edgenius wrote: > I am very excited for code split feature on Gwt 2.0 as the HTML cod

GWT i18n - Dictionary message placeholders

2009-11-13 Thread Jon Vaughan
Hi all, Just a quick query - is it possible to do placeholder substitution with messages obtained from a Dictionary? i..e into something like: permissionDenied = Error {0}: User {1} Permission denied. I couldn't see anything obvious in the doc or forums; does a Dictionary link in any way to a M

Creating a module in GWT 1.7 - css file location

2009-11-13 Thread Steve C
In GWT 1.5, I would put the module css file in the public package. In 1.7 the preferred approach is to put it in the war directory. I haven't tested to see if the public package concept still works. If I wanted to have a project as a module, I could then jar the whole thing, and the project inhe

Re: GWT for Python when?

2009-11-13 Thread charlie
Have you esen pyjamas http://pyjs.org/ ? On Fri, Nov 13, 2009 at 8:06 AM, Kyle Hayes wrote: > I like this idea. I'm big fan of Python and would love to see this. > > On Nov 13, 7:30 am, Rodrigo Romero III > wrote: >> Features: >> - Python to JavaScript compiler >> - User interface API >> - relat

Re: Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Yaakov
Oh... I thought that wasn't working because I forgot they are using a DTD and was specifying it in the wrong location.. BTW, it's , not ... It's already defined in user package by GWT. Thanks for pointing me in the right direction though. Yaakov. On Nov 13, 12:12 pm, Ian Bambury wrote: > 2009/

GlassPanel seems to block dialog box close button focus

2009-11-13 Thread Open eSignForms
I have a DialogBox subclass that is used to popup an exception condition. When this popup occurs, I added code to use the GlassPanel to set to my RootPanel.get(glassPanel,0,0) and that works as expected. But I noted that when I did this, my dialog box no longer put the focus on the close button s

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-13 Thread Casey
The downgrading doesn't work for me. I'm running Snow Leopard and when I try to select my hard drive for installation it says that I must have version 10.5.8 or newer installed. Any thoughts? On Nov 13, 10:36 am, jtyrrell wrote: > Hey All, > > If you are having this issue and want to downgrade ba

Re: Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Ian Bambury
2009/11/13 Yaakov > > > So, how about my real question? Does anyone know the answer? > Anyone who looks in the documentation does :-) You need to put something like in your gwt.xml file Ian http://examples.roughian.com -- You received this message because you are subscribed to the Google

Re: Very Simple FlexTable Question

2009-11-13 Thread Ian Bambury
No, because headerCount is set to the length of the array. You'll just skip the first element. Ian http://examples.roughian.com 2009/11/13 Davis Ford > Yep - and as a result, you probably generate an > ArrayIndexOutOfBoundsException when you dereference the last element past > the array's len

Re: incubator's PagingScrollTable(pagination+Sorting)

2009-11-13 Thread Norman Maurer
We using the Table in hupa ( http://James.Apache.org/hupa) . It Works very well so far . We extend it to support drag-and-drop and refetching data After deletion to fill the page. Bye Norman 2009/11/13, kavitha d : > On 11/13/09, jay wrote: >> >> We've been shipping our product with PagingScroll

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-13 Thread Stefan
Hey Daniel, thank's for your workaround, it works for me, too! However, I get some errors in the hosted mode browser about wrong method signatures in the classes DOMImplIE8.java and HistoryImplTimer.java of the jar file gwt-user.jar. :Stefan On 12 Nov., 12:35, Daniel Kurka wrote: > I found a ve

Re: Error when running ant hosted on OS X 10.6

2009-11-13 Thread Kyle Hayes
I installed your new jar and I'm still getting the following error: == hosted: [java] On Mac OS X, ensure that you have Safari 3 installed. [java] Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load required native library 'gwt-ll'. Detailed error:

Re: incubator's PagingScrollTable(pagination+Sorting)

2009-11-13 Thread kavitha d
On 11/13/09, jay wrote: > > We've been shipping our product with PagingScrollTable for the past 4 > months. We've been very happy with the widget. We've made a lot of > changes around it to get more functionality and (in our opinion) > better styling. > > We've not heard any complaints from our us

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-13 Thread jtyrrell
Hey All, If you are having this issue and want to downgrade back to 4.0.3 I have added the files here, http://populationjim.com/2009/11/13/downgrade-safari-from-404-to-get-gwt-working/ Cheers, Jim On Nov 14, 2:26 am, eric73 wrote: > Thanks a lot for your Jar Fix ! > > Why it so ugly ? > > Eric

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-13 Thread Mike T
Ugly fix or not it worked for me. Thanks!!! On Nov 13, 9:23 am, Mark wrote: > Many thanks Daniel, this works for me. > > -mark > > On Nov 12, 12:35 pm, Daniel Kurka wrote: > > > > > I found a very UGLY solution to my problem (which enables me to continue > > working). > > > I replaced in LowLev

Re: two browser windows

2009-11-13 Thread Davis Ford
It's easy to create a second browser using a Hyperlink or Anchor with target = "_new" for example, but I think you are out of luck if you want them to communicate. I could be wrong here -- perhaps someone else can confirm. On Fri, Nov 13, 2009 at 7:56 AM, chris_wesdorp wrote: > Hi, > > is it pos

Re: Very Simple FlexTable Question

2009-11-13 Thread Davis Ford
Yep - and as a result, you probably generate an ArrayIndexOutOfBoundsException when you dereference the last element past the array's length. GWT will show this exception in the hosted mode log status window, but in the view, you'll just see the first row, and not the second. On Fri, Nov 13, 2009

Re: Very Simple FlexTable Question

2009-11-13 Thread Ian Bambury
The only thing wrong with the code is that the second loop skips the 'h1' element because you have int i=1 and not int i=0 Ian http://examples.roughian.com 2009/11/13 JAppetta > I know that I'm missing something basic here (possibly stressed out > due to impending demo :) but I can't see why

Re: Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Yaakov
I am using Glassfish 2.1 and also using maven, so this won't really work for me because of the way maven assembles the app.war, i.e., my war directory doesn't everything it needs to run the app... it gets assembled together by maven as there are dependencies on other projects, etc. So, how about m

Re: Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Ian Bambury
If you point your web server's document root to the /war/ directory, you don't have to compile. You can always set up a lightweight web server running on a different port if you need your current one pointing where it is at the moment. Ian http://examples.roughian.com 2009/11/13 Yaakov > Sor

Re: incubator's PagingScrollTable(pagination+Sorting)

2009-11-13 Thread jay
We've been shipping our product with PagingScrollTable for the past 4 months. We've been very happy with the widget. We've made a lot of changes around it to get more functionality and (in our opinion) better styling. We've not heard any complaints from our users about performance or anything else

Re: GWT for Python when?

2009-11-13 Thread Kyle Hayes
I like this idea. I'm big fan of Python and would love to see this. On Nov 13, 7:30 am, Rodrigo Romero III wrote: > Features: > - Python to JavaScript compiler > - User interface API > - related tools > - Appengine SDK integration with a newer Django build and ability to > download latest SVN eas

ANN: gwt-mapquest - a MapQuest wrapper for GWT

2009-11-13 Thread John Huss
I've started a project for wrapping the MapQuest API for use in GWT applications. There is already a lot done. So if you're interested in using MapQuest, check it out. Or if you'd like to get your feet wet with learning how to wrap an external Javascript API (or replace it with a native GWT impl

Re: Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Yaakov
Sorry... Forgot one more fact... I am running it with -noserver mode, so I have to deploy it first to a real app server and then start up the hosted mode to point to the deployed app URL. So, I guess, my question was more general. How do I limit GWT compilation to only 1 user-agent? My understandi

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-13 Thread Thomas Broyer
On Nov 13, 10:46 am, GWT-Newbie wrote: > Hey there, > > using the FormPanel with the FileUpload widget, the strings from the > TextBoxes and TextAreas of my FormPanel don't support some special > characters and german umlauts. > On the client-side everything is okay, but arriving at the server,

Re: Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Thomas Broyer
On Nov 13, 3:59 pm, Yaakov wrote: > Hi, > > I've Googled, but the only things that come up don't really work... > > I am using GWT 1.7 on Windows XP and want to limit my compilation to > only compile for my hosted browser so it will be much faster. > > Is there a way to do this in GWT 1.7 or is

GWT for Python when?

2009-11-13 Thread Rodrigo Romero III
Features: - Python to JavaScript compiler - User interface API - related tools - Appengine SDK integration with a newer Django build and ability to download latest SVN easily - Any OS (Solaris, Linux, Windows and MAC) - Eclipse Plugin (covering every aspect of both GWT and Appengine SDK) This way,

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-13 Thread eric73
Thanks a lot for your Jar Fix ! Why it so ugly ? Eric -- 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 email to google-web-to

Re: can't inherit gwt maps module

2009-11-13 Thread Eric Ayers
I think just just need to make sure that gwt-maps.jar is on the classpath for the project. If you created a Web Application type of launch config, it should be picked up appropriately. On Thu, Nov 12, 2009 at 12:27 PM, Brady wrote: > I am using the google plugin for eclipse. The getting starte

Very Simple FlexTable Question

2009-11-13 Thread JAppetta
I know that I'm missing something basic here (possibly stressed out due to impending demo :) but I can't see why my second row is not being added to the table: [code] String[] platformHeaders ={ "p1","p2","p3", "p4", "p5","p6", "p7", "p8"}; String[] buildHeaders = {"h1", "h2","h3

Limiting compilation to just for the hosted browser on windows

2009-11-13 Thread Yaakov
Hi, I've Googled, but the only things that come up don't really work... I am using GWT 1.7 on Windows XP and want to limit my compilation to only compile for my hosted browser so it will be much faster. Is there a way to do this in GWT 1.7 or is that only for GWT 2.0? Thanks, Yaakov. -- You r

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-13 Thread Mark
Many thanks Daniel, this works for me. -mark On Nov 12, 12:35 pm, Daniel Kurka wrote: > I found a very UGLY solution to my problem (which enables me to continue > working). > > I replaced in LowLevelSaf.java public static native void gcUnprotect(int, > int); to public static void gcUnprotect(int

Printing GWT Screen

2009-11-13 Thread manjeet...@gmail.com
I have developed a GWT page where I have TAB widget (with 2tabs) containing other child widgets. I would like to know is there any way by which I can provide user functionality so that in one click they can get the contents of both tabs printed on two pages separately. Any suggestion on this would

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-13 Thread Olaf Steinicke
Daniel thanks a lot for the fast bug fix! Pretty ugly indeed, but as long as it works that shouldn't bother me. Hope the guys from Apple will soon Re-fix their Safari 4.0.4 fix... Cheers! > If you run into the same problem you can download a fixed gwt-dev.jar from > here: > > http://www.daniel-k

Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-13 Thread GWT-Newbie
Hey there, using the FormPanel with the FileUpload widget, the strings from the TextBoxes and TextAreas of my FormPanel don't support some special characters and german umlauts. On the client-side everything is okay, but arriving at the server, the characters and umlauts (like ä ü ö) were replaced

Re: GWT: JUnit & Google App Engine Tutorial assumes intelligence

2009-11-13 Thread chris_l
On Nov 13, 6:41 am, Rajeev Dayal wrote: > No problem, we value feedback! If a tutorial has rough spots, we want to > know! There was one more little rough spot related to running the JUnit test: The "test" folder must be added manually as a source folder (this isn't done automatically by junitCre

Re: Does code split real shrink the inital download?

2009-11-13 Thread Lúcio Camilo
Unfortunately, the RunAsync need more tests by the developer, and u have to do tests to make sure your code will work the way u want.. 2009/11/13 Edgenius > Finally, I chop one class from my bloat code by code splitting > function. The class is a dialog box, about 100 lines code. > Unfortunately

Re: Local call to a service instead RPC

2009-11-13 Thread Lúcio Camilo
At the GWT 1.7, all of the objects have to be serialize and transit in the wire, but at the GWT 2.0 you don't need anymore, because u can use the rpc blacklist. 2009/11/12 Badawi > Hi, > Every call to a Service is a Remote Call? > My all application is running in the same JVM, why I have to "for

Major memory leak with RPC, Internet Explorer and GWT 2.0 (MS1 & MS2)

2009-11-13 Thread Rob
I've been trying out one of my existing apps with GWT 2.0 to see what advantages it has and have noticed a major memory leak when using RPC with Internet Explorer 8.0. Basically my application reads some values from a database and displays these in the browser every 1 second. I am seeing a memory

two browser windows

2009-11-13 Thread chris_wesdorp
Hi, is it possible to control a second browser window via GWT? With javascript this is rather easy defining methods in the window or document and then call those? For GWT I asume I need to follow this approach and write a wrapper class to call the native functions. But what if I want to put other

Re: Flex Table - Remove rows

2009-11-13 Thread Jonas
Thank you so much Paul, it worked 5 stars. Best Regards João Lopes On 13 Nov, 09:59, Paul Robinson wrote: > After you remove row number 0, what was row 1 becomes the new row 0 etc > because everything shifts up one row. > > The way you've set up your loop, what starts off as row 1 will never be

Re: Flex Table - Remove rows

2009-11-13 Thread Jonas
Thank you so much Paul, it worked 5 star. Best regards João Lopes On 13 Nov, 09:59, Paul Robinson wrote: > After you remove row number 0, what was row 1 becomes the new row 0 etc > because everything shifts up one row. > > The way you've set up your loop, what starts off as row 1 will never be

Re: Why Not Bypass The Middle Man

2009-11-13 Thread Célio
It seems that Google is embracing the 'revolution': http://dev.chromium.org/spdy SPDY solves the protocol problem. Soon we will see a replacement coming for HTML/JavaScript. Cheers! On 23 set, 10:02, Célio wrote: > On 23 set, 01:24, lusus wrote: > > > Isn't it time that we finally quit try

Re: UI Layout and Alignments

2009-11-13 Thread Thomas Broyer
On Nov 13, 11:07 am, Paul Robinson wrote: > HorizontalPanel and VerticalPanel are also table-based widgets, but tend > to produce more tables than FlexTable because they lend themselves to > being nested. > > FlowPanel (a div), HTMLPanel or the new GWT 2 UIBinder are the preferred > ways of doin

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-13 Thread JK
Thanks for the jar! It works here as well. On Nov 12, 1:35 pm, Daniel Kurka wrote: > I found a very UGLY solution to my problem (which enables me to continue > working). > > I replaced in LowLevelSaf.java public static native void gcUnprotect(int, > int); to public static void gcUnprotect(int, in

Re: Unknown argument: -style

2009-11-13 Thread doboloh
ok i understand, thanks my friend... i was hoping to get that source to make development faster (when creating new projects), anyways,... thanks gwt... PS by the way do you wave wave sandbox invites? i would like to test it though... On Nov 12, 11:43 pm, Rajeev Dayal wrote: > Unfortunately, the

Re: Error when running ant hosted on OS X 10.6

2009-11-13 Thread bmalkow
On 12 Lis, 18:25, Kyle Hayes wrote: > Heh, you're right this is really ugly. However, it may be worth a try, > but not on my work code ;-) I use it only on development enviroment. To production I use original GWT. Someone else thinks similar to me http://gwtgeek.blogspot.com/2009/11/hosted-mode-

Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-11-13 Thread misterln2
the changes happened from rev 6641 to 6642 a bunch of registerHandler(..) statements got removed i just tried it: copying those statements back to the current DevModeBase.java was sufficient to compile the trunk -- You received this message because you are subscribed to the Google Groups "Goog

Re: UI Layout and Alignments

2009-11-13 Thread Paul Robinson
HorizontalPanel and VerticalPanel are also table-based widgets, but tend to produce more tables than FlexTable because they lend themselves to being nested. FlowPanel (a div), HTMLPanel or the new GWT 2 UIBinder are the preferred ways of doing things, although you do need more html/css understandi

Re: Flex Table - Remove rows

2009-11-13 Thread Paul Robinson
After you remove row number 0, what was row 1 becomes the new row 0 etc because everything shifts up one row. The way you've set up your loop, what starts off as row 1 will never be removed - second time through the loop you remove row 1, but that is the row that started off as row 2. Also, don't

Re: UnmodifiableList Serialization

2009-11-13 Thread Martin Trummer
http://code.google.com/p/google-web-toolkit/issues/detail?id=3065 On Nov 12, 3:01 pm, fedy2 wrote: > As a tmp solution I just create a new LinkedList passing as argument > the Unmodifiable one, but I think this is not a clear solution. > > Anyway thanks for the suggestion. > > Federico > > On No

Re: Starting a new thread result in AccessControlException

2009-11-13 Thread Martin Trummer
that is not related to GWT it depends on what webserver/servicecontainer your application is running on e.g. Google App Engine won't let you create new threads On 12 Nov., 10:42, y wrote: > When I try to start a new thread in a servlet, I get: > java.security.AccessControlException: access denied