TabBar

2009-12-27 Thread GumbyGWTBeginner
Does anyone know the requirements of the TAB Images required to make the tab bar look like what you want? i.e. What size the images are meant to be To me it is not obvious from the Docs. But of course I am new at this and am probably not looking in the right places. I really liked the example

GWT 2.0 port 9997 - testing two apps simultaneously

2009-12-27 Thread Blessed Geek
I am using GWT 2.0 on eclipse plugin. I need to test two or more applications simultaneously in eclipse. However, when I start the second app, the GWT Development notification window says ... failed to open port 9997 Should I ignore this error msg? How should I test two or more apps

Re: GWT 2.0 port 9997 - testing two apps simultaneously

2009-12-27 Thread Paul Grenyer
Go into your project settings and tick the box labelled something like find available port or enter a different port for one of your apps. --Original Message-- From: Blessed Geek Sender: google-web-toolkit@googlegroups.com To: Google Web Toolkit ReplyTo:

Re: GWT 2.0 port 9997 - testing two apps simultaneously

2009-12-27 Thread Blessed Geek
[ERROR] Unable to bind socket on port 9997 -- is another session active? java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: GWT 2.0 port 9997 - testing two apps simultaneously

2009-12-27 Thread Blessed Geek
On Dec 27, 1:47 am, Paul Grenyer paul.gren...@gmail.com wrote: Go into your project settings and tick the box labelled something like find available port or enter a different port for one of your apps. I don't the answer above applies because ... This is not about the application context port

Re: Twitter Emulation Using GWT

2009-12-27 Thread Nicolas Wetzel
go on the www.awdio.com, I've done this if you want the code i can give you it On Fri, Dec 25, 2009 at 3:54 PM, Prashant kv.prs...@gmail.com wrote: Hey all, I read this wonderful article on Nettuts called Twitter Emulation Using MooTools 1.2 and PHP. I love Mootools and am comfortable with

Re: GWT 2.0 port 9997 - testing two apps simultaneously

2009-12-27 Thread Blessed Geek
Never mind! I found the answer. Placing -codeServerPort 9998 in program arguments text box in arguments tab of eclipse run configuration would set the codeServer Port to 9998, or whichever port I choose. -- You received this message because you are subscribed to the Google Groups Google Web

Cache file is 3 MB!!

2009-12-27 Thread moejo
Hi, My team has been developing an application in GWT and we are constantly having issues with the size of the GWT cache.html file. Our current file size is at 3.3 MB which is huge! Compared to some of the file sizes I've seen in the forums (50kb, 500kb, etc), I'm wondering if maybe there is

Re: Cache file is 3 MB!!

2009-12-27 Thread Qian Qiao
On Sun, Dec 27, 2009 at 21:13, moejo mahamad.el.tan...@gmail.com wrote: Hi, My team has been developing an application in GWT and we are constantly having issues with the size of the GWT cache.html file. Our current file size is at 3.3 MB which is huge! Compared to some of the file sizes

Re: Cache file is 3 MB!!

2009-12-27 Thread moejo
Hi Joe Thanks for the info, I'll see what effect upgrading to GWT 2.0 has - I hadn't heard of the SYOC feature, so that definitely might come in handy. Only thing is though, we're very close to go-live so I'm a little hesitant to upgrade at this time, in case there turns out to be compatibility

Re: Cache file is 3 MB!!

2009-12-27 Thread Qian Qiao
On Sun, Dec 27, 2009 at 21:27, moejo mahamad.el.tan...@gmail.com wrote: Hi Joe Thanks for the info, I'll see what effect upgrading to GWT 2.0 has - I hadn't heard of the SYOC feature, so that definitely might come in handy.  Only thing is though, we're very close to go-live so I'm a little

Re: Use smartgwt or not

