Installer for Deploying GWT Applications

2009-08-04 Thread Simon
Hi All, Could someone guide me on how I can make an installer that can be used to deploy the GWT application I have developed? I intend to give it out to user, who doesn't have any technical knowledge on this. The user expects an installer where he can click all the way through, just like the

Re: Hosted mode doesn't work at all on my Vista notebook under Eclipse

2009-08-04 Thread Trevis
Well that was a hellish 3 hours of my life that i'll never get back. For some reason localhost isn't working on my notebook with jetty. 127.0.0.1 though does work with it. On Aug 4, 12:34 am, Trevis trevistho...@gmail.com wrote: Ok, so i compiled it, downloaded tomcat 6 and ran the tests there

Re: fileupload: ensuring the same file being uploaded

2009-08-04 Thread Vinz369
Hi Travis, Thanks for those hints. It looks helpful. I managed to get something running in the hosted mode, but I still get a 404 error when I place the code on my server. Her is my code on the server side:

Re: General Question about Coding

2009-08-04 Thread Norman Maurer
Check your imports... There are to NodeList in GWT: com.google.gwt.dom.client.NodeList com.google.gwt.xml.client.NodeList You should be sure you import com.google.gwt.xml.client.NodeList not com.google.gwt.dom.client.NodeList. Thats the cause of the error.. Bye, Norman 2009/8/3 Rahul

Re: Using SOYC

2009-08-04 Thread Baptiste Boussemart
Thanks a lot for this post. It works great. The GWT team has made a great job on the split code feature and SOYC is a good feedback. Baptiste B. On 23 juil, 09:12, kuvera bors...@gmail.com wrote: Thanks. Now I was able to create the artifacts files with Compiler into an extra directory, but

Re: fileupload: ensuring the same file being uploaded

2009-08-04 Thread Manuel Carrasco Moñino
Perhaps, you could use gwtupload http://code.google.com/p/gwtupload/ which simplifies this process and has documentation about configuring your server side. Manolo Carrasco On Mon, Aug 3, 2009 at 8:12 AM, Vinz369vincentriv...@gmail.com wrote: Hi twittwit, And thanks for your reply. What I

Re: ant gwtc, change destination path

2009-08-04 Thread Andree Surya
Never mind. I add something like arg value=-war /arg value=resources / and now it solved. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Is gwt1.6/1.7 supports/compatible with gears

2009-08-04 Thread evergreen_suni
Hi all, I am getting some problem while adding gears to gwt1.6/1.7. Please reply me --~--~-~--~~~---~--~~ 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: fileupload: ensuring the same file being uploaded

2009-08-04 Thread Vinz369
Thanks manuel for your reply. I tried gwtupload. It was not working for me but I suspect it was because of the configuration. Since I am very close to my goal using the files I currently have, I would like to be able to make this very simple example work and understand how it works before going

ImageBundle: Why background?

2009-08-04 Thread Benjii
Hello, I've been looking at the ImageBundle implementation. Its pretty cool, except for being unable to resize images. It seems that this is a limitation of using background image in the ImageBundle implementation. Is there a reason for doing this? I am no expert, but it seems like an img and a

Re: Offline GWT Applications

2009-08-04 Thread Yanick
On Aug 3, 1:35 pm, Jeff Chimene jchim...@gmail.com wrote: On 08/03/2009 08:18 AM, Dominic Holt wrote: hy this is a good idea). So you're saying that a Java app that listens on 127.0.0.1:80 won't handle a GWT RPC call? I've never tried it, so I'm just asking... GWT uses the browser's

Re: RichTextToolbar Question

2009-08-04 Thread Sean Loughran
Glad to see I wasn't the only one. I added a Star as well as add my comment that the toolbar really should be in the default package. Thank you! -Sean On Mon, Aug 3, 2009 at 11:37 PM, Sumit Chandel sumitchan...@google.comwrote: Hi Sean, You may want to keep an eye on Issue #3042 (link below).

Deferred binding for mobile browser support

2009-08-04 Thread grue
Hi, I have to add a mobile-optimized version to an existing gwt application. After digging through the docs I found out that deferred binding is the technology of chioce. I believe I understand how it basically works but how do I use it in that specific use case? The mobile UI of our application

