Re: Gwt module sometime not loaded, Only after clicking refresh button it work ?

2011-01-13 Thread cyclingthealps
Hi Boris, Thanks for the suggestion. I changed the sequence of executing scripts in my html page. Old sequence. Script 1: Detect browser language and set meta element. Script 2: Loads Google Analytics module Script 3: Loads the compiled CTA module (nocache.js) New sequence Script 1: Loads

Re: Eclipse heap space during build

2011-01-13 Thread bond
Hi Filipe, I disabled ALL validation on my projet but Eclipse continue to make Javascript validator on /myprojectname and then run to heap space. Why Eclipse ignore my settings on the project? Thanks! On 13 Gen, 00:27, bond daniele.re...@gmail.com wrote: yes Alan, I've Windows 7 64bit; maybe

Problem with serverside code

2011-01-13 Thread roman_e
Hello I've extended my project with this tutorial to save Data on the server (I've done another project, I used it only to see how it works): http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html But if I add a FileWriter object in the class DataServiceImpl, I get this errormessage:

Detect CSS3 and HTML5 features supported by the browser with GwtModernizr

2011-01-13 Thread Julien Dramaix
Hello, The first release of GwtModernizr is out. GwtModernizr is a clone of the js Modernizr (http://www.modernizr.com/) library entirely writed in GWT. It allows you to detect within your GWT code if the browser offers native support for a number of CSS3 and HTML5 features. More info at

Re: JsArrayMixed module?

2011-01-13 Thread julio
Hi Thomas, yes, but i noticed it happened with eclipse on. Turning it off and launching ant from command line again has worked fine. I didn't upgrade the GWT plugins as I didn't get any notification (usually it is on the bottom left), after that it has started to work fine yet thanks Julio On

Re: Dev plugin for firefox 3.7

2011-01-13 Thread Thomas Broyer
Er, isn't r9525 a fix for the Chrome-dev issue with V8's Crankshaft? You probably meant to link to r9526http://code.google.com/p/google-web-toolkit/source/detail?r=9526? ;-) (also s/download the crx out of svn/download the xpi out of svn/) -- You received this message because you are

app engine

2011-01-13 Thread Enav
Can't see my stored data in deployment server, I'm using google app engine for my application i'm storing some data using PersistenceManager In develop mode all is fine, I can retrieve my stored data and disply it in client In deployment server the same application not display anything to the

Re: table.getInnerHTML() not giving appropriate results

2011-01-13 Thread Thomas Broyer
Yes, CellTable (and other cell widgets, a.k.a. Data Presentation Widgets in the docs) build an HTML string and uses innerHTML for best performances (well, actually, CellBrowser does use inner widgets, but it uses CellLists for each tree level for best performances). -- You received this

Re: responsibility and decision to choose and provide appropriate Views for an Activity ?

2011-01-13 Thread Thomas Broyer
IMO, if you can split the decision out of the activity (and into the ActivityMapper or an intermediate layer), do it! (separation of concerns FTW) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: RequestFactory No fire

2011-01-13 Thread Metronome Basic
In fact I expected RequestFactory to behave somehow like GWT-RPC My view ( probably wrong ) Your RequestFactory expose Interfaces to entities ( in my cas a single entity Person ) The Entity Person is a description of some data ( fields of SQL table for short ) The Person class is also

Re: Trying to get htmlunit to run. Keep getting Did you forget to inherit the required module. I can't find a .gwt.xml to inherit from.

2011-01-13 Thread wrapping
Hello Thomas, Thank you for your time, really. I've moved the htmlunit lines to the server side and it seems to work? However, I see the following warnings. Should I be concerned? http://www.mwmechanics.net/Screenshot_server_side.png Thank you very much!!! On Jan 12, 5:58 pm, Thomas Broyer

Re: change the generated project template

2011-01-13 Thread JaySicks
Thanks for the suggestions. I think I'll just create my template project, and copy, import it then. This maven plugin seemed a bit overkill just for this, and I couldn't even uninstall it. I had to delete its files manually. I'm pretty sure I won't install it again. I found something in the

Re: Sending Embeddable object to the server

2011-01-13 Thread JaySicks
Maybe. But I gave up, after turned out, that I can't persist the object even if I manage to pass it to the server. I got various errors, while I was trying to make it work with JPA or JDO. Now I've found Objectify which sounds promising. Well I'll see. As for now, I'm delaying the client-server

Re: what cleanup is necessary if a widget creates multiple child elements

2011-01-13 Thread Thomas Broyer
No, nothing special. Only if you create things in onAttach/onLoad you might need to clean them up in onDetach/onUnload, but mainly so you don't have duplicates when re-attaching the widget later. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Relocating instance methods transparently for the client

2011-01-13 Thread Thomas Broyer
I'm not aware of such a trick; i.e. you have to replace your InstanceRequest with Request and add the MyEntityProxy as an argument. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: RequestFactory No fire

2011-01-13 Thread Thomas Broyer
On Thursday, January 13, 2011 11:32:42 AM UTC+1, coelho wrote: public class Person { public static getStr() { return whatever } } and @service(Person.class) public interface PersonRequest extends RequestContext { RequestString getStr(); } I expect

Re: Server Log

2011-01-13 Thread pete
Yes, but what about RPC-exceptions, that actually don't arrive anywhere? (I think that is the case, where I'm stuck, but I have no access to the deployed production webapp, and I'm told, that the logs show nothing...) I mean, if I actually arrive in the correct function on the server, yes, then I

setwidth and setCellWidth of the VerticalPanel

2011-01-13 Thread Leung
Hi   I need to make the width of the VerticalPanel constant. I have tried setwidth and setCellWidth, but both seem not working well. For example, VerticalPanel vp = new VerticalPanel(); vp.setCellWidth(this, 400px); Label textlabel = new textlabel(); textlabel.add(text); -- vp.add(textlabel);

Unable to display html file in Frame container.

2011-01-13 Thread Barry
I developed a diagnostic app interface using GWT. (Akin to a car diagnostic device on steroids). Now need to allow subject matter experts to easily add/modify/maintain help-tips via separately developed Html files. I can select display web sites in a Frame container, but yet unable to get an

Multi-Module Project and Servlet Mappings

2011-01-13 Thread rsimon
Dear all, I have a project which consists of multiple modules. Basically, it's four separate GWT applications which share some common code. There's a separate module for each of the four applications, plus a 'core' module for the common functionality. Now my problem: The common functionality

War structure for multi-module app has changed magically

2011-01-13 Thread Allen H
Using GWT 2.1.1 and Eclipse Helios SR1/mac (but this behavior has been around since 1.6 --- it's just now become a problem, though). I have an app that has several modules, each in its own source-directory system (and each as a separate Eclipse project, for that matter). It used to be that

Re: change the generated project template

2011-01-13 Thread Jaime Wren
In the New Web Application Project wizard, a new option has been added to Generate GWT project sample code. The option is selected by default, but when de-selected, it will generate an empty project with the selected Google SDK's setup on the project. This additional feature will be available in

Re: War structure for multi-module app has changed magically

2011-01-13 Thread Barry Kravitz
Y2i; Thanks for the reply. I haven't played with UI binder yet, so I don't want to waste your time in this approach until I do some homework. And, no I don't play with the modules' rename-to attributes. Without going down this path yet, I should note that I would like to get html file paths

Using multiple views in one place

2011-01-13 Thread Owen Ilagan
Has anyone tried using multiple views in one Place then having separate activities for each one? This scenario occurred to me when I wanted to save work on having to repeat the same header for multiple Places in my application. It was done using one view as a container, acting like a frame for a

How to create flow chart using smart gwt 2.2 ?

2011-01-13 Thread Sanjay Jain
I want to create a application using in smart gwt. This application should capable of make flow charts and diagram.It should also capable of copy diagrams delete diagrams. Diagrams will cricle, rectangle, arrow etc. By using tese diagram One can Draw the folw charts and other structure. Is there

Re: GWT 2.1.1 runtime error

2011-01-13 Thread bond
Solved, I had gwt-bikeshed.jar in my WEB-INF/lib. I removed it and now all works fine. Thanks! On 12 Gen, 10:32, bond daniele.re...@gmail.com wrote: Hi, I've a strange error with my project made with gwt 2.1.1. When I run it in development mode all works fine; but if I compile the project

Using APT to generate Classes under Eclipse

2011-01-13 Thread Thomas Lefort
Can anybody help me use my custom made annotation processor (for GWT Request Factory) under Eclipse? I have developed an eclipse plugin with a custom annotation and its processor (using java6processors). I export it to a jar file and add it to my classpath as well as to my apt processor (under the

Re: Using APT to generate Classes under Eclipse

2011-01-13 Thread Thomas Lefort
Hi sorry for the trouble, it is working now, just a wrong setting on my side. On Jan 13, 2:14 pm, Thomas Lefort lefortho...@gmail.com wrote: Can anybody help me use my custom made annotation processor (for GWT Request Factory) under Eclipse? I have developed an eclipse plugin with a custom

Overriding Entrypoint on Inheritance?

2011-01-13 Thread rsimon
Dear all, I'm trying to create a project with two modules, where one module 'extends' the other. The basic use case is that both modules are GWT apps. One just has the basic feature set, and the other one adds advanced features. The problem, now, is that both have an entrypoint defined in the

Re: RequestFactory No fire

2011-01-13 Thread Metronome Basic
I tried to catch the fire exception any but there is none Should I get error messages if the servlet is not loaded ? Here is the mapping of the servlet Any Idea ? I'm just rtying to do a trivial sketch 1 ) load the servlet and communicate with it ( I intend to use hibernate to call a

GWT Visualization NoClassDefFoundError

2011-01-13 Thread Ross McKinnon
Hi there, Im trying to create an OrgChart via GWT Visualizations, however i keep getting this error when i try create it! i Have the JAR files in both the buildpath and the war/web-inf/lib and still having no such luck! Does anyone use this package and know why this might be happening? Thanks,

Tomcat vhost - Servlets not available

2011-01-13 Thread Johannes Stein
Hey, i deployed a gwt-application in tomcat 6.0.18 without any problems. I pointed a url to the ip-adress and deployed the application unter webapps/myfolder, so that the app was reachable unter http://mydomain/myfolder. It worked fine. But since im using a vhost in tomcat i got a problem. Every

Re: Server Log

2011-01-13 Thread SVR
true, I don't see the ability to configure server side log anywhere. I would try this: Enable gwt.logging.firebugHandler and see atleast the umbrella exception... On Thu, Jan 13, 2011 at 6:32 AM, pete superp...@geekcity.de wrote: Yes, but what about RPC-exceptions, that actually don't arrive

Re: Problem with serverside code

2011-01-13 Thread Thomas Broyer
In a standard rutime environment, yes, but not on App Engine. Maybe yo don't need to run in the AppEngine sandbox, so you can disable AppEngine in your projects' properties (IIRC, you'll probably have to delete a bunch a JARs from your war/WEB-INF/lib after the change) -- You received this

Re: Detect CSS3 and HTML5 features supported by the browser with GwtModernizr

2011-01-13 Thread Thomas Broyer
How about using deferred binding? (you already use it but in a very limited way) in other words, splitting Modernizr's code into property-providers (and with fixed values when possible: i.e. almost nothing is supported in user.agent=ie6, history.pushState is supported in user.agent=ie8, etc.),

Re: Tomcat vhost - Servlets not available

2011-01-13 Thread Johannes Stein
Please help me. ;) On 13 Jan., 15:55, Johannes Stein johannes.st...@googlemail.com wrote: Hey, i deployed a gwt-application in tomcat 6.0.18 without any problems. I pointed a url to the ip-adress and deployed the application unter webapps/myfolder, so that the app was reachable

Re: Dev plugin for firefox 3.7

2011-01-13 Thread Chris Conroy
Yep, yep, and yep. I'm going to blame my inability to communicate sensibly on cabin fever from being ice-bound here in Atlanta all week. On Thu, Jan 13, 2011 at 5:04 AM, Thomas Broyer t.bro...@gmail.com wrote: Er, isn't r9525 a fix for the Chrome-dev issue with V8's Crankshaft? You probably

Re: setwidth and setCellWidth of the VerticalPanel

2011-01-13 Thread John LaBanca
VerticalPanel is implemented using a table, which means that it will always auto expand to fit its contents. If you want to ensure that it is 400px, wrap each child content in a FlowPanel and set the width of the FlowPanel to 400px and overflow to hidden (or scroll). Thanks, John LaBanca

Re: Dev plugin for firefox 3.7

2011-01-13 Thread csillag
Tried to build it from a fresh update, and after a while, the build process has failed with this: g++ -m64 -o build/Linux_x86_64-gcc3-ff40/libgwt_dev_ff40.so build/ Linux_x86_64-gcc3-ff40/ExternalWrapper.o build/Linux_x86_64-gcc3-ff40/ ModuleOOPHM.o build/Linux_x86_64-gcc3-ff40/FFSessionHandler.o

Re: Help with generics or inheritance with RequestFactory

2011-01-13 Thread Andigator
Thanks for your help! I like this better than my current workaround (having a setter for each proxy). On Jan 10, 8:56 pm, Y2i yur...@gmail.com wrote: It looks like the feature request was accepted: http://code.google.com/p/google-web-toolkit/issues/detail?id=5367 This is an workaround, but

Re: Dev plugin for firefox 3.7

2011-01-13 Thread Chris Conroy
You just need to update your plugin-sdks directory. i added the 2.0 stuff earlier this week On Thu, Jan 13, 2011 at 11:10 AM, csillag csillag.kris...@gmail.com wrote: Tried to build it from a fresh update, and after a while, the build process has failed with this: g++ -m64 -o

Re: Relocating instance methods transparently for the client

2011-01-13 Thread Y2i
Thanks for looking at this Thomas! And thanks to GWT team who made refactoring of a web app so easy :-) -- 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

Re: table.getInnerHTML() not giving appropriate results

2011-01-13 Thread Tej Sarup
Thanks ton Thomas! -- 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 google-web-toolkit+unsubscr...@googlegroups.com.

Re: Overriding Entrypoint on Inheritance?

2011-01-13 Thread Y2i
All entry points are called: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules Do you need 2 entry points? If you want to use a base module as a separate app, you can create a third module, move the entry point from the base module there and inherit

Re: Dev plugin for firefox 3.7

2011-01-13 Thread csillag
On jan. 13, 17:34, Chris Conroy con...@google.com wrote: You just need to update your plugin-sdks directory. i added the 2.0 stuff earlier this week Of course I did update it before compiling. It's at 9528. Kristof -- You received this message because you are subscribed to the Google

Re: GWT throwing java.lang.UnsatisfiedLinkError when trying to make http requests using URL encoding

2011-01-13 Thread Thomas Broyer
You cannot use the *.client.* classes on the server (there might be a few exceptions, but it's the general idea that things that can run server-side are in a *.shared.* or *.server.* package). This includes the URL class. The UnsatisfiedLinkError is due to the notation used by GWT for JSNI: they

Re: cell widgets vs editors

2011-01-13 Thread Thomas Broyer
Yes: wrap your CellTable in a HasDataEditor. -- 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

Using browser specific selectors in CssResource

2011-01-13 Thread Marcin Misiewicz
Hi Is it possible to use browser specific selectors like I used in this following statement in the CssResource's css file : button::-moz-focus-inner, button:focus::-moz-focus-inner { border: 0; padding: 0; } The compiler is stripping this declaration from the result. Is it possible to tell

Re: Dev plugin for firefox 3.7

2011-01-13 Thread Chris Conroy
sigh, you're right. svn is acting up. looking into it... On Thu, Jan 13, 2011 at 12:07 PM, csillag csillag.kris...@gmail.com wrote: On jan. 13, 17:34, Chris Conroy con...@google.com wrote: You just need to update your plugin-sdks directory. i added the 2.0 stuff earlier this week Of

Re: Window 7 IE8 Drop Down List Boxes open problem

2011-01-13 Thread skippy
Any chance anyone else has this problem? On Dec 15 2010, 12:46 pm, skippy al.leh...@fisglobal.com wrote: This is atill a problem. However, it is in IE8 on Windows 7. On Nov 3, 7:29 am, skippy al.leh...@fisglobal.com wrote:   @UiField ListBox groupListBox;  

GWT 2.1 MVP with DockLayoutPanel

2011-01-13 Thread Sam Stephens
Hi all, I'm having problems with the new MVP framework and using DockLayoutPanel or SplitLayoutPanel. If I switch my code to use RootPanel and DockPanel then it will work, but if my views are using a DLP or a SLP inside a RLP then it simply does not render the centre pane. Any tips ? -- You

Can I build a graphic widget on server side and send it to the client?

2011-01-13 Thread Jack
Hi all. I'm using GWT 2.0 In my application I have to render on the browser an html form with a lot of input widgets such as textfield, checkbox, and so on. The exact composition of such widgets is stored in a database; in other words I don't know how the form must look like a-priori, but I need

No Log messages at level INFO in eclipse.

2011-01-13 Thread hakito
Hi! When i try to send a log message at level INFO in Eclipse it does not show up. When i set the -logLevel parameter to TRACE or lower INFO messages show up. What's going wrong here? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: cell widgets vs editors

2011-01-13 Thread Tiago Neves
I have the same question. I would like to combine both concepts by having a celltable that implements Editor. Is it possible? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Can I build a graphic widget on server side and send it to the client?

2011-01-13 Thread Ben Imp
Widgets are client side things only, so you can't really create them on the server and send them across the wire. The simplest solution I can think of would be to take the data in the DB that you are reading, package it up all nicely in some kind of data object, and ship it to the client. The

Re: Window 7 IE8 Drop Down List Boxes open problem

2011-01-13 Thread Ben Imp
I am running IE8 / Windows 7 and have not had any issues with the GWT combo boxes. -Ben On Jan 13, 1:49 pm, skippy al.leh...@fisglobal.com wrote: Any chance anyone else has this problem? On Dec 15 2010, 12:46 pm, skippy al.leh...@fisglobal.com wrote: This is atill a problem. However, it

Re: GWT 2.1 MVP with DockLayoutPanel

2011-01-13 Thread zixzigma
make sure you include height=100% g:DockLayoutPanel height=100% http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b1afc93f1de4a1a9/3aae5daeee660c9f?lnk=gstq=docklayoutpanel+zixzigma#3aae5daeee660c9f -- You received this message because you are subscribed to the Google

Re: GWT 2.1 MVP with DockLayoutPanel

2011-01-13 Thread zixzigma
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/29d35978188355af/7ffde8325859911d?lnk=gstq=docklayoutpanel+zixzigma#7ffde8325859911d -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

IE 8 and status code error 12030 - 12152

2011-01-13 Thread Khan
We are intermittently getting the StatusCodeException in our GWT application. Only happens in IE and so far all version of IE shows the problem. I have searched all over and did not find a thread on GWT with this issue. Here are all the status code listed on this site.

cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread zixzigma
I want to show an icon right next to a link. However after spending a lot of time, could not make it work. public interface Resources extends ClientBundle { @Source(homeIcon.png) ImageResource myIcon(); } and UiBinder: on the top ui:with field='res' type='package.of.Resources'/ and the link

GWT External JARs and use on the Client Side

2011-01-13 Thread Ryan Rathsam
Hi All, Have a quick question. We're currently trying to use some classes from an external jar but am running into an error at run time: [ERROR] [test] - Line 34: No source code is available for type CLASS; did you forget to inherit a required module? This error seems to be firing

Re: cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread zixzigma
there was a typo, myIcon(); is infact homeIcon(); -- 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

Re: setwidth and setCellWidth of the VerticalPanel

2011-01-13 Thread Leung
Hi John,   Thanks for you reply. Just for learning purpose, how can you tell from the document that the VerticalPanel will always auto fit the child content and the FlowPanel wont?   In general, how can I tell which panel or widget does auto fit the child widget and which doesnt?   Thanks Ming

Re: Can I build a graphic widget on server side and send it to the client?

2011-01-13 Thread Jack
You could also try to generate the needed HTML on your server and send it to your client. On your client you could put that HTML into a custom Widget via setInnerHTML. This custom Widget can overwrite onBrowserEvent if you need some basic event handling for your generated HTML. We did something

Re: cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread Jeff Larsen
ui:style ui:field=style .floatLeft{ float:left; } ui:style g:FlowPanel g:InlineHyperlink . * g:FlowPanel addStyleName={style.floatLeft}* g:InlineHyperlink text=Home targetHistoryToken=home / g:Image resource='{res.homeIcon}' / * /g:FlowPanel *

Re: cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread zixzigma
Thank you, sorry, I believe I did not ask the right question. didnt provide the context in which these are going to be used. this list, is going to be a roll-over list, meaning upon hovering the background changes. this can be done in css, and I am getting it to work with css inside uibinder.

Re: GWT External JARs and use on the Client Side

2011-01-13 Thread Ben Imp
The GWT compiler requires the Java source for any class you want to use on the client side, as part of its job is to translate that Java code to JavaScript. -Ben On Jan 13, 3:20 pm, Ryan Rathsam rrath...@gmail.com wrote: Hi All, Have a quick question. We're currently trying to use some

Re: cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread zixzigma
I got it to work. I used an HTMLPanel, and wrapped my g:image in html anchor a. therefore it appears to be a link and my css selectors for a:hover, applies to it, and the background color is highlighted upon hover. Thank You.. still would appreciate some tips on using images defined in the

Re: GWT throwing java.lang.UnsatisfiedLinkError when trying to make http requests using URL encoding

2011-01-13 Thread Y2i
... or HttpURLConnection http://download.oracle.com/javase/6/docs/api/java/net/HttpURLConnection.html -- 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

New logging api error with firebug lite

2011-01-13 Thread Ramon Salla
Hi, I guess I am doing something wrong: Log traces does not appear in Firebug Lite (ie8) but they are appearing in chrome console. Any idea? Ramon. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Server Log

2011-01-13 Thread pete
I actually found out how I can solve at least my case, I just extended RemoteServiceServlet (which I had done anyway with a GuiceRemoteServiceServlet). There in the catch clause of public String processCall(String payload){...} I just added my Log command, not it works and I see the RPC

Re: Dev plugin for firefox 3.7

2011-01-13 Thread csillag
On jan. 13, 21:33, Chris Conroy con...@google.com wrote: I had been using the sdk provided dynamic libraries for building, and looks like codesite wasn't happy with the 200+ meg files. http://code.google.com/p/google-web-toolkit/source/detail?r=9535adds the stripped versions of the missing

Re: GWT Visualization NoClassDefFoundError

2011-01-13 Thread Y2i
Is it possible that you didn't inherit from com.google.gwt.visualization.Visualization module? -- 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

How to handle com.google.apphosting.api.ApiProxy.CapabilityDisabledException

2011-01-13 Thread Jeff Schwartz
Hi all. It would be nice if I could catch CapabilityDisabledException on the client in the RPC calls onFailure callback methods but it appears it isn't possible; seems like the exception can only be declared in server code so I came up with another solution and would like your feedback. I am

Re: Multi-Module Project and Servlet Mappings

2011-01-13 Thread Y2i
What if you remove servlet/ from *.gwt.xml and configure servlets only from web.xml? The xml reference says that *The servlet element applies only to GWT's embedded server server-side debugging feature.* *NOTE: as of GWT 1.6, this tag does no longer loads servlets in development mode, instead

Re: How to handle com.google.apphosting.api.ApiProxy.CapabilityDisabledException

2011-01-13 Thread Y2i
This will work fine. Just two notes: MyCapabilityDisabledException can extend Exception, it does not have to extend Throwable. You can also use if(caught instanceof MyCapabilityDisabledException) instead of re-throwing caught in onFailure() -- You received this message because you are

Re: Multi-Module Project and Servlet Mappings

2011-01-13 Thread Allen Holub
Already doing that. None of the *.gwt.xml files have servlet/ elements in them. On 1/13/11 4:42 PM, Y2i wrote: What if you remove servlet/ from *.gwt.xml and configure servlets only from web.xml? The xml reference says that *The servlet element applies only to GWT's embedded server

is it possible to develop custom reusable widgets using UiBinder ?

2011-01-13 Thread zixzigma
is it possible to develop custom reusable widgets using UiBinder ? or this is only possible within the Java code as outlined here [1] ? [1] http://code.google.com/webtoolkit/doc/latest/DevGuideUiCustomWidgets.html -- You received this message because you are subscribed to the Google Groups

Re: setwidth and setCellWidth of the VerticalPanel

2011-01-13 Thread John LaBanca
It extends CellPanel, which says that its widgets are contained in the cells of a table, but you'd have to know to look at the super class and you'd have to be familiar with how tables handle their contents. So, we should update the JavaDoc to explain better how table based panels work in

how to inject ClientBundle using GIN to avoid GWT.create

2011-01-13 Thread zixzigma
given we have a client bundle: public interface MyResource extends ClientBundle {} in our widget: public class MyWidget extends Composite { MyResource resource = GWT.create(MyResource.class); // resource.myresource how can we inject ClientBundle, so that we can do away with GWT.create for

Speed of UI tests with WebDriver

2011-01-13 Thread Kyle Baley
We're starting to make pretty heavy use of UI tests via WebDriver (using Cucumber and Capybara). The major stumbling block has been the speed under which they run. Running locally, with the gwt.codesvr parameter, the tests take the better part of an hour which means no one will run them locally.

Re: how to inject ClientBundle using GIN to avoid GWT.create

2011-01-13 Thread David Chandler
This will work as long as the class into which you're injecting the ClientBundle is itself instantiated via GIN. For more info, see http://turbomanage.wordpress.com/2009/10/02/gwt-easy-i18n-with-gin/ HTH, /dmc On Thu, Jan 13, 2011 at 9:54 PM, zixzigma zixzi...@gmail.com wrote: given we have a

Re: How to handle com.google.apphosting.api.ApiProxy.CapabilityDisabledException

2011-01-13 Thread Jeff Schwartz
On Thu, Jan 13, 2011 at 8:26 PM, Y2i yur...@gmail.com wrote: This will work fine. I was hoping that would be the case. :) Just two notes: MyCapabilityDisabledException can extend Exception, it does not have to extend Throwable. You can also use if(caught instanceof

Re: is it possible to develop custom reusable widgets using UiBinder ?

2011-01-13 Thread Jeff Schwartz
Yes and no. You can create you custom widgets with UiBinder but you have to resort to mostly relying Composite and HTMLPanel and backing code until Google ramps up UiBinder. Then, once you components are built, you can reuse the them just like any other GWT widget in UiBinder by providing its

Re: is it possible to develop custom reusable widgets using UiBinder ?

2011-01-13 Thread Y2i
It is possible, very convenient and easy to import them to WindowBuilder. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email

Re: GWT throwing java.lang.UnsatisfiedLinkError when trying to make http requests using URL encoding

2011-01-13 Thread Ananda Matthur
Oh ok. Got the problem. Thanks a lot guys :) On 14 January 2011 04:24, Y2i yur...@gmail.com wrote: ... or HttpURLConnection http://download.oracle.com/javase/6/docs/api/java/net/HttpURLConnection.html -- You received this message because you are subscribed to the Google Groups Google Web

The web.xml file does not exist WEB-INF /FareScore/war -Google Web App Problem

2011-01-13 Thread Sudhakar
Guys, I created a new GWT project,I am getting this error. The web.xml file does not exist WEB-INF /FareScore/war -Google Web App Problem Please Help Regards, Sudhakar -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

problem applying CSS classes defined in ClientBundle

2011-01-13 Thread zixzigma
I am trying to use CSS classes defined in a ClientBundle to set the style for my widget. Unfortunately, the style is not applied. I use the very same ClientBundle to display an icon, and it works. I have put the style.css file within the same directory as MyResources.java clientbundle, they are

Re: is it possible to develop custom reusable widgets using UiBinder ?

2011-01-13 Thread zixzigma
I was thinking pure Java code might have been better, because everything would be encapsulated in single file, and properties can be set programmatically. when developing re-usable components with UiBinder, do you find yourself using MVP ? for example having a - Wdiget Interface - WidgetImpl

Re: The web.xml file does not exist WEB-INF /FareScore/war -Google Web App Problem

2011-01-13 Thread zixzigma
do you have a web.xml file in your webapp/WEB-INF directory ? -- 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

Re: The web.xml file does not exist WEB-INF /FareScore/war -Google Web App Problem

2011-01-13 Thread Sudhakar
no i couldnt find any On Thu, 2011-01-13 at 21:10 -0800, zixzigma wrote: do you have a web.xml file in your webapp/WEB-INF directory ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: The web.xml file does not exist WEB-INF /FareScore/war -Google Web App Problem

2011-01-13 Thread zixzigma
you need to create one: if you use GWT Eclipse file, it creates one for you. here is GWT tutorial on a sample app : http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application

Re: is it possible to develop custom reusable widgets using UiBinder ?

2011-01-13 Thread Y2i
I use Widget Widget.Presenter (nested interface) WidgetImpl WidgetImpl.ui.xml WidgetImpl does not look nice, but at least it's consistent with the MVP pattern. Having Widget.Presenter nested is also not necessary. Even though the MVP-based WidgetImpl's are re-usable, I'm not embedding them

Re: problem applying CSS classes defined in ClientBundle

2011-01-13 Thread Y2i
You might have forgotten to call ensureInjected() on your style (the one that extends CssResource) -- 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

Re: Speed of UI tests with WebDriver

2011-01-13 Thread Y2i
This might not suit your team well, but the ability to run plain JUnit is one of the major reasons I moved to the MVP pattern: http://code.google.com/webtoolkit/articles/mvp-architecture.html#testing -- You received this message because you are subscribed to the Google Groups Google Web

Re: change the generated project template

2011-01-13 Thread JaySicks
Cool, thanks. On Jan 13, 8:07 am, Jaime Wren jw...@google.com wrote: In the New Web Application Project wizard, a new option has been added to Generate GWT project sample code. The option is selected by default, but when de-selected, it will generate an empty project with the selected Google

Re: Server Log

2011-01-13 Thread Sripathi Krishnan
The correct way is to override doUnexpectedFailure(Throwable e)http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/server/rpc/AbstractRemoteServiceServlet.html#doUnexpectedFailure(java.lang.Throwable)in your custom RPC Servlet. That way you won't have to change GWT's code.

Re: is it possible to develop custom reusable widgets using UiBinder ?

2011-01-13 Thread Jeff Schwartz
I don't think there is any advantage to having everything in a single file. In fact it sort of goes against the grain of Java development if you think about it. At least that's the way I see it. Besides, complex composites might use composition, using other widgets and composits. Surely these

Re: is it possible to develop custom reusable widgets using UiBinder ?

2011-01-13 Thread zixzigma
Thank you very much for sharing your experience. on this comment, I also pay close attention to widget lifecycles which is critical to successful implementations of widgets that get attached, detached and reattached and so on and so on. why widget lifecycle is important ? why is it important

No handlers matched this URL / The requested URL was not found on this server.

2011-01-13 Thread cfvi...@gmail.com
I've been working on a simple project to learn GWT/GAE using the eclipse 3.6 plugin. Everything was working, then my computer went down, and when I restored the project I started getting this error: The requested URL code/project/query/code was not found on this server. The log shows the

  1   2   >