User.agent detection in CssResource not working?

2010-03-10 Thread dougx
I'm havign trouble with a CssResource I'm using. This is my css: .Box { border: 1px solid #f00; } @if user.agent ie6 { .Box { background: #f00; } } It's pretty much straight out of the example here:

Re: Serializing a List

2010-03-10 Thread mmoossen
thanks eric for the info. that seems to be an interesting project. Michael On Mar 9, 5:19 pm, Eric erjab...@gmail.com wrote: On Mar 9, 2:41 am, mmoossen mmoos...@gmail.com wrote: i found the problem inhttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/... line 114:

Re: server side internationalization

2010-03-10 Thread mmoossen
that looks really great. thanks for sharing Michael On Mar 10, 7:32 am, Sebastien chassa...@gmail.com wrote: Hi I extracted the code to a dedicated project:http://code.google.com/p/gwt-i18n-server/ Now It supports Constants, ConstantsWithLookup, Messages (plural included). Regards, Seb

No source code is available for type com.google.gwt.maps.client

2010-03-10 Thread Muthu
I followed the instructions from the following site http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apist=MapsGettingStarted to add maps to my GWT application. Had the inherits as well inherits name=com.google.gwt.maps.GoogleMaps / And also added the gwt-maps.jar in my

Re: How to integrate GWT application with IBM Websphere Portal

2010-03-10 Thread Muthu Lalapet
You could take a GWT module and embed in any web page and Portal being a web page I guess you could do that. However the question is can we share the sessions between all these.. I don't think so. On Tue, Mar 9, 2010 at 11:49 PM, kbalasmile bala.kuma...@gmail.com wrote: Hi guys, I

Re: GWT Compilation Failed

2010-03-10 Thread Muthu
Just and update.. Fixed this issue. I was repeating add-linker in the gwt.xml file. These linkers are added by the modules that I was inheriting. When I removed the duplciate add-linker then the issue was resolved. On Mar 9, 7:07 pm, Muthu muthulala...@gmail.com wrote: Any help with this?? I'm

Re: Debug Gadget GWT 2.0

2010-03-10 Thread flokay
Is there any news on this issue? -- 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

Client side error

2010-03-10 Thread Joe Cole
I saw an error today which has me puzzled: com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.__gwt_globalEventArray.length' is null or not an object number: -2146823281 description: '$wnd.__gwt_globalEventArray.length' is null or not an object This doesn't really make sense to

Re: How to integrate GWT application with IBM Websphere Portal

2010-03-10 Thread Vasem Want
yes session sharing is possible and you can achieve this in a distributed environment within web and app cheers vas On Wed, Mar 10, 2010 at 4:45 PM, Muthu Lalapet muthulala...@gmail.comwrote: You could take a GWT module and embed in any web page and Portal being a web page I guess you could

Re: external.gwtOnLoad is not a function : external.gwtOnLoad(window, null, 1.6); line 32

2010-03-10 Thread Zied Hamdi http://nextstreet.eu
I forgot to say that I found the solution thanks to Broyer: http://code.google.com/p/google-web-toolkit/issues/detail?id=4274 Comment 6 by t.broyer, Dec 15, 2009 @zhamdi.into: this line comes from an app compiled with GWT 1.6 or 1.7, not an app compiled with GWT 2.0. Compare

Re: external.gwtOnLoad is not a function : external.gwtOnLoad(window, null, 1.6); line 32

2010-03-10 Thread Zied Hamdi http://nextstreet.eu
Hi bcsumner, Thanks for your help, strange that I didn't receive the post in my inbox. I got the problem again and that pointed me back to this page :-). (At that time I received and answer on http://code.google.com/p/google-web-toolkit/issues/detail?id=4274 (which is a well referenced site so

gwt large data

2010-03-10 Thread gadaleta.marco
Hi @all, I'm trying to receive from server a json array string that contains large data (3000 record from remote mysql db). If I try to run the code on android phone, it crash. There is a way to compress this array? There is a strategy to use to communicate with server? How i can use input and

Re: How can I join to development gwt eclipse plugin together?

2010-03-10 Thread Bonor
Hi Lee, What would be great is an Eclipse plugin that can transalate properties files with the push of a button (google api http://code.google.com/p/google-api-translate-java/). This is of course not only useful for GWT developers... -- You received this message because you are subscribed to the

Re: Debug Gadget GWT 2.0

2010-03-10 Thread Andrés Cerezo
I've solved it installing Eclipse in linux and everything worked perfectly. Cheers. 2010/3/10 flokay f.kar...@cadenas.de: Is there any news on this issue? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: GWT Tree

2010-03-10 Thread Andrés Cerezo
Perhaps this can help you too: http://www.extjs.com/examples/pages/tree/basic.html 2010/3/8 Jim Douglas jdoug...@basis.com: http://gwt.google.com/samples/Showcase/Showcase.html#!CwTree On Mar 8, 11:18 am, NeeravA neerav...@gmail.com wrote: Hi, When i am creating a tree I am loading all

Re: gwt large data

2010-03-10 Thread mariyan nenchev
Try paging your data :) -- 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

Server push in GWT? XMPP?

2010-03-10 Thread jbdhl
I'm building an application that needs to display updated data to the user as soon as they are received/created on the server. In Jetty I could just use continuations for that, but what can I do in App Engine? Can XMPP be used for server push (and how)? -- You received this message because you

GWT + URL Rewriting (Apache)

2010-03-10 Thread jbroquefere
Hello everybody, i have to publish my gwt app under jkmount + url rewriting. Just under jkmount, everything works fine but when i use url rewriting, it does not work. I have thie error (on my tomcat console): com.google.gwt.user.client.rpc.SerializationException: Type 'com.my.comp.MyObject' was

Re: Serializing a List

2010-03-10 Thread Paul Stockley
I had exactly the same problem as this but it had nothing to do with lists. The problem seemed to be that I was returning a type with a generic argument i.e. ResultString As soon as I removed the generic part it worked. -- You received this message because you are subscribed to the Google Groups

Re: GWT + URL Rewriting (Apache)

2010-03-10 Thread rudolf michael
you need to know that GWT/ajax does not allow cross domain communication. Apparently you have a security problem with cross domain communication. On Wed, Mar 10, 2010 at 2:34 PM, jbroquefere jeanbaptiste.roquef...@gmail.com wrote: Hello everybody, i have to publish my gwt app under jkmount +

Re: Window.open can not work in IE

2010-03-10 Thread malliseven.hills
Hi, it would be usefull public static native void windoOpen(String pUrl)/*-{ if ($wnd.showModalDialog) { var height = screen.height; var width = screen.width;

Re: Cookie

2010-03-10 Thread malliseven.hills
Hi, i guess it would be useful. public static void setCookie(String pSessionId){ Date lCurrentDate = new Date(); long lCurrentTime = lCurrentDate.getTime(); lCurrentTime = lCurrentTime+(1000*60*30); //30 min lCurrentDate.setTime(lCurrentTime);

Re: Need DialogBox with close icon in caption bar

2010-03-10 Thread malliseven.hills
Hi, FlexTablePanel lFTabPanel = new FlextTablePanel(); DialogBox lAddModuleDialogBox = new DialogBox(); Image m_Image = new Image(path of image); i.e image/cancel.jpg lFTabPanel .setWidget(0,1,m_Image); lAddModuleDialogBox.add(lFTabPanel ); .

GWT Bender - web based RAD tool to create GWT applications in a browser

2010-03-10 Thread Max
GWT Bender is web based tool to create GWT applications in browser. GWT Bender produces Java and CSS files that are copied in eclipse (manually or automatically) Every widget is named automatically var1, var2, var3 (You can change widget name later) It is possible to write descriptions instead

Re: GWT Bender - web based RAD tool to create GWT applications in a browser

2010-03-10 Thread Max
All widget properties appear in right panel, including CSS. So you do not have scroll source files (java, css) to adjust widget properties. styleClass and elementID are set in one click and then css box is listed in bottom of right panel. GWT Bender coding is much faster and reliable then manual

Re: GWT + URL Rewriting (Apache)

2010-03-10 Thread jbroquefere
in my configuration, domain is the same in tomcat http://mydomain:8080/MyApp/ with jkmount http://mydomain/MyApp/ and the last step which doesnt work http://mydomain/ the html file is found, but the first call to the service failed. On Mar 10, 1:41 pm, rudolf michael roud...@gmail.com wrote:

Problems with center form panel

2010-03-10 Thread asle
Hello: We have a gwt project,our web page contains a panel and inside the panel we have a form panel for the login in the web page, for the web page we use css. We have a problem to center a panel in google chrome because align to left. We have not problem with explorer. But we want to use

DialogBox size

2010-03-10 Thread Fran
Hi, Why I cant extends the width of a DialogBox more than 350px ? The code: DialogBox dialogBox = new DialogBox(); dialogBox.setWidth(600px); Is the same result that: DialogBox dialogBox = new DialogBox();

Re: GWT Bender - web based RAD tool to create GWT applications in a browser

2010-03-10 Thread mariyan nenchev
Great job! This is very useful for beginners and non developers and why not also for developers. What is the license of this tool? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

ResultSet Json

2010-03-10 Thread gadaleta.marco
I've seen the possibility to bind json object to datagrid for example. Exist a method to convert ResultSet client side (sqllite) to json object? Thank you Marco -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: GWT + URL Rewriting (Apache)

2010-03-10 Thread rudolf michael
http://mydomain:8080/MyApp/ is NOT the same as http://mydomain/MyApp/ http://mydomain/MyApp/those are 2 different domains. On Wed, Mar 10, 2010 at 3:34 PM, jbroquefere jeanbaptiste.roquef...@gmail.com wrote: in my configuration, domain is the same in tomcat http://mydomain:8080/MyApp/

returning resutl of OS command into the browser

2010-03-10 Thread ntdeaf
Hi all! I'm trying to create an web interface around some scripts which run on a server. I want to offer the users an website where they can use the fileUpload widget from GWT, and then follow the output of the file (it is an source file which get compiled) in the browser. I'm able to upload the

Re: GWT + URL Rewriting (Apache)

2010-03-10 Thread jbroquefere
yes, but this step works fine i said :) in tomcat http://mydomain:8080/MyApp/ with jkmount http://mydomain/MyApp/ - this one works fine after this step, i want to ise apache url rewriting to access my site directly with http://mydomain/ the Myapp.html is found, because widgets are displayed,

Re: GWT + URL Rewriting (Apache)

2010-03-10 Thread rudolf michael
Check this out, http://raibledesigns.com/rd/entry/how_to_do_cross_domain#proxyServlet http://raibledesigns.com/rd/entry/how_to_do_cross_domain#proxyServlethope that this will help you. you cannot cross domain AJAX calls == http/rpc requests, i wasn't pointing to the static content like

Servlet Mapping Noob Question

2010-03-10 Thread Ed
Hi Everyone, I hope I am able to get an answer to this. I am trying to tie a backend servlet process to a GWT servlet. How do I map this to work properly I am using Jetty 6 GWT 2.01 Eclipse Ganymeade Here is the code

Re: GWT website disappear when I activate DragonFly on Opera

2010-03-10 Thread Amine Ouahman
As I open DragonFly, only the HTML backgroud stand still, all the javascript interface disappear, and I saw no errors. -- 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: serving my app in production

2010-03-10 Thread ntdeaf
I'm afraid I can't help you with that part. I never used compression (yet) on my apps. On Feb 26, 6:03 pm, mmoossen mmoos...@gmail.com wrote: hi ntdeaf! i know how to setup apache, mod_jk and tomcat. my question was more in the direction of using mod_deflate on apache or using the

How to remove border frame in IE.

2010-03-10 Thread mariyan nenchev
Hi, I use gwt frame to load external page. It's css includes border: none. But this does not work in IE. I also tried border: 0px; with no effect. Any ideas how to remove the frame border in IE? Regards. -- You received this message because you are subscribed to the Google Groups Google Web

Re: DialogBox size

2010-03-10 Thread Paul Stockley
Set width and height don't work. I submitted a bug report that has been accepted. The only reliable way to do it currently is to set the width and height of the first container widget you add to the dialog. -- You received this message because you are subscribed to the Google Groups Google Web

Intercepting all gwt rpc calls on gwt (browser) side.

2010-03-10 Thread Alexander Cherednichenko
Is this ever possible? My case is pretty simple - I want to detect when was the last call made to have the 'session expiration' kind of functionality. For this I wanted to have all the calls to the server intercepted and scheduled the timer for session lifetime each time. Once the timer fires

Re: serving my app in production

2010-03-10 Thread Chris Lercher
I think he isn't doing cross domain calls (the redirect is just from http://mydomain/ to http://mydomain/MyApp/) There was someone with a very similar question on this forum just a few days ago (I can't find the post anymore, maybe you'll find it). I think the solution may have had something to

Re: GWT + URL Rewriting (Apache)

2010-03-10 Thread Chris Lercher
I think he isn't doing cross domain calls (the redirect is just from http://mydomain/ to http://mydomain/MyApp/) There was someone with a very similar question on this forum just a few days ago (I can't find the post anymore, maybe you'll find it). I think the solution may have had something to

Re: serving my app in production

2010-03-10 Thread Chris Lercher
Sorry, I posted in the wrong topic... On Mar 10, 4:24 pm, Chris Lercher cl_for_mail...@gmx.net wrote: I think he isn't doing cross domain calls (the redirect is just fromhttp://mydomain/tohttp://mydomain/MyApp/) There was someone with a very similar question on this forum just a few days

Re: GWT + URL Rewriting (Apache)

2010-03-10 Thread rudolf michael
hey Chris, You missed out the port 8080. apparently he is using apache on port 80 and tomcat on port 8080. http://mydomain:8080 is not the same as http://mydomain. those are 2 different domains. On Wed, Mar 10, 2010 at 5:25 PM, Chris Lercher cl_for_mail...@gmx.netwrote: I think he isn't doing

Re: DialogBox size

2010-03-10 Thread Paul Stockley
Forgot to mention, make sure in your main application css file there isn't an entry like .gwt-DialogBox { width: 350px; } If there is, remove it. On Mar 10, 10:21 am, Paul Stockley pstockl...@gmail.com wrote: Set width and height don't work. I submitted a bug report that has been accepted.

Re: Intercepting all gwt rpc calls on gwt (browser) side.

2010-03-10 Thread mariyan nenchev
Yes just use import javax.servlet.Filter; -- 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

beta eclipse plugin - running in noserver mode with tomcat - having troubles

2010-03-10 Thread bkbonner
Keith, I'm trying to run our app using the eclipse beta plugin. I'm not sure if I have things configured correctly. The tree for our app is like: src\main\java\com\test\gwt\App.gwt.xml src\main\java\com\test\gwt\client\Application.java ... src\main\webapp\ src\main\webapp\WEB-INF

Re: GWT + URL Rewriting (Apache)

2010-03-10 Thread Chris Lercher
Hey Rudolf, well, I don't think so! As long as he isn't redirecting from http://mydomain to http://mydomain:8080 (and according to his description, he doesn't), everything is fine. He's using jk to mount the tomcat dir internally, but that's ok. Chris On Mar 10, 4:30 pm, rudolf michael

Re: UiHandler ignores/loses first click/key-press

2010-03-10 Thread Michael
FWIW this seems to happen using GWT 2.0.1 in DevMode - but works properly once deployed and served normally. -- 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

Re: Servlet Mapping Noob Question

2010-03-10 Thread Ed
Can some at least tell me what to search for... I know this has happened to others but cant seem to get any answers. Thanks in advance. On Wed, Mar 10, 2010 at 9:51 AM, Ed ej19...@gmail.com wrote: Hi Everyone, I hope I am able to get an answer to this. I am trying to tie a backend servlet

Re: How to correct IE font size problem?

2010-03-10 Thread jaga
Hi, I solved this by setting the XML Doc Type to Standards mode. GWT sets this to quirks mode by default. A quick fix but may have far reaching consequences to how your app's look and feel. Look in your application's HTML file and set this at the top. Cheers, Jaga On Mar 4, 8:57 pm, Sorinel C

Re: Servlet Mapping Noob Question

2010-03-10 Thread Víctor Llorens Vilella
I don't know now what the problem is, but you should start googling for GWT 405, and you will surelly have the solution within the first set of links. Greetings, On 10 March 2010 17:12, Ed ej19...@gmail.com wrote: Can some at least tell me what to search for... I know this has happened to

Re: Servlet Mapping Noob Question

2010-03-10 Thread Ed
Thanks, I was using that as an example to show that the service is answering. It is doing what is expected because it is a rpc service. Any other ideas, Perhaps it is not possible to this with separate source code trees. e 2010/3/10 Víctor Llorens Vilella victor.llor...@gmail.com I don't

Re: Servlet Mapping Noob Question

2010-03-10 Thread olivier nouguier
java.lang.NoClassDefFoundError: com/co/ SSISSERVER/users/UserServiceImpl On Wed, Mar 10, 2010 at 5:34 PM, Ed ej19...@gmail.com wrote: Thanks, I was using that as an example to show that the service is answering. It is doing what is expected because it is a rpc service. Any other ideas,

Re: beta eclipse plugin - running in noserver mode with tomcat - having troubles

2010-03-10 Thread bkbonner
OK, it looks like the -noserver doesn't get injected into the debug configuration based on any of the GWT Toolkit settings. I don't have it working yet, but I've tried: -remoteUI ${gwt_remote_ui_server_port}:${unique_id} -startupUrl http://localhost:8080:/testproject/loganalyzer.html -logLevel

UiBinder with background-image and ImageResource

2010-03-10 Thread Michael
Hi there, I'm having a go at using the declarative layout and was wondering if there's a way of using an image declared in a ClientBundle as a background-image in the ui:style section, thus: ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui

Re: unable to display a pound sign

2010-03-10 Thread Paul Robinson
Try reading this: http://www.joelonsoftware.com/articles/Unicode.html You're probably not declaring the encoding, or you've declared an encoding that doesn't do what you want. HTH Paul smiffy wrote: Any bright ideas why my GWT app is unable to display the pound sign (U +00A3) ? I am using

Re: How to correct IE font size problem?

2010-03-10 Thread Thad
I was having font and other alignment issues until--on advice from someone here--I switched to strict mode: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/ TR/html4/strict.dtd This has been very helpful, and I've not noticed any problems with it. You might also see

Re: Servlet Mapping Noob Question

2010-03-10 Thread Ed
This query returned alot of hits. Dont think it is relevant to this question directly. It is the result of a bad setup somewhere or some missing code or missing understanding on my part. Ed On Wed, Mar 10, 2010 at 11:38 AM, olivier nouguier olivier.nougu...@gmail.com wrote:

Re: beta eclipse plugin - running in noserver mode with tomcat - having troubles

2010-03-10 Thread bkbonner
I'm trying to futz with the classpath. Based on this link: http://www.google.com/url?sa=tsource=webct=rescd=3ved=0CBAQFjACurl=http%3A%2F%2Fosdir.com%2Fml%2FGoogle-Web-Toolkit%2F2009-11%2Fmsg01366.htmlei=YOKXS57fKMyztgfEr83kAQusg=AFQjCNGgNeNStK2IajqxWTdSYoEfJU47tgsig2=7INbMDSFfWNrcyKbyjoNaQ Brian

Re: beta eclipse plugin - running in noserver mode with tomcat - having troubles

2010-03-10 Thread bkbonner
Looks like moving GWT SDK 2.0.3 to the top of the Java Build Path (Order and Export) did the trick. That was frustrating -- any way of giving a better message to devs about that? Brian On Mar 10, 1:18 pm, bkbonner brian.bon...@paraware.com wrote: I'm trying to futz with the classpath.  Based

Re: beta eclipse plugin - running in noserver mode with tomcat - having troubles

2010-03-10 Thread bkbonner
Oh, this is painful. Definitely passed the 15 min test. 13:25:15.450 [DEBUG] [Application] Rebinding com.test.gwt.client.ActivityLogView.ActivityLogViewUiBinder 13:25:15.465 [DEBUG] [Application] Invoking com.google.gwt.dev.javac.standardgeneratorcont...@9647d6 13:25:15.543 [ERROR] [Application]

Re: beta eclipse plugin - running in noserver mode with tomcat - having troubles

2010-03-10 Thread bkbonner
Gosh darn it. I must have hit an extra '' in the ActivityLogView.ui.xml file. criminy. Sorry folks. Still having trouble: 13:48:07.582 [ERROR] [Application] Failed to create an instance of 'com.test.gwt.client.ActivityLogView' via deferred binding java.lang.VerifyError: (class:

Re: UiBinder with background-image and ImageResource

2010-03-10 Thread davidroe
this is how I did it. in whatever.css: @sprite .myClass { gwt-image: myImage; width: auto; height: auto; background-repeat: repeat; background-position: 0% 0%; } in Resources.java: public interface Resources extends ClientBundle { ... public interface WhateverCss extends

junit tests in Eclipse - NoSuchMethodError: org.apache.catalina.startup.Embedded.setDebug

2010-03-10 Thread gcauchon
I'm developing a lightweight webapp prototype using eclipse. Dev-wise everything work like a charm even if I need to deploy in JBoss instead of the built-in server (jetty?). Somehow, as soon as I try to run the simplest juint test on my model, it fails with the following error:

Debugging GWT and Servlet Using Eclipse and WebLogic

2010-03-10 Thread Anoop
Hi, I am new to GWT, using it only from last 2 weeks. I am using GWT 2.0.2 with Eclipse Galileo and the web server is WebLogic. After deploying the project in weblogic I try to debug it using eclipse. But the break points are only hit for servlet code and not for GWT related code. I tired

Access ejb from ServiceImpl

2010-03-10 Thread Drolyk
Hi All. I have a question about accessing ejb from gwt services. If i do mannual lookup like this: try { Context ctx = new InitialContext(); testEjb = (TestEjbLocal) ctx.lookup(Test/TestEjb/local); testEjb.test();

GWT Bender - web based RAD tool to create GWT applications in a browser

2010-03-10 Thread PyraNinja
I developed GWT Bender in august, 2009 and used it with GWT projects I am developing. It was improved many times. It is web based tool where you can add widgets to tree on left panel and set widget properties (including css) on right panel. GWT Bender produces Java and CSS file that is copied in

Using Maven plugin with spring 3.x results in No source code is available for type ...; did you forget to inherit a required module? while compiling

2010-03-10 Thread Ludovic JEANSON
Hi all, I'm realizing a webapp using Spring 3.x and GWT 2.0 with deployment supported by Maven (I use Spring IOC and MVC). The structure of my project is as follow: - src -main -java -com.ecp.gwt -Weather.gwt.xml -com.ecp.gwt.client

access ejb from gwt ServiceImpl

2010-03-10 Thread Roman Makurin
Hi All! Its my first post here :) my system is: linux x86_64, eclipse 3.5, gpe 1.2, gwt-2.0.3, jboss 5.1 I have a ear project which include war and ejb parts in it. Web part based on servlets, and im using constructions like public class MyServlet extends HttpServlet { @EJB

Communication between two browser windows

2010-03-10 Thread Anders
Hey, I'm working on an app where the user clicks on a link in browser window A in order to open a new browser window B. In browser window B the user fills out a form and submits this to the server. The response is either an application/octet-stream (a binary file generated on the server) or just

GWT code server disconnected after 150+ tests

2010-03-10 Thread matthew
using GWT 2.0.3 and Eclipse 3.4.1 and JDK/JRE 1.6; GWT 2.0 worked excellent for over 150+ successful tests, then started to receive GWT code server disconnected. I setup Eclipse run configuration Environment variable to gwt.codesvr=localhost:9997; still not connecting. then I started Debug found

GWT JFreeChart: problems with DisplayChart and getting a chart image to show

2010-03-10 Thread David Leung
Hi, everyone. I'm trying to use JFreeChart's DisplayChart servlet to serve me back an image. Right now, I'm not getting anything and no errors are being thrown, and I'm wondering if anyone can help me with that. This is my ChartImage class: public class ChartImage extends Image { [...]

How to generate a module to a specific (sub)path?

2010-03-10 Thread Arny
Hi, Is there a way to force GWT to generate the Javascript files to a sub directory instead of root? Tried rename-to=foo/bar, but seems like a bad idea. Thanks Arny -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

SerializationException for InvocationException

2010-03-10 Thread Angelika
Hi! We have written a Client/Server application with GWT 2.0 which works fine on most computers. But on one installation we get the following error message when we try for example to load data into the server via a form submit: Exception while dispatching incoming RPC call

Re: New window like Gmail has now

2010-03-10 Thread 10wattmindtrip
I'm new to GWT also. I think that feature is an iframe. Though, I could be wrong. On Mar 9, 6:18 pm, Dan danpr...@gmail.com wrote: Gmail recently added the new fast new window functionality. See here if you are not familiar: http://gmailblog.blogspot.com/2010/03/fast-new-windows.html It

Debugging GWT 2.0 Client-side and Server-side, using Eclipse/Tomcat 6.0

2010-03-10 Thread Jay
Hi All, I am having troubles debugging my Client-side GWT code when running it using my data server. I develop my GWT front-end using Mock data, to simplify development and reduce dependency on the server, but when bringing them together, the data sent from the server doesn't always match the

Re: GWT Bender - web based RAD tool to create GWT applications in a browser

2010-03-10 Thread Max
Right. Artem (PyraNinja) coded it but google moderation has not accepted his post so I re-posted it. On Mar 9, 9:54 pm, PyraNinja pyramid.ni...@gmail.com wrote: I developed GWT Bender in august, 2009 and used it with GWT projects I am developing. It was improved many times. It is web based

Re: Access ejb from ServiceImpl

2010-03-10 Thread Chris Lercher
Hi, 1) Make sure you're using a JavaEE container that works with EJB = 3.0. 2) If you do, you may face the same problem I had some time ago: GWT usually uses a Deployment Descriptor (web.xml) in version 2.3. This basically disables the EJB 3.x functionality. Make sure to change your Deployment

Re: access ejb from gwt ServiceImpl

2010-03-10 Thread Chris Lercher
Hi, just gwt-compile the GWT parts using gwtc (In Eclipse, use the red GWT Compile Project icon. Or alternatively use the ant target gwtc or war from the build.xml that webAppCreator created for you.) You can basically treat the compiled result as if it were static HTML content in a web project -

Re: Inconsistant Debug-mode URL Causing Considerable Grief

2010-03-10 Thread Chris Ramsdale
Comments in line below: For various reasons, my application has to generate URLs for pages/ servlets/etc. in the same webapp (for things like images held in my database and served by a servlet). It's incredibly annoying that, when I'm debugging, I need to use a URL that looks like this:

Conditional code splitting

2010-03-10 Thread Jonathan
Has anyone come up with a good solution for conditional code splitting? Code splitting increases compilation time which we want to avoid during normal development. It would be nice if GWT provided a simple means of disabling it through the module descriptor file similar to how you can alter the

EJB 3 + Guice2.0 + Tomcat 6 / Glassfish 3

2010-03-10 Thread opn
Hello! I found an interesting blog entry today and tried to implement it in a test application. Here is the url: http://gianluigidavassiuk.blogspot.com/2009/11/ejb3-plus-guice-how-exotic-part-3.html Now, as mentioned in the topic, im using Glassfish that runs in netbeans or i have a tomcat 6

Re: EJB 3 + Guice2.0 + Tomcat 6 / Glassfish 3

2010-03-10 Thread opn
Sorry, i dont know how to edit the text. (Is it possible?) If i now would have a running NiceClass, could i inject it somewhere with guice as i would with any other class? Bye On 10 Mrz., 22:03, opn open...@gmx.net wrote: Hello! I found an interesting blog entry today and tried to implement

Re: EJB 3 + Guice2.0 + Tomcat 6 / Glassfish 3

2010-03-10 Thread Chris Lercher
Hi, you're probably looking for the portable JNDI syntax, as explained here: http://java.sun.com/javaee/6/docs/tutorial/doc/gipjf.html And one last question, in the end the author mentions that the @Named annotation is not useful. How would it look like without it? I think he probably means

Re: UiBinder with background-image and ImageResource

2010-03-10 Thread Michael
Thanks Dave, That will probably do the trick. Somehow I had hoped that ui:with field=res type=com.mycompany.MyClientBundle/ ui:style .myClass { background-image=url('res.myImage'); } /ui:style would have been enough - so much less typing! Anyone from the Dev Team reading this?? ;) Cheers

handle to innerHTML objects

2010-03-10 Thread BCR666
I have created a table in a vertical panel like so: String innerHtml = table id='details' class='details' tabIndex='3'trth1/thth2/th/trtrtdA/tdtdB/td/tr/table VericalPanel vPanel = new VerticalPanel(); vPanel.getElement().setInnerHTML(innerHtml); This creates my table nicely and fast. But now I

Re: UiBinder with background-image and ImageResource

2010-03-10 Thread MH
I'm afraid this one does not work for me. I did exactly as mentioned, and my widget seems to be not using style at all. Shall I also add anything to the class itself? 2010/3/10 davidroe roe.da...@gmail.com this is how I did it. in whatever.css: @sprite .myClass { gwt-image: myImage;

Re: Communication between two browser windows

2010-03-10 Thread PKolenic
Does the form really need to be in a new window? If not, want I would do is use a dialog box. You can set the dimensions however large you need. If would then be in the same window, when they press the submit button it could send the result to the server, and the callback function would be in the

GWT + Authorization form

2010-03-10 Thread Flippik
Hi 2 everybody. Sorry, I'm going to ask you not a very clever question but I have to do it. I need to implement an authorization form for my GWT 2.0 application. I have searched a lot in google, found tons of information but failed to find anything to help me. All examples are actual for GWT 1.5,

Re: GWT + Authorization form

2010-03-10 Thread maratkalibek
Hello, try to use security filter, which determines if there special parameter in session. If there is no such parameter, simply redirect to login page, which also can be another compiled gwt module. On 11 мар, 04:59, Flippik pindryu...@gmail.com wrote: Hi 2 everybody. Sorry, I'm going to ask

Re: handle to innerHTML objects

2010-03-10 Thread Paul Stockley
You can only add handlers to Widgets. So you will have to create a widget, set the widget's element equal to the table element you created. Then add this widget to the vertical panel. To get the table element you can use something like Document.get().getElementById(details); I haven't tried this

Redraw layout on orientation change

2010-03-10 Thread Sekhar
I'm building a GWT layout (UiBinder) for mobile WebKit browsers. How would you redraw the layout when the orientation changes, say from portrait to landscape? I'm able to set the new width, but the layout isn't redrawing. -- You received this message because you are subscribed to the Google

CssResource user.agent problem?

2010-03-10 Thread dougx
Sorry if this is a double post; I thought I posted a message about this before but it's been 24 hours and it still hasn't shown up... So, long story short, I can't get the @if user.agent syntax to work in gwt 2.0.3. Does anyone know how to use this correctly? This is my style sheet: .Box {

Re: CssResource user.agent problem?

2010-03-10 Thread dougx
Sorry, my bad (it did turn up: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/40fed6fce8c222f6). It just isn't showing up in the search results for some reason. On Mar 11, 10:32 am, dougx douglas.lin...@gmail.com wrote: Sorry if this is a double post; I thought I posted a

Re: Redraw layout on orientation change

2010-03-10 Thread Sekhar
Looks like a timing issue. I have a setWidth() for the root panel wrapped under DeferredCommand.addCommand(), and it does resize sometimes, but not always (may be 2/3 of the time). I'd appreciate any help you can give! On Mar 10, 5:29 pm, Sekhar sek...@allurefx.com wrote: I'm building a GWT

Re: CssResource user.agent problem?

2010-03-10 Thread Sekhar
BTW, I believe user.agent can only be one of: ie6 gecko gecko1_8 safari opera. On Mar 10, 6:35 pm, dougx douglas.lin...@gmail.com wrote: Sorry, my bad (it did turn up:http://groups.google.com/group/google-web-toolkit/browse_thread/threa...). It just isn't showing up in the search results for

Re: handle to innerHTML objects

2010-03-10 Thread BCR666
I can't find any way to set the Widget's element. On Wed, Mar 10, 2010 at 7:15 PM, Paul Stockley pstockl...@gmail.com wrote: You can only add handlers to Widgets. So you will have to create a widget, set the widget's element equal to the table element you created. Then add this widget to the

Re: handle to innerHTML objects

2010-03-10 Thread Paul Stockley
I think its protected. You are going to have to subclass Widget and create a new class that takes an element as a constructor. Take a look at FocusWidget for an idea of how it is done. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: handle to innerHTML objects

2010-03-10 Thread BCR666
OK, not bad. I need the functionality of the FocusPanel anyway, so... vPanel.getElement().setInnerHTML(innerHtml); Element emtDetails = Document.get().getElementById(details); EmbededWidget widget = new EmbededWidget(emtDetails); TableFocusHandler handler = new

  1   2   >