Selected style do not apply when using widget for treeItem

2009-08-04 Thread shahid
I have a GWT tree. When I use the tree.addItem(Widget) to add the tree items as Widgets to the tree, the gwt-treeitem-selected style do not apply to the tree items any more when items are selected. I have checked in Firebug.Does any one know how to get round this ?

Re: Adding event handler from *outside* widgets

2009-08-04 Thread max3000
An onResize event. Although I'm getting no luck so far... On Jul 31, 1:37 pm, Isaac Truett itru...@gmail.com wrote: What sort of event are you trying to add to HorizontalSplitPanel? A Composite might make more sense. On Fri, Jul 31, 2009 at 1:13 PM, max3000maxime.lar...@gmail.com wrote:

Strange Problem only with GWT

2009-08-04 Thread Paul van Hoven
I just uploaded my gwt webapp on my server. The domain is hosted by another provider. I can forward that domain to my server by making a so called server redirect and a frame redirect. If i choose server redirect i have absolutly no problems with my app but if i make a frame redirect my app does

GWT + light streamer = integration problems

2009-08-04 Thread mnenchev
Hi, all i need to integrate gwt with lightstreamer. I have some problems connected with how to call js in gwt. I have been using native methods before but this time something is going wrong and i can't understand what. So here is every thing explained in brief: Lightstreamer has 2 .js lib

Re: Widget.clear() method not clearing properly

2009-08-04 Thread Phil
Hi Jason. This is definitely the easier and faster solution. :) I don't even know why I came up with the DOM iterating stuff... /Phil On Jul 31, 4:55 pm, Jason Essington jason.essing...@gmail.com wrote: wouldn't it be easier (and perhaps faster) to do something like:    RootPanel rp =

Re: gwt 1.7 app - blank page in ie7, safari

2009-08-04 Thread sam
I am having similar kinda problem. I am creating a Google Map Application that has a draggable marker with search option. I am using GWT and eclipse. My search button works fine in the hosted mode, but when I compile and run it off the browser, my search button does not work. My button seems to

Re: gwtSetup is not executed

2009-08-04 Thread Daniel Wellman
It looks like your method's capitalization is wrong - you want your method to be called gwtSetUp (with a capital 'u'). If you are using Java 5 or 6 then using an @Override annotation would have given you a compiler error, since your gwtSetup method did not override getSetUp. Dan On Aug 3,

Re: Hosted mode doesn't work at all on my Vista notebook under Eclipse

2009-08-04 Thread Rajeev Dayal
See the following thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/1bcb20225a985425 There have been some instances of Vista shipping with a hosts file that does not properly map localhost. Rajeev On Tue, Aug 4, 2009 at 2:35 AM, Trevis trevistho...@gmail.com

*.cache.html blocked by firewall - GWT team opinions please?

2009-08-04 Thread Joe Cole
When debugging a customer who couldn't load our site with an http connection (worked fine on ssl as it bypassed the firewall) we came across an issue where if we tried to load the *.cache.html file gwt was trying to load manually the companies firewall had displayed an error message. There was no

Re: Selected style do not apply when using widget for treeItem

2009-08-04 Thread Chad
shahid, When I look at the CSS (via Firebug) on my tree with custom widgets, I see a hierarchy like this: gwt-TreeItem mm-ResultBar gwt-TreeItem gwtTreeItem-selected mm-ResultBar In my case, the widget I'm adding to the tree has its own style name (mm-ResultBar). Make sure you don't set

Re: Offline GWT Applications

2009-08-04 Thread jhulford
I do development work all the time using GWT and a local server without any internet access. My job had all internet traffic blocked over the VPN I work over for the longest time too so I can pretty definitively say that bog standard GWT RPC does not require any internet access to function. I

Re: Installer for Deploying GWT Applications

2009-08-04 Thread mikedshaffer
I can't answer your question directly, but I can offer a few more questions...you'll get the point. Where is this application going to be installed? GWT applications are web browser based applications written in Java and compiled out to native web language (HTML/CSS/Javascript). The

Serializing Exceptions with GWT-RPC

2009-08-04 Thread davis
Hi, I have tried the following: public class UserNotFoundException extends Exception implements Serializable { // serial uid private static final long serialVersionUID = 1L; public UserNotFoundException(String msg) { super(msg); } } ...and then in my service interface:

Re: Hosted Mode CSS Refresh

2009-08-04 Thread Célio
I'm having the same problem. My css files are linked from the gwt module file (not the html host page). I just switched from Ubuntu to Windows and that problem happens only in Windows (with IE7 running in hosted mode). I'm going to try by linking them from the host page and see what happens.

Re: Serializing Exceptions with GWT-RPC

2009-08-04 Thread Paul Robinson
To be gwt-serializable, you must have a no-arg constructor davis wrote: Hi, I have tried the following: public class UserNotFoundException extends Exception implements Serializable { // serial uid private static final long serialVersionUID = 1L; public

Re: Serializing Exceptions with GWT-RPC

2009-08-04 Thread davis
Thanks Paul -- just figured that out. Would be a great time-saver if it told me that explicitly :) On Aug 4, 10:22 am, Paul Robinson ukcue...@gmail.com wrote: To be gwt-serializable, you must have a no-arg constructor davis wrote: Hi, I have tried the following: public class

Hibernate GWT

2009-08-04 Thread javier
Hello folks: I've posted this question to the Hibernate user's forum, but in the absence of replies, I am posting it here as well, in the hopes that some of you may shed some light. Please accept my apologies if this is the second time you see this post. I'm about to engage in an enterprise

Re: General Question about Coding

2009-08-04 Thread Rahul
hi thanks a lot its working now On Aug 4, 2:44 am, Norman Maurer nor...@apache.org wrote: Check your imports... There are to NodeList in GWT: com.google.gwt.dom.client.NodeList com.google.gwt.xml.client.NodeList You should be sure you import com.google.gwt.xml.client.NodeList not

How to Perform DoubleClick on FlexTable Cell

2009-08-04 Thread Swathi Kondepati
Hi All, Iam working on onCellClicked() method of FlexTable(com.google.gwt.user.client.ui.FlexTable) cell in GWT.Now my requirement is i have to change the color of flextable cell into green color when i perform single click and change the color to yellow when i perform double click on the cell of

Re: Modelling framework

2009-08-04 Thread Kaspar Fischer
Nathan, The thing is, there IS a framework for what you are trying to do (i.e. represent a data structure without being tied to implementation). It's called Java. If you're looking for the ability to quickly add fields to customer's data structures, that's dependent on low coupling and

how to fill available space with a textarea widget

2009-08-04 Thread Rob
Hi all, I'd like to layout a textarea and tell it to fill the remaining available space (height and width) in it's container. Example HTML is below. (Strangely, with the height:100% it looks really messed up and overflows the div on Safari and Mac Firefox.) Is there an HTML/CSS solution? It

(TypeError): 'length' is null or not an object

2009-08-04 Thread Rahul
Hi I am gettin this error [ERROR] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (TypeError): 'length' is null or not an object number: -2146823281 description: 'length' is null or not an object This is my code public void onResponseReceived(Request request,

Re: Eexception handling in non-hosted mode?

2009-08-04 Thread Arthur Kalmenson
Well, you could add a try/catch block over your entire application and on exception send an RPC to the server with the exception... -- Arthur Kalmenson On Sat, Aug 1, 2009 at 12:39 PM, micmichael.gn...@googlemail.com wrote: How should I do proper exception handling without relying on the

Re: WYSIWYG/XML for GUI layout in GWT?

2009-08-04 Thread Arthur Kalmenson
Well, Ray is saying that UiBinder (http://code.google.com/p/google-web-toolkit-incubator/wiki/UiBinder) will hit the trunk today: http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/2cb316f7cfba0adb -- Arthur Kalmenson On Sat, Aug 1, 2009 at 12:38 PM,

CSRF protection for RPC calls - Generate cookie on the client - is it safe?

2009-08-04 Thread jahboite
Hello GWTers! Having read the XSRF and GWT section of the page at http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications I'm trying to implement the suggested protection which involves sending an extra 'cookie value' param in GWT calls and then comparing that value

Image Cropper

2009-08-04 Thread fonghuangyee
Hi, i am looking for an image cropper widget for gwt. Below is the example. http://www.defusion.org.uk/demos/060519/cropper.php i try to use a resizable panel to build the image cropper, but just not as smooth as those javascript image cropper.

Code Igniter Integration

2009-08-04 Thread Marcel Karras
Hi everyone, I tried to enhance the my existing Code Igniter (http:// codeigniter.com) based application with the power of optimized Javascript apps using GWT. The basis is a Java based application using the GWT library (Eclipse IDE) and the compilation process of this Java code results in

same problem

2009-08-04 Thread Sven
Everytime I start Compile/Browse I get: GWT module 'xx' needs to be (re)compiled, please run a compile or use the Compile/Browse button in hosted mode here's the log: [INFO] Compiling module de.systemagmbh.sar.SystemaAttendanceRecorder [INFO] Compiling 6 permutations [INFO]

Automating

2009-08-04 Thread Rado
I need to automate site containing GWT menu in Internet Explorer. I can find the menu in DOM and send click event to it, which successfully opens the menu. But I don't know how to select the menu item. I can find MenuItem's TD . in the DOM, but sending click to it does nothing. How can I

Sample Eclipse project/application showing CRUD operations

2009-08-04 Thread nix
Hello, I am new to GWT. I have installed eclipse 3.5 and GWT plugin 1.7. I can create/run the helloworld application, next I want to run CRUD sample. If I am understanding correct, you need to write down Java code and upon compilation .html/.js files would be created, right? Can you upload

History library for GWT

2009-08-04 Thread Salvador Maravilla Gil
Hi, Can anybody recommend a history library for GWT ? Rya Ryan named a history library in his presentation but i wasn't able to find it. Can anyone help ? Thank in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: (TypeError): 'length' is null or not an object

2009-08-04 Thread Rahul
Hi, it started to work i removed all the blank spaces and it started working can anyone explain me like what was the cause of error and why removin blank spaces helped? On Aug 4, 11:20 am, Rahul coolrahul18...@gmail.com wrote: Hi I am gettin this error [ERROR] Uncaught exception escaped

Re: Hibernate GWT

2009-08-04 Thread Jim
You may try Dreamsource ORM. You can find an example including source code from http://www.gwtorm.com/gwtMail.jsp. Dreamsource ORM is still under development. It will have polymorphic query features soon. Jim http://www.gwtorm.com - GWT ORM

Re: New site created with GWT

2009-08-04 Thread Michael W
That may be the problem of FF3.5 See following post for detail http://support.mozilla.com/tiki-view_forum_thread.php?locale=deforumId=1comments_parentId=383498 On Jul 3, 10:57 pm, hazy1 matt.egyh...@gmail.com wrote: Wow, the text boxes are ginormous in FF 3.5. On Jun 30, 4:34 pm, Michael W

Re: Offline GWT Applications

2009-08-04 Thread Dominic Holt
Absolutely, I'd be happy to give more details. I'll try and give a brief overview first, if I'm missing some information you may need please don't hesitate to ask for it. Essentially I use NetBeans as my IDE, I also have the GWT4NB plugin. It's pretty standard as far as RPC calls go, I have a

Re: Google plgin 64 bit support

2009-08-04 Thread Yuri C
I can't wait for GWT to get 64-bit support. All of our servers are 64 bit linux machines which allows us to take advantage of having 4Gb+ of RAM available. Even my mom says that 32bit is already retro ;) Installing 32bit JRE worked for me but I only consider it as a temporary work around.

JNSI Problem Challenge

2009-08-04 Thread Luciano Broussal
Hi all, I'm fighting with JSNI for a time without success trying to call a java method from my javascript stuff. I did as explained online but without success :( http://code.google.com/docreader/#p(google-web-toolkit-doc-1-5)s(google-web-toolkit-doc-1-5)t(DevGuideJavaScriptNativeInterface)

Re: How to create an UI from Metadata XML file

2009-08-04 Thread Michael W
Use rpc call. You have two choices: 1) client makes rpc call and get xml file back, then parse xml in client side (GWT). 2) client makes rpc call and server parses the xml files, then return object back to client. The option 2) gives your chance to cache the xml parsing result it in server side.

Looking for Sr. Java Web Dev in Seattle with GWT experience!!!

2009-08-04 Thread ITSeattleRecruiter
Please contact me ASAP if you have experience that matches the below requirement!!! Peace! Nate 206.624.8437 na...@rylem.com Competencies/Essential Skills/Qualifications: 4+ years experience with core Java development Additionally: · Proficient with Object Oriented Analysis and Design.

Re: Why is HorizontalSplitPanel a final class?

2009-08-04 Thread Sumit Chandel
Hi shoe54, The reason why the HorizontalSplitPanel (and other split panels and widgets) are declared as final classes is because when these widgets were first introduced, we wanted to make them very easy to use the right way, and very hard to use the wrong way. Implementing something like a split

Re: PopupPanel setAnimationType() is package-private

2009-08-04 Thread Sumit Chandel
Hi Nathan, Making setAnimationType(AnimationType type) publicly accessible sounds reasonable to me. I couldn't find any issues in the Issue Tracker currently reporting or requesting this feature. Feel free to add the issue yourself and I'll point it to someone on the UI team. Issue Tracker:

Re: Eexception handling in non-hosted mode?

2009-08-04 Thread mars1412
try/catch over the entire application sounds scary :) maybe you should use GWT.setUncaughtExceptionHandler() to set your own exception handler, that would then (maybe) transfer the errors to the server, if you wish. in this exception handler you could also use http://code.google.com/p/gwt-log/