2009-12-27 Thread maku
@Yozons Support GXT is not a wrapper of ExtJs. So you can not compare the current GXT version with any of the existing extJS versions. They try to produce an almost identically looking end product (extjs vs. GXT). But the way how this is achived is technically different (and also from a

Re: Possible bug or maybe I don't understand. Window.alert() and onResponseReceived

2009-12-27 Thread Ian Bambury
You can't fire off an async request to the server and expect to be able to use the result immediately. Move the code you have after the RPC or RequestBuilder call into the onSuccess method of the callback. Ian http://examples.roughian.com 2009/12/25 MaEcTPo olegik...@gmail.com I have a

Re: Why History.newItem() always calls the onModuleLoad?

2009-12-27 Thread Thomas Broyer
On 24 déc, 06:32, compuroad wilson.ferreira...@gmail.com wrote: I thought History.newItem() would only build the history stack. However in my App it fires the EntryPoint onModuleLoad, restarting the application. What am I missing? Are you only experiencing this behavior in IE? or in other

Re: How to addStyleName() in UiBinder ?

2009-12-27 Thread Thomas Broyer
On 24 déc, 04:20, vinays vinay.sek...@gmail.com wrote: Hi, Is there a way to add style to a widget and not set? Currently if I write g:TextBox styleName=mytextbox / what it does is(pseudo) : TextBox t = new TextBox(); t.setStyleName(mytextbox); instead what I want is :

Re: Blank Screen in IE8 but Normal in FF3.5

2009-12-27 Thread Thomas Broyer
On 26 déc, 09:32, Nomis nomis...@gmail.com wrote: Dear all, Just figured it out the problem was caused by using RootLayoutPanel. When I put all my content into RootLayoutPanel.get(), they appear only in IE but not Firefox. If I use RootPanel.get() instead, they appear in both browsers.

Re: Blank Screen in IE8 but Normal in FF3.5

2009-12-27 Thread Qian Qiao
On Sat, Dec 26, 2009 at 16:32, Nomis nomis...@gmail.com wrote: Dear all, Just figured it out the problem was caused by using RootLayoutPanel. When I put all my content into RootLayoutPanel.get(), they appear only in IE but not Firefox. If I use RootPanel.get() instead, they appear in both

How to use gwt-voices with GWT 2.0?

2009-12-27 Thread amich...@gmail.com
Hello, Do you need to generate a jar file for gwt-voices first? If so, how is this done? I'm using Eclipse. Amir -- 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.

Re: Use smartgwt or not

2009-12-27 Thread Yozons Support on Gmail
Thanks. I just read about that, which means it should be even easier to debug and work with for us Java folks. I like what I see in GXT so far, but admittedly very little. I'm most interested in the DTO issue and if there are good ways to send HashMaps and the like to avoid creating so many of

Re: TabBar

2009-12-27 Thread mariyan nenchev
Try using the new TabLayoutPanel it is very easy to customize with your own images and styles On Sun, Dec 27, 2009 at 10:40 AM, GumbyGWTBeginner stephan.gump...@gmail.com wrote: Does anyone know the requirements of the TAB Images required to make the tab bar look like what you want? i.e.

Re: Use smartgwt or not

2009-12-27 Thread John Armstrong
There are a few strategies for DTO and GXT. Here are two http://www.extjs.com/helpcenter/index.jsp?topic=/com.extjs.gxt.help/html/tutorials/beanmodel.html I also did some using Commons::BeanUtils to autopopulate a DTO since I use Cayenne on the backend and it was not serializing very cleanly.

Hosted mode stops working for a specific package

2009-12-27 Thread John Armstrong
Odd problem. I've been working on an app for a few weeks and recently had some disk space issues that caused random eclipse crashing etc. Now that those are fix my project no longer will launch in Hosted mode, but only if I am specifically using the package com.pgi.gwt with an entrypoint of

FW: problem compiling gwt 2.0 using ant

2009-12-27 Thread Rodrigue Lagoue Njinthe
Hi! I'm facing a curious problem when compiling my gwt projects to javascript using ant. The compilations worked perfectly with the previous GWT versions... The most interessant part of the logging text is the following: Validating newly compiled units [java] Removing units

problem compiling gwt 2.0 using ant

2009-12-27 Thread Rodrigue Lagoue Njinthe
Hi! I'm facing a curious problem when compiling my gwt projects to javascript using ant. The compilations worked perfectly with the previous GWT versions... The most interessant part of the logging text is the following: Validating newly compiled units [java] Removing

Problem adding WebKit keyFrame animation in CSS ResourceBundle file

2009-12-27 Thread fvisticot
I would like to add this keyFrame animation in my CSS file managed by a ResourceBundle. I have added a '\' 'in front of the @-webkit-keyframes element BUT the compiler does not like the from element (...olumn 9: encountered {. Was expecting one of: : ) \...@-webkit-keyframes diagonal-slide {

Re: Use smartgwt or not

2009-12-27 Thread Tom Schindl
Just to mention that there are other Widget-Projects besides SmartGWT and GXT. I'm working on a library called QxWT [1] which works similar to SmartGWT by wrapping an JavaScript-Library. We are (yet) not at the point where GXT and SmartGWT are but we are working hard on to get there. For me and

close event

2009-12-27 Thread Pablo Martin Gore
Hi I have a situation , the cookie is created when the user is login into the application and we want to remove the cookie when the user press the logout button or close the browser. I register the close event like this : Window.addCloseHandler(new CloseHandlerWindow() {

Invitation to connect on LinkedIn

2009-12-27 Thread Premila Devi Dayalan
LinkedIn Premila Devi Dayalan requested to add you as a connection on LinkedIn: -- anoop, I'd like to add you to my professional network on LinkedIn. - Premila Devi Accept invitation from Premila Devi Dayalan

Re: Use smartgwt or not

2009-12-27 Thread Martin Kraus
Great - Yozons is already a confused person incapable of making any decision by himself for *his* project and now you throw in another variable. I suspect this might throw him in a further endless loop. Oh, btw there's also gwt-mosaic and Vaadin. Make sure you evaluate those too and good luck

Re: GWT 2.0: Plugin failed to connect to hosted mode server

2009-12-27 Thread Chris Ramsdale
I suspect when you were using the ip address rather than localhost, the GWT Dev Plugin was unable to connect to the GWT code server. As a result it was not able to load (actually inject) the dynamic portions of your project (e.g. all of the GWT Java code). This is typically a result of some

Re: Use smartgwt or not

2009-12-27 Thread Chris Ramsdale
While the information on this thread has become a bit passionate, it is all good and relevant information. When building large scale GWT-based apps, developers typically sketch out the foundation and then immediately start looking for a good widget add-on. Threads like this can be extremely useful

Extending existing classes with UIBuilder

2009-12-27 Thread Barney
If I want to extend the functionality of an existing widget using code, I have the following two options: 1. Extend the class directly. 2. Extend Composite, include an instance of the base class using initWidget, and forward any required methods. Each method has its own merits, depending on the

Apache Derby+Eclipse+GWT on Mac OSX - ClassNotFoundException

2009-12-27 Thread Oggy
Hi, I have the following problem: I am trying to get my app working using Apache Derby, Eclipse and GWT using Mac OSX. I have installed the derby plugins for eclipse, and added derby nature to the project, the jars are in the classpath, but I am still getting this:

Re: RemoteDeathError in GWT 2.0 Developer Mode

2009-12-27 Thread John A. Tamplin
RemoteDeathError is thrown when the connection to the browser is closed. Are you changing the URL in your app? If you change anything but the hash portion, it will reload the app which will drop the devmode connection. You can try increasing the log level with -logLevel SPAM and see what the

GWT with Jersey

2009-12-27 Thread Tim M
I am looking into using GWT as my frontend to my RESTFUL backend implemented with Jersey. Does anyone know of a nice tutorial explaining how to do this? Thanks in advance. Tim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Why History.newItem() always calls the onModuleLoad?

2009-12-27 Thread John A. Tamplin
A couple of points: - you don't need to call History.fireCurrentState() after newItem(). - you are calling newItem() from within the history change handler A typical history-enabled app will call fireCurrentState in onModuleLoad, actions that change history state simply call newItem with the

Re: body.onkeyup

2009-12-27 Thread Prakash
Hi, If you are trying to implement application wide Short/Hot keys to do some action, then you can use Event.addNativePreviewEventHandler(). Regards, Prakash M. On Dec 26, 4:08 pm, Surya surya.i...@gmail.com wrote: Hi. How do I convert the javascript code window.onkeyup (or onkeyup in

Re: Development mode crashes Safari 4.0.4 in OS X 10.4

2009-12-27 Thread John A. Tamplin
Created http://code.google.com/p/google-web-toolkit/issues/detail?id=4413 -- 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

Building an Embed API with GWT

2009-12-27 Thread Andrew J
I'm asking this question as something of a GWT n00b, hoping this will be easy to solve. I'm on a project trying to use GWT 2.0 to build an embed API, similar to Google Maps or wave. The idea is for the API to be used in a context similar to the following: code html head script

Re: Developer Plugin not working on Firefox 3.5.5 on Linux

2009-12-27 Thread John A. Tamplin
Please add your details to http://code.google.com/p/google-web-toolkit/issues/detail?id=4141 -- 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

Java Server-side responses to GWT

2009-12-27 Thread ben
Hello there I'm programming an GWT app on a Apache Tomcat Server, which means that I use Java for server-side programming. So far so good. Now I'm wondering how I can transfer the data I gained on the server- side with Java to the GWT. For example, I have got a list of image paths like

Re: Grid cell formatting

2009-12-27 Thread Prakash
Hi, you can use CSS selectors for applying styles for all cells in a table. define a style for your table in css .myStyleForTable{ // Your table specific style. } .myStyleForTable td { align: left; valign : top; } in your GWT code, apply above defined style to your table. Grid testGrid

Re: Errors/Typos in GWT Docs

2009-12-27 Thread Chris Ramsdale
Marty, Thanks for the suggestions. We'll incorporate them into our next doc review/update. Keep 'em coming. - Chris On Wed, Dec 23, 2009 at 5:27 PM, Marty Hall javahac...@gmail.com wrote: I have been in Asia the last month doing training, so this is my first look at the new (yay!) GWT 2.0

GWT Noob: Click Handlers and Grid/Flex Table

2009-12-27 Thread spierce7
Alright, so I am trying for the life of me to understand how to do this. I'm a GWT noob at the moment, and I'm really struggling to understand how to fully implement clickhandlers in a grid or flex table to figure out where they are clicking within the grid. Apparently from what I can see so far

Re: MVP Architecture source code?

2009-12-27 Thread Chris Ramsdale
I'll be adding the source for this tutorial asap, and will update everyone when it's available. - Chris On Tue, Dec 22, 2009 at 4:11 PM, Dalla dalla_man...@hotmail.com wrote: Don´t know if it´s been there for some time now, but I noticed that a section named MVP Architecture has been added to

Re: gwt 2.0 plugin crashes firefox 3.5 in OS X 10.4

2009-12-27 Thread Chris Ramsdale
Checkout: http://code.google.com/p/google-web-toolkit/issues/detail?id=4413 If this is the same issue that you are experiencing, start the issue (or the original issue). Thanks, Chris On Thu, Dec 17, 2009 at 2:59 AM, Par pardeeps...@gmail.com wrote: Hi, I have just upgraded to gwt 2.0 and

Re: Use smartgwt or not

2009-12-27 Thread Yozons Support on Gmail
@Martin - Why would you want to attack me just because I'm evaluating toolkits? I understand our application domain just fine, and we've built multiple applications in JSP technologies that are in our area of expertise and have been running a profitable software business for 10 years now.

Re: Use smartgwt or not

2009-12-27 Thread John Armstrong
@Martin Regarding the below, can you point to the section that you read this from @ http://www.extjs.com/store/extjs/license.php ? Our reading of the license is that its a standard, straightforward, developer seat + support model + 'no royalty/source release requirement' which meshes with how

Re: GWT Incubator update for GWT 2.0?

2009-12-27 Thread Chris Ramsdale
We're currently working on this and will send out an update shortly. In the meantime, any feedback regarding issues that you are are experiencing with the GWT Incubator and GWT 2.0 are greatly appreciated. - Chris On Fri, Dec 11, 2009 at 1:48 PM, Timmy G t...@paloalto.com wrote: Anyone know

Error running JUnit with GWT and App Engine

2009-12-27 Thread Sekhar
I'm running a JUnit test that causes a persistent write (JPA) with GWT and App Engine, and the test is failing with the below error. The No API environment is registered for this thread' error led me to the GAE JUnit guidelines (http://code.google.com/appengine/docs/java/howto/ unittesting.html),

Re: Stockwatcher -UIBinder

2009-12-27 Thread Chris Ramsdale
While we'll continue to update all code tutorials to use the latest GWT features, is there a particular UI section within the Stock Watcher tutorial that you have questions about? - Chris On Thu, Dec 10, 2009 at 6:00 AM, johnd johannes.dres...@gmail.com wrote: Hi, i have a question regarding

Re: GWT Noob: Click Handlers and Grid/Flex Table

2009-12-27 Thread spierce7
I finally figured out my own answer to question 1. I had to make an HTMLTable.Cell object and set it equal to the results of the getCellForEvent(event), then from there call some functions to get the cell indexes. I had tried that but forgot to capitalize the C in Cell. Anyways, I'd still really

Re: Hosted mode won't work since 2.0 upgrade

2009-12-27 Thread John Armstrong
The only way I was able to deal with this exact problem on my macbook was to A) create a new project in a new package space with a new name B) Copy all of my files into the new project C) put my entrypoint class code INTO the auto-generated entry point D) Hand tweak my remote services definitions

Re: body.onkeyup

2009-12-27 Thread Venkatesh Babu
You can even check - DOM.sinkEvents and DOM.setEventListener. This might be of some help for you if you plan to convert your javascript code into java code to be used by GWT ... -Venkatesh On Sun, Dec 27, 2009 at 11:57 AM, Prakash prakash.masilam...@gmail.comwrote: Hi, If you are trying to

Re: Getting RuntimeException in development mode for gwt2.0

2009-12-27 Thread Vikas
It is working fine with gwt-log-2.6.2, but I've upgraded gwt-log with 3.0.0 which is compatible with gwt2.0 On Dec 24, 3:57 pm, Shawn Brown big.coffee.lo...@gmail.com wrote: inherits name=com.allen_sauer.gwt.log.gwt-log-ERROR / I'm using that with 2.0 fine.  What version do you have.  I've

Re: MVP + UiBinder, thoughts?

2009-12-27 Thread bcottam
just following up on this. I've just started using the UiBinder and love it. I really like how clean it makes my UI code. However, I was kind of struggling with the @UiHandler annotation and how it fit in with the whole MVP paradigm as well. Your suggestion Jonas is great (i.e. reversing the

Re: MVP + UiBinder, thoughts?

2009-12-27 Thread bcottam
oh, not sure why I didn't think of this earlier, the EventBus is a perfect way to handle this (well, it's pretty good anyway :) ) so instead of: public void setSaveCancelHandler(SaveCancelHandler handler) { this.handler = handler; } you could just do: SaveCancelEvent event = new