Re: Why does not HTMLPanel implement HasHTML interface?

2009-08-04 Thread Sumit Chandel
Hi Gregory, The common thing between all the widgets that do implement the HasHTML interface is that they are all widgets that contain flat HTML as their innerHTML. This is also true for the HTMLPanel, however, the HTMLPanel also supports adding widgets to its innerHTML, which could cause problems

Re: Session Timeout with RemoteServiceServlet?

2009-08-04 Thread Michael W
In server side, you need to create and throw YourSessionTimedoutException if session is timedout, and rpc client side will catch it. Then you can redirect to the page you want. On Jul 31, 3:19 pm, retro retrofit.br...@gmail.com wrote: How is session max inactive interval handled with remote

OSX Safari Java applet/JNI bug

2009-08-04 Thread Scooter
I ran across this bug a year ago in Firefox where the String returned from a Javascript-Applet(Method) call that returns a string isn't a first class string in GWT. I was testing in Safari OSX and get the following error message when trying to do a substring on the string returned from the

Re: 1.7 NoSuchMethodError IncompatibleRemoteServiceException

2009-08-04 Thread Sumit Chandel
Hi Andrey, Did you upgrade from 1.5 to 1.7, or from 1.6 to 1.7? I ask because in the case of the former, there may be remnants in a .gwt-cache folder that contain old information for the ru.aml.client.database.Row class. If so, try deleting it and restarting hosted mode again. Also, if you did

Re: JNSI Problem Challenge

2009-08-04 Thread Jeff Chimene
On 08/04/2009 10:41 AM, Luciano Broussal wrote: Hi all, I'm fighting with JSNI for a time without success trying to call a java method from my javascript stuff. I did as explained online but without success :(

oophm with the lastest eclipse plugin on Mac

2009-08-04 Thread Masto
Hi there, i'm currently trying to make the oophm works on my Mac using eclipse 3.5 and the latest plugin. I use the revision 5873 of the trunk (ant clean then ant my project refers to build/staging/gwt-mac-0.0.0/). Because i use gwt 2.0, a checkbox appears under Run Configuration GWT Tab

Re: Configuring GWT to run in hosted mode against a non-Java server

2009-08-04 Thread Sumit Chandel
Hi Damon, Have you checked out the FAQ link below on using your own server instead of GWT's built-in Jetty instance? How do I use my own server in hosted mode FAQ: http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT's

Inlining nocache.js

2009-08-04 Thread George Georgovassilis
So, while trying to squeeze out the latest tiny bit of speed for my application I ended up with this setup: index.html ( = module page) contains inlined css and the nocache.js. The index.html is non-cacheable, but is guarded with an E-Tag, which doesn't do anything to first time users, but

Re: uibinder in svn repository?

2009-08-04 Thread Arthur Kalmenson
It's currently up for review, should be there soon. See: http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Arthur Kalmenson On Mon, Aug 3, 2009 at 10:44 PM, asianCoolzsecond.co...@gmail.com wrote: is uibinder already included inside gwt core svn repository ?

Re: JNSI Problem Challenge

2009-08-04 Thread Luciano Broussal
Hi Jeff, I got a blank page and the myJavaStaticMethod is never called or on IE i got the javascript error icon on left bottom corner. I don't really now what is going wrong. Can you make it work on your side ? ... Thanks Luciano On Aug 4, 8:31 pm, Jeff Chimene jchim...@gmail.com wrote:

Re: JNSI Problem Challenge

2009-08-04 Thread Luciano Broussal
It's really important without this piece of cake i can't mix up Flex and GWT for my project :( Regards Luciano On Aug 4, 8:31 pm, Jeff Chimene jchim...@gmail.com wrote: On 08/04/2009 10:41 AM, Luciano Broussal wrote: Hi all, I'm fighting with JSNI for a time without success trying

Re: Offline GWT Applications

2009-08-04 Thread jhulford
Is the server on the same machine as as your development environment? ie. is this all done locally via RPC to the loopback or localhost address? On Aug 4, 12:29 pm, Dominic Holt domh...@gmail.com wrote: Absolutely, I'd be happy to give more details. I'll try and give a brief overview first, if

Re: JNSI Problem Challenge

2009-08-04 Thread Luciano Broussal
The only version i succeed to make working is public static native void exportStaticMethod() /*-{ $wnd.myJavaStaticMethod = @com.st.jsni.client.Jsni::sum(II)(34,35); }-*/; But of course this give 69 and does not take in count the parameters of

Re: JNSI Problem Challenge

2009-08-04 Thread Jeff Chimene
On 08/04/2009 12:23 PM, Luciano Broussal wrote: Hi Jeff, I got a blank page and the myJavaStaticMethod is never called or on IE i got the javascript error icon on left bottom corner. What's the text associated with this error? I don't really now what is going wrong. Can you make it

Re: Offline GWT Applications

2009-08-04 Thread Dominic Holt
Yes, everything is on the same machine. The address that displays in the browser when the application is running is http://localhost:8080/AppName/ On Aug 4, 3:25 pm, jhulford jhulf...@gmail.com wrote: Is the server on the same machine as as your development environment? ie. is this all done

[ERROR] Uncaught exception escaped java.lang.NullPointerException: null

2009-08-04 Thread Rahul
Hi, I am trying to parse an xml file and then for each xml entry, im parsing another xml file into for loop and then creating vertical panels and adding labels to the content of the second xml file. This is my code: try { Request request =

Re: JNSI Problem Challenge

2009-08-04 Thread Luciano Broussal
Line 49: Object expected Char : 9 Code: 0 URL : url of my jsni.html test file HTH Help On Aug 4, 9:33 pm, Jeff Chimene jchim...@gmail.com wrote: On 08/04/2009 12:23 PM, Luciano Broussal wrote: Hi Jeff, I got a blank page and the myJavaStaticMethod is never called  or on IE i got the

Re: JNSI Problem Challenge

2009-08-04 Thread Luciano Broussal
You can probably ran it , i provided all the code needed to reproduce. I don't really know what's going wrong. Thanks On Aug 4, 9:33 pm, Jeff Chimene jchim...@gmail.com wrote: On 08/04/2009 12:23 PM, Luciano Broussal wrote: Hi Jeff, I got a blank page and the myJavaStaticMethod is

Re: gwtSetup is not executed

2009-08-04 Thread Art
Thanks Daniel for pointing out. It was stupid careless simple mistake. Feel shame to bother everyone. Sorry. On Aug 4, 5:16 am, Daniel Wellman etl...@gmail.com wrote: It looks like your method's capitalization is wrong - you want your method to be called gwtSetUp (with a capital 'u').  If you

Re: JNSI Problem Challenge

2009-08-04 Thread Luciano Broussal
It's like the function was not available from javascript if it ask an object ... I tried window.myJavaStaticMethod(1,2) without no more success If i do public static native void exportStaticMethod() /*-{ $wnd.myJavaStaticMethod =

Re: JNSI Problem Challenge

2009-08-04 Thread Luciano Broussal
modification : I can't call it from javascript :( On Aug 4, 10:38 pm, Luciano Broussal luciano.brous...@gmail.com wrote: It's like the function was not available from javascript if it ask an object ... I tried window.myJavaStaticMethod(1,2) without no more success If i do public

Re: JNSI Problem Challenge

2009-08-04 Thread Jeff Chimene
On 08/04/2009 01:24 PM, Luciano Broussal wrote: Line 49: Object expected Char : 9 Code: 0 URL : url of my jsni.html test file My guess is that the entire environment has not been created, hence the object expected error. What I'm saying is that the GWT-generated code that loads the

Google plugin demands an -AsyncAsync version of a service interface [Solved]

2009-08-04 Thread Tim McCormack
When I updated Google Plugin for Eclipse from version 1.0.1 to 1.1.0, my GWT project started throwing errors. I had a DataService class and a DataServiceAsync class that were working fine, but GWT was claiming that DataServiceAsync had an error and needed a DataServiceAsyncAsync. In my case, the

Re: Creating and Importing GWT Independent Modules

2009-08-04 Thread Nuno
How to set that the compiler use the jar from the project A?? i've done everything, but now when i compile the code i get import com.google.projectA cannot be resolved if i remove or change the gwt.xml with a different name it complains that it does not find the xml, so i'm sure it is finding the

java.io.NotSerializableException for gwt portlets - wps 6.1

2009-08-04 Thread kss
We are getting java.io.NotSerializableException in one of our gwt jsr 286 api portlets in WebSphere Portal 6.1. This exception has started to surface in the logs since we enabled session replication on our WebSphere Portal server. The object which its complaining about has isSerializable

Will I have memory leaks if a Widget is removed from Panel without call to HandlerRegistration#removeHandler()

2009-08-04 Thread Justas
There is an application in which a Panel instance is *Handler for widgets, which are added dynamically depending on the result returned by async call. Instances of HandlerRegistration are not maintained by the application (i.e. values returned by #add*Handler() are not stored anywhere). Now lets

Re: Modelling framework

2009-08-04 Thread ckendrick
With SmartGWT you can represent a data structure as a DataSource. A DataSource can be tied to any kind of data provider - not just different JPA implementers but also WSDL web services, REST services, non-JPA persistence systems like Ibatis, etc. The persistence engine is pluggable, so you can

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-04 Thread Joe Cole
I have been able to simulate the problem by causing a 404 when the *.cache.html is requested. Stepping through firebug, this is the relevant code in the .nocache.js: 22 function maybeStartModule(){ 23 if (scriptsDone loadDone) { scriptsDone is never true because the script is no longer

Re: Modelling framework

2009-08-04 Thread John Ivens
It apparently can be tied to a backend datasource, although all of these examples have setClientOnly(true) There are no examples that I know of actually showing a connection, for example with a sample mysql database or really anything else. Please correct me if I'm wrong. On Tue, Aug 4, 2009 at

Re: oophm with the lastest eclipse plugin on Mac

2009-08-04 Thread miller
You can also try this page: http://code.google.com/p/google-web-toolkit/wiki/OophmForMacBasedGwtContributors On Aug 4, 1:39 pm, Masto thomas.ric...@gmail.com wrote: Hi there, i'm currently trying to make the oophm works on my Mac using eclipse 3.5 and the latest plugin. I use the revision

Re: oophm with the lastest eclipse plugin on Mac

2009-08-04 Thread miller
I am also getting the beachball with the swing window. I am still able to view my app in firefox and debug though. Have not figured out how to fix the beachball issue. -mike On Aug 4, 1:39 pm, Masto thomas.ric...@gmail.com wrote: Hi there, i'm currently trying to make the oophm works on my

Re: making gwt rpc call from ordinary java

2009-08-04 Thread rjcarr
I'm reasonably sure this is what the JSON packages are for. You'll want to pass messages around using JSON, not the custom serialization done by GWT, as that would make what you're trying to do greatly more complicated. On Aug 4, 1:09 pm, Tibor blene...@gmail.com wrote: Hi, I am creating GWT

Re: Modelling framework

2009-08-04 Thread ckendrick
Hi John, For live connections to SQL, Hibernate and other data providers see the SmartGWT Pro/EE showcase: http://www.smartclient.com/smartgwtee/showcase/ As well as Sanjiv's blog on SmartGWT Pro/EE, which is the link I meant to post before:

Re: History library for GWT

2009-08-04 Thread Sumit Chandel
Hi Salvador, GWT comes with its own History API. Take a look at the documentation for it at the link below. History API: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideHistory http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideHistoryHope

Re: same problem

2009-08-04 Thread Sumit Chandel
Hi Sven, Are you using the GWT Eclipse plugin for your project? If so, did you create the launch configuration you're using to start hosted mode with the plugin wizard? One thing to try to solve this issue is to ensure that the code you're trying to Compile/Browse is indeed the latest running in

Re: Modelling framework

2009-08-04 Thread John Ivens
Sweet!!! I noticed that you have Oracle support. Do you have a way to support the Oracle XMLType, at least a way that is more direct than the way that I have done this before, where I kludged Hibernate to be able to store XML in the database? On Tue, Aug 4, 2009 at 4:38 PM, ckendrick

Re: Google plugin demands an -AsyncAsync version of a service interface [Solved]

2009-08-04 Thread Miguel Méndez
Version 1.1.0 checks GWT RPC interfaces. Any interface that extends the RemoteService marker interface is considered to be a sync interface. Once that happens it looks for an async interface. On Tue, Aug 4, 2009 at 6:09 PM, Tim McCormack ti...@ccs.neu.edu wrote: When I updated Google Plugin

IE and Buttons without a form

2009-08-04 Thread John Huss
I have a few TextBoxes and some Buttons that are NOT in a form or a FormPanel. I have a ClickHandler for the buttons that reads the fields and updates the UI. Additionally I added KeyPressHandlers to the TextBoxes to catch ENTER and then fire the button's action. This works fine in all

Re: Modelling framework

2009-08-04 Thread ckendrick
We do give you the ability get in and override any part of the generated SQL as a Velocity template. Simple example: http://www.smartclient.com/smartgwtee/showcase/#large_valuemap_sql Tour de force (dynamic reporting with filter, sort and data paging, no server code required):

differ binding json parse?

2009-08-04 Thread asianCoolz
may i know when we use inherits name=com.google.gwt.json.JSON / does it automatically use the browser built in native json.parse if browser support it and do fall-back to eval when browser not support it? --~--~-~--~~~---~--~~ You received this message because

data interchange speed

2009-08-04 Thread asianCoolz
if speed is the main concern, should i choose to use json for data interchange with server compared with RPC call and XML? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

rpc serialization problem

2009-08-04 Thread mike
I have a simple one-to-many betwen two entities. The parent entity uses List to contain the child entities. I am able to persist these entities in the datastore without problems. However, when reading a root entity at the server, I get: rpc.SerializationException: Type

Re: oophm with the lastest eclipse plugin on Mac

2009-08-04 Thread brett.wooldridge
Yes, I was having this problem and posted the answer to my own question in the above mentioned link: To answer my own question, and for other users having the same issue, this worked: I created a standard Java Application launch configuration, using com.google.gwt.dev.HostedMode as the Main

Cookies and client state. Suggestions?

2009-08-04 Thread brett.wooldridge
I have a question about cookies and maintaining client-side state, and looking for suggestions about how to solve (what I perceive to be) an issue (for us). We allow the user to create a sticky login. You know, the one where they tick the checkbox that says something like Stay logged in? This

[gwt-contrib] Re: Async interface black magic

2009-08-04 Thread John Patterson
2009/8/4 Rob Heittman rob.heitt...@solertium.com I bet you were into the lovely EJB artifacts too? Ha ha this is strangely reminiscent. No, I wasn't. Really, I don't see the correlation. Boiler plate, _almost_ duplicate interfaces anyone? Business methods defined in the remote

  1   2   >