RPC or JSON

2008-10-16 Thread zujee
Iam confusing which one i need to use to get data from server.. JSON object or GWT RPC calls. .Can somebody tell me the advantage and disadvantage of both? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web

Re: GWT Serialization problem !!!!

2008-10-16 Thread Sam
Hi olivier, Thanks a lot for prompt reply, The solution you said works fine if we extend our class from RemoteServiceServlet . However in my case I am not extending the class from RemoteServiceServlet . I am making the use of HandlerAdapter class of spring for integrating spring wid GWT. Is ther

Re: GWT Serialization problem !!!!

2008-10-16 Thread Sam
Hi olivier, Thanks a lot for prompt reply, The solution you said works fine if we extend our class from RemoteServiceServlet . However in my case I am not extending the class from RemoteServiceServlet . I am making the use of HandlerAdapter class of spring for integrating spring wid GWT. Is ther

Re: fix the number of digits after decimal point

2008-10-16 Thread Ian Petersen
On Fri, Oct 17, 2008 at 1:35 AM, navS <[EMAIL PROTECTED]> wrote: > I have a number like 34.5502 > i need to limit the decimal palces to 2, like 34.56. You need NumberFormat. Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to

fix the number of digits after decimal point

2008-10-16 Thread navS
hi Team, I have a number like 34.5502 i need to limit the decimal palces to 2, like 34.56. can any one please help, it's needed soon. regards naveen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google W

Cursor blinks beneath dialogs, Elements not usable

2008-10-16 Thread Schimki86
I hope someone can help... I habe a dialog-based application. In example I start the application and I am on the first Dialog: everything works fine.I can choose and edit TextBoxes (or other elements). But If I am going to the second dialog, my elements are not usable. If I click on TextBoxes they

Blinking cursor out of dialog, Elements not usable

2008-10-16 Thread Schimki86
I hope someone can help... I habe a dialog-based application. In example I start the application and I am on the first Dialog: everything works fine.I can choose and edit TextBoxes (or other elements). But If I am going to the second dialog, my elements are not usable. If I click on TextBoxes they

HTTPRequest, hosted mode, and the whitelist

2008-10-16 Thread Lucas86
I'm trying to do an HTTPRequest.asyncGet() to a simple PHP script. I'm running the request from hosted mode, and it fails to retrieve data. If I run the compiled site in a local browser, I can get the data that I expect. I know that the local server can't access remote sites for security reasons

RPC + Serializable objects

2008-10-16 Thread Suri
Hi, I'm trying to write a service that will return objects to be used at the client side. I understand that I'll need to create transfer objects essentially implementing the isSerializable interface so that GWT can correctly compile and use them. Since, I'm aware that only primitive types or wrapp

Re: Drag and drop support

2008-10-16 Thread Fred Sauer
http://code.google.com/webtoolkit/makinggwtbetter.html#introductionHi Filip I maintain gwt-dnd, an open source drag and drop library for GWT hosted here: http://code.google.com/p/gwt-dnd/ You should find demos, source code and everything else you might need to get drag and drop functionality in

ANN: Pyjamas 0.3 Released

2008-10-16 Thread lkcl
Pyjamas 0.3, the port of GWT to python, has been released. Pyjamas is a python-to-javascript compiler and AJAX Framework and Widget set. [hey, that's... that's very similar to what GWT is, i _wonder_ where the code came from? :) ] The API for the Widget set is near-identical to that of GWT, wit

Re: RPC + Serializable objects

2008-10-16 Thread Suri
Hey Ian, Thanks again. 1) XmlBeans are an apache open source technology whereby we can define the bean in an XML format (called a xml schema) and have the class files be generated at compile time. Thus we can go ahead and use them like regular beans without having the hassle of having to painfull

Re: Where do I put the compiled JS

2008-10-16 Thread Ian Bambury
What do you get if you look at the source of the blank page? Are you using the same browser that hosted mode uses on your system? Did you actually compile it (you aren't copying the gwt temp files are you?) If you double click the host page (html page) in the www/package.module/ directory, do you

Re: Where do I put the compiled JS

2008-10-16 Thread Joshua Partogi
It doesn't work. The browser is blank. :-( On Oct 17, 11:38 am, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > Take everything from inside the directory named after the package name > (www/com.mydomain.myapp/ - you will find your html file in there amongst > other things), and copy  the whole lot to

Re: Norton 360 slows GWT app?

2008-10-16 Thread makoki
Thanks for the links martin, we finally solved it, was Norton phishing option it seems to take extremlly long time to parse iframe with empty src attribute that are built dynamically, this usually is for loading dynamically external javascript resources common in ajax sites, i'm wrong? after looki

Re: Where do I put the compiled JS

2008-10-16 Thread Ian Bambury
Take everything from inside the directory named after the package name (www/com.mydomain.myapp/ - you will find your html file in there amongst other things), and copy the whole lot to wherever you want to run it from in the directory structure of your web server. You can change the name of the ht

Re: CSS trouble: gwt-App running in existing java webapp content

2008-10-16 Thread Ian Bambury
GWT doesn't have any styles defined. If you used the projectCreator and applicationCreator to create the default project and forgot to remove the standard styles from the gwt.xml file then they will still be there, of course. Ian http://examples.roughian.com --~--~-~--~~~-

Re: GWT + Netbeans 6.1 + Multiple modules in one project

2008-10-16 Thread Sumit Chandel
Hello Jiri, Could you elaborate a little on your use case for creating multiple modules for your GWT application? Do you want to create a separate module that contains shared code that you could then reuse in other modules, or are you trying to create different GWT components for your application,

Where do I put the compiled JS

2008-10-16 Thread Joshua Partogi
Dear all, Currently I want to deploy my GWT apps. But after reading the docs, I still don't understand where should I place all of the static files under the www/ folder in my Tomcat. Could anyone give me a hint please. Thank you in advance --~--~-~--~~~---~--~~ Y

Re: RichTextToolbar

2008-10-16 Thread Nicole Baba
I copy the class RichTextToolbar and images in my project. When I run, some errors like that happened: [ERROR] No resource found for key 'large' com.google.gwt.i18n.rebind.AbstractResource$MissingResourceException: No resource found for key 'large' at com.google.gwt.i18n.rebind.AbstractRes

Re: Error on 64bit System

2008-10-16 Thread [EMAIL PROTECTED]
Hi there. The libswt-pi-gtk-3235.so library is a 32-bit ELF object, so you will have to use a 32-bit JVM when launching the GWT shell. Hope this helps. Cheers. -- Karl J. Ots On Oct 17, 8:35 am, "Pavel Byles" <[EMAIL PROTECTED]> wrote: > I think the problem was an incorrectly compiled swt.jar

Disable RichTextArea

2008-10-16 Thread GuiSilva
Hello folks, I'm looking for a way to disable, stop input of data, the componente RichTextArea (com.google.gwt.user.client.ui.RichTextArea), I'm trying to use the method setEnabled of (FocusWidget class) but without success. Anyone have a sugestion ?? Thanks! --~--~-~--~~-

Re: RichTextArea losing focus on color selection

2008-10-16 Thread Sumit Chandel
Hi ruds, Here's a suggestion that could work. I haven't tried it out myself, but it could be worth a try. The first thing you would need to do is prevent the loss of focus from the selected text in your RichTextArea when the user clicks on a cell in the colour palette. You might be able to prevent

CSS trouble: gwt-App running in existing java webapp content

2008-10-16 Thread mr.nice
Hey! I have written a litte gwt app, it works fine and is integrated, visible and does what it should. My problem is, that the java webapp running on a tomcat server already has it's style defined in a css file... As soon as I visit a page, which has some gwt content, a lot of rules are being ig

Re: BigDecimals in GWT clients

2008-10-16 Thread Ian Petersen
On Thu, Oct 16, 2008 at 5:54 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Here's where to download from. > > http://code.google.com/p/gwt-math/ Thanks a bunch! When you get back to your desk, can you tell me why the implementation is essentially just a wrapper around a couple of native Jav

Re: Deferred binding result type gone after refresh in hosted mode

2008-10-16 Thread Sumit Chandel
Hi Ivo, Could you send us some code to try to reproduce the error? There are a few things that have changed from 1.4.62 to 1.5.2, but we haven't seen this kind of error and would need to reproduce it to find out what's going on. Thanks, -Sumit Chandel On Tue, Oct 14, 2008 at 12:32 AM, Ivo <[EMAIL

Re: how is GWT ensuring that Caption on DialogBox works?

2008-10-16 Thread Ian Bambury
DOM.setCapture (element) - or something like that, or whatever has replaced it - I haven't had to use if for ages - means that the element can be set to 'own' all mouse events for a while. Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this mes

Re: Adding widget to RootPanel gets added twice

2008-10-16 Thread Ian Bambury
Two scripts in the html file, or two entry points in the gwt.xml file. Probably the latter. I'm guessing... Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group

Re: GWT Date and Time serialization

2008-10-16 Thread sim123
Can some one please reply to my post, please!!! I just want to know if it is expected behavior, and if it is can I create custom serializer for not doing this conversion for example I tried changing Date_CustomFieldSerializer .java's code in to GWT source to be public static void deserialize(Ser

Re: BigDecimals in GWT clients

2008-10-16 Thread [EMAIL PROTECTED]
Here's where to download from. http://code.google.com/p/gwt-math/ I will generically say yes, within the boundries that javascript has. I'm away from my desk and writing this on the phone, so I'd have t os ay that I'll get back with you. But give it a look. It solved a bunch of problems for

Re: RPC + Serializable objects

2008-10-16 Thread Ian Petersen
On Thu, Oct 16, 2008 at 3:00 PM, Suri <[EMAIL PROTECTED]> wrote: > In my current application to which I'm trying to > integrate GWT, we use XmlBeans for passing data along. I do believe > xml beans are serializable. So, then > 1) Can i use these beans just as well to communicate via the GWT-RPC >

Re: Error on 64bit System

2008-10-16 Thread Pavel Byles
I think the problem was an incorrectly compiled swt.jar. I Found a package that contained a good one. Now i'm getting: Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/wikid/Code/GWT15/libswt-pi-gtk-3235.so: /home/wikid/Code/GWT15/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS32

Re: how to make xml file on client side

2008-10-16 Thread Sumit Chandel
Hi avd, I'm not sure if your question is GWT specific since as I understanding what you're asking is how you can send data back to a server and persist it in an XML format. The general way to solve such a problem would be to gather the data you want to save into an XmlHttpRequest payload and send

Re: remote debugging with Jetty and GWT?

2008-10-16 Thread Adligo
Hi Mark, Try the adligo port of apache commons logging. http://www.adligo.com/products.html example http://cvs.adligo.org/viewvc/gwt_util_demo Entry point is under src/org/adligo/gwt/util/demo/client/UtilEntryPoint.java?view=markup You will need all these jars (execpt j2se_util_v1_2.jar) h

BigDecimals in GWT clients

2008-10-16 Thread Ian Petersen
On Thu, Oct 16, 2008 at 2:56 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > @ Ian: if you import > in your gwt.xml, you can have BigDecimal in your client code. Not > part of the official release, but we're tossing around BigDecimals > between GWT and Hibernate all the time That's rea

Suggestion: GWT port to Desktop

2008-10-16 Thread lkcl
folks, hi, as you've no doubt seen, i mentioned in the announcement of pyjamas 0.3 that there's a parallel project, pyjamas-desktop, which is a port of pyjamas to run as a desktop widget set and framework. it works ... incredibly well, thanks to webkit. the way it's done is by some glib / gobje

Adding widget to RootPanel gets added twice

2008-10-16 Thread cravemusic
I've been using GWT successfully for a few months now without any major problems. Today, I got a surprise when adding a widget to the RootPanel -- it gets added twice! I've reduced the code to just two lines in onModuleLoad(): public void onModuleLoad() { Button btn = new Button

how is GWT ensuring that Caption on DialogBox works?

2008-10-16 Thread lkcl
folks, hi, in the pyjamas codebase, the event handling for dialog box drag- moving, on the caption, doesn't fully capture the mouse properly: http://pyjs.org/examples/kitchensink/output/KitchenSink.html#Popups and click "show dialog", then wiggle the mouse around dramatically. you'll find that th

Help with Get Started StockPrice Example

2008-10-16 Thread phamtranquocviet
Hi, While reading Remote Procedure Calls in GWT tutorial (http:// code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web- toolkit-doc-1-5&t=GettingStartedRPC), I am having trouble understanding how these two lines in StockWatcher.java work: private StockPriceServiceAsync stockPrice

Would LOVE some design help

2008-10-16 Thread aangel
Hi, everyone. I am running a store using Amazon's back end (http:// store.postpeakliving.com). I have no access to the back end whatsoever but I can change the HTML, add Javascript and thus can use GWT. One feature Amazon doesn't give its merchants is the ability to fill the shopping cart with m

GWTCanvas image distortion

2008-10-16 Thread Thad
I've been experimenting with gwt-canvas (gwt.canvas.client.Canvas) 0.4.0 modified to add drawImage(). Today I tried GWTCanvas (gwt.canvas.client.Canvas) from Sept 4th. The image I'm displaying is a 636x850 pixel PNG. This image displays fine in IE but in Firefox and Safari, it is very distorted

Re: Possibly for GWT, when in an iFrame, to retrieve a flag from the parent?

2008-10-16 Thread Thomas Wrobel
Thanks for your reply. I'm still struggling over this, allthough I'm not sure your techique would be helpfull to me. In order to do the equilivent, I'll probably have to be calling to Facebooks API, which involves importing it on my php pages, or calling a php on every single page just to test on

Re: GWT Date and Time serialization

2008-10-16 Thread sim123
I looked into serialization code for Date/Time and Timestamp in com.google.gwt.user.client.rpc.core.java.sql package, it seems that these classes are cause of time zone conversion, is that so and is it expected behavior?? Some one please help me. Thanks. On Oct 16, 6:21 pm, sim123 <[EMAIL PROTEC

Re: StackOverflowError with OOPHM GWTCompiler

2008-10-16 Thread Thad
That worked for me: -Xss64m Thanks. On Oct 16, 3:10 pm, "Isaac Truett" <[EMAIL PROTECTED]> wrote: > Jason's suggestion of increasing stack space is a good one, but he probably > meant -Xss (-Xmx is heap space). > > On Thu, Oct 16, 2008 at 3:06 PM, Jason Essington > <[EMAIL PROTECTED]>wrote: > >

Re: EASYMOCK or JMOCK?

2008-10-16 Thread Sumit Chandel
Hi Arthur, You're right. The GWTMockUtilities class is really useful for developers who need to mock out their widgets with libraries such as EasyMock. The GWTMockUtilities class was one of the last additions to GWT 1.5 before we went final, which is likely why we missed it in our Javadocs. I've c

Persistent Ghost Connections in Tomcat after GWT App is reloaded

2008-10-16 Thread ky
I wrote a very basic webapp that synchronizes a data model on a server between many clients. Essentially, the model is the position of a dialog box that clients can move a box around on their screen. When a move occurs, that change is sent to the server and all other clients immediately see the bo

GWTExt: XMLReader and FormPanel

2008-10-16 Thread Pavi
I have a static XML string and I want to populate my FormPanel's text field with the details from the XML string. I am able to create a XmlReader or a Store object but am not sure how to populate a TextField in my FormPanel. Most of the examples in http://www.gwt-ext.com/demo are to load XML from

Re: StackOverflowError with OOPHM GWTCompiler

2008-10-16 Thread Dominik Steiner
i tried with -Xmx724M -Xss32M and it still produced the same error. i have the feeling that it might be a bug in the windows distribution from the gwt trunk? Dominik Am 16.10.2008 um 13:10 schrieb Isaac Truett: > Jason's suggestion of increasing stack space is a good one, but he > probably

Re: Error on 64bit System

2008-10-16 Thread Pavel Byles
gwt-dev-linux. It is in my classpath. -Pavel On Thu, Oct 16, 2008 at 2:21 PM, Perelman Nathan (Nathan) < [EMAIL PROTECTED]> wrote: > I'm guessing that gwt-dev-linux.jar is not on your classpath. (Or > whatever the correct gwt-dev jar is for your OS). > -- > > *From:

Trouble getting splitpanel location/size inside panel.

2008-10-16 Thread shaselai
I have a setup where I have a vertical panel that holds a horizontal split panel. The horizontal split panel holds on its left a vertical split panel containing two vertical panels and on its right a vertical panel. I basically drag items to the right panel and restores them through UI(open/load).

Re: GWT Active Menu Item Highlighted - Please help

2008-10-16 Thread karmela
Can anyone help with this? If I can add an id to the menu item that is active (clicked on), then I can change the style with css. Thanks in advance. Karmela On Oct 7, 10:18 am, karmela <[EMAIL PROTECTED]> wrote: > Still having the same problem. > I need to make the selected link from the menu t

HTMLTable and attaching widgets

2008-10-16 Thread Luis Fernando Planella Gonzalez
Hi all. Using GWT 1.5.2 on linux. I've noticed that after using an HTMLTable (a Grid, for example) setWidget(row, col, widget) method, the widget.onAttach() method is never invoked, and, as result, widget.isAttached() returns false, even if the widget is displayed. Don't know if it's the cause, bu

RE: Error on 64bit System

2008-10-16 Thread Perelman Nathan (Nathan)
I'm guessing that gwt-dev-linux.jar is not on your classpath. (Or whatever the correct gwt-dev jar is for your OS). From: Google-Web-Toolkit@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pavel Byles Sent: Thursday, October 16, 2008 15:09 To: Google-Web-T

Re: Drag and drop support

2008-10-16 Thread Peter D.
gwt-dnd is actually very good. It's a little complicated to get used to but anything is possible with this. http://code.google.com/p/gwt-dnd/ On Oct 16, 7:24 am, Filip Krygowski <[EMAIL PROTECTED]> wrote: > Hi! > > I'm a student and I'm writing a report on GWT. I wanted to describe > the situati

Re: StackOverflowError with OOPHM GWTCompiler

2008-10-16 Thread Isaac Truett
Jason's suggestion of increasing stack space is a good one, but he probably meant -Xss (-Xmx is heap space). On Thu, Oct 16, 2008 at 3:06 PM, Jason Essington <[EMAIL PROTECTED]>wrote: > > are you guys increasing the stack space for the compiler? -Xmx and - > Xms jvm args? > > -jason > On Oct 16,

Error on 64bit System

2008-10-16 Thread Pavel Byles
I have just converted to using 64bit and I'm encountering some problems configuring my GWT project which I created using Cypal Studio's plugin. I am getting the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/internal/gtk/OS at org.eclipse.swt.intern

Re: StackOverflowError with OOPHM GWTCompiler

2008-10-16 Thread Jason Essington
are you guys increasing the stack space for the compiler? -Xmx and - Xms jvm args? -jason On Oct 16, 2008, at 11:36 AM, Dominik Steiner wrote: > > I get the same StackOverflowError but on a version build from the > 1.5.2 trunk on the 30th of September. > > I also have a big application and I ge

Re: RPC + Serializable objects

2008-10-16 Thread Suri
Ian, Thanks for the explanation. That helps me understand quite a bit now. It also spurs another question which is more directly related to my current scenario. In my current application to which I'm trying to integrate GWT, we use XmlBeans for passing data along. I do believe xml beans are serial

Re: RPC + Serializable objects

2008-10-16 Thread [EMAIL PROTECTED]
My response was going to be "heck yes"...but Ian and sim123 beat me to it. @ Ian: if you import in your gwt.xml, you can have BigDecimal in your client code. Not part of the official release, but we're tossing around BigDecimals between GWT and Hibernate all the time On Oct 16, 12:47 pm,

Re: RPC + Serializable objects

2008-10-16 Thread sim123
Yes. On Oct 16, 11:26 am, Suri <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying to write a service that will return objects to be used at > the client side. I understand that I'll need to create transfer > objects essentially implementing the isSerializable interface so that > GWT can correctly comp

Re: RPC + Serializable objects

2008-10-16 Thread Ian Petersen
On Thu, Oct 16, 2008 at 2:26 PM, Suri <[EMAIL PROTECTED]> wrote: > I'm trying to write a service that will return objects to be used at > the client side. I understand that I'll need to create transfer > objects essentially implementing the isSerializable interface so that > GWT can correctly comp

GWT Date and Time serialization

2008-10-16 Thread sim123
Hello, I noticed strange behavior of GWT serialization when handling Date/ Time/Timestamp values. When client and servers are in different time zones like server is in GMT and client is running in PST time zone, RPC does timezone conversion for Date/Time and Timestamp, I am not sure if this is ac

Re: Debugging support in compile mode?

2008-10-16 Thread JohnMudd
Yes, it works now. I had to (1) change my http server to serve on port and (2) change the url in the GWT browser window from http://localhost: to http://localhost:/demo.html. I don't know where I got the impression that I had to run in compile mode but thanks for setting me straight

Re: Drag and drop support

2008-10-16 Thread [EMAIL PROTECTED]
there is drag and drop support if you use some user made classes. On Oct 16, 4:24 am, Filip Krygowski <[EMAIL PROTECTED]> wrote: > Hi! > > I'm a student and I'm writing a report on GWT. I wanted to describe > the situation of d'n'd support. Could you please explain why there > isn't any drag and

Re: StackOverflowError with OOPHM GWTCompiler

2008-10-16 Thread Dominik Steiner
I get the same StackOverflowError but on a version build from the 1.5.2 trunk on the 30th of September. I also have a big application and I get that error when i'm launching the GWT shell and then try to Compile/Browse. (on Windows XP SP2) On a mac leopard machine with the same build for mac I d

Drag and drop support

2008-10-16 Thread Filip Krygowski
Hi! I'm a student and I'm writing a report on GWT. I wanted to describe the situation of d'n'd support. Could you please explain why there isn't any drag and drop support in GWT despite it being mentioned in “The GWT Roadmap” as a “must have”? Is there an “official” reason? Thanks in advance for

Compile/Browse button inactive (gray out)

2008-10-16 Thread [EMAIL PROTECTED]
hi all, does someone have idea what makes Compile/Browse -Button inactive (gray out)? thnx for any suggestion marcus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: Follow-Up to "Problems with Selenium and ToggleButtons"

2008-10-16 Thread Aaron
I had been using John's workaround successfully until I switched to GWT 1.5, at which point it stopped working in IE. Has anyone found another workaround, short of invoking the event handler directly? --~--~-~--~~~---~--~~ You received this message because you are

Re: Ext GWT

2008-10-16 Thread mok sara
Hello, I'm not very expert.i'm also beginner.if u want to get the button click event ,you can try like the following ways. SelectionListener listener = new SelectionListener() { public void componentSelected(ComponentEvent ce) { Button btn = (Button) ce.component;

Re: Ext GWT

2008-10-16 Thread Niklas Derouche
On Thu, Oct 16, 2008 at 10:54 AM, Michi_de <[EMAIL PROTECTED]> wrote: > > > I wanted to add a clickListener to the button and then start a method. > Symple as it is in GWT. In Ext GWT i just cant do anything. > createButton.addListener(new ButtonListenerAdapter(){ public void onClick(Butt

Re: missing -compile.cmd

2008-10-16 Thread Isaac Truett
Steve, You can, of course, write your own compile script. I use and recommend Ant. I wrote a quick summary of two options for compiling GWT applications in Ant here: http://publicint.blogspot.com/2008/10/introducing-gwtcompilertask.html Essentially all you have to do is invoke GWTCompiler as you

Re: width and height attributes when replacing an Image URL

2008-10-16 Thread David E.
No question, merely a statement. I did not set the width or height on the image at all, only the URL. GWT assigns a width and height the first time it reads the image in via the URL. Then the width and height values apparently get cached and linked to the URL of the image. Irregardless if the

Re: URI encoding for custom servlets

2008-10-16 Thread Nikolay Samofatov
Hi, All! Never mind my question. I so far have found decent workarounds for GWT hosted mode servlet character encoding issues. This is how the file generator code looks like: public class ExcelServlet extends HttpServlet { public void doGet( HttpServletRequest request, HttpServlet

Re: Unable to clone a local reference in a function being inlined

2008-10-16 Thread Lex Spoon
On Thu, Oct 16, 2008 at 11:10 AM, Eric Ayers <[EMAIL PROTECTED]> wrote: > I'm wondering if this is the problem: > > Internal compiler error with autoboxed fields and ++ operator > > http://code.google.com/p/google-web-toolkit/issues/detail?id=2886&q=inlined > > I see that autoincrement is

Re: Unable to clone a local reference in a function being inlined

2008-10-16 Thread Eric Ayers
I'm wondering if this is the problem: Internal compiler error with autoboxed fields and ++ operator http://code.google.com/p/google-web-toolkit/issues/detail?id=2886&q=inlined I see that autoincrement is used within fillTree(). If this is the issue, there is a patch for it and will be

Re: Displaying lists in a cell in a Flextable

2008-10-16 Thread rakesh wagh
dont see anything wrong in what you are doing. as walden suggested, inspect your dom in firebug. I think it could be a style related issue. On Oct 15, 5:59 am, craige <[EMAIL PROTECTED]> wrote: > Hi > > I am trying to insert some HTML into a cell in a Flextable which > includes a list (ordered/or

Re: EASYMOCK or JMOCK?

2008-10-16 Thread Arthur Kalmenson
Hi Sumit, Strange, it seems to be in the gwt-user jar file but not in the generated Javadoc that comes with GWT or the one hosted on the Google Code project. Will the documentation be updated to mention that this tool exists? Can it be added to the GWT Unit testing doc-types? I think it'll be very

Re: width and height attributes when replacing an Image URL

2008-10-16 Thread rakesh wagh
So what is your question? If you fix a width like "200px" etc for a image widget, any image loaded inside it will resize itself to that dimension. In order to get away from that, assign either "100%" or blank string "" or any thing that is not a width. And the browser will ignore it. Rakesh Wagh

Re: Graphs in pdf file

2008-10-16 Thread rakesh wagh
sridhar, you need to understand: - gwt and gchart is a js/browser based technology. - there are no js/client based pdf libs till date(that i know of). - your only option is to generate pdf on the server and provide a url for the user to download. - on the server you can use various reporting tools

Re: compiling java sources from other projects with GWTCompiler

2008-10-16 Thread Isaac Truett
1. Add a .gwt.xml to the base project.2. the base project in the non-base project. 3. Add the base project's src directory to the non-base project's classpath. On Thu, Oct 16, 2008 at 9:10 AM, Alex D <[EMAIL PROTECTED]> wrote: > > Hi, > > I have created 2 projects in Eclipse, one is intended to

Re: TabPanels with different styles in same application

2008-10-16 Thread Isaac Truett
.gwt-TabPanel .gwt-TabBarItem { color: black; } .gwt-TabPanel-grey .gwt-TabBarItem { color: grey; } On Thu, Oct 16, 2008 at 6:58 AM, krishna <[EMAIL PROTECTED]> wrote: > > > Hi, > > I wanted to have two tabpanels with different styles in the same app. > > I was hoping that I can achieve this b

compiling java sources from other projects with GWTCompiler

2008-10-16 Thread Alex D
Hi, I have created 2 projects in Eclipse, one is intended to be the base code for the other (and many more in the future). However, I have encountered an issue concerning the GWTCompiler. How do I specify in what extra directories should it look for source code? I know I can make a gwt user modu

Re: Parameter passing between host jsp and embedded gwt application

2008-10-16 Thread Kevek
Daniel, That was actually just me copying badly into my post. I had the " in the dictionary variables. I was able to remove the frames by putting the html file that includes the .nocache.js directly in the jsp and it was able to pick up the variables. Unfortunately this is not the best solution,

Doubt for calling propertyfiles method using googlewebtoolkit incubator..

2008-10-16 Thread zujee
I have one doubt with googlewebtoolkit incubator.. Iam trying to read my property files accoding to the selection of 'locale'. I have methods in say for eg: 1) public interface CompanyMessages extends Messages { String CompanyDetails(); String CompanyName(); } my property files are

TabPanels with different styles in same application

2008-10-16 Thread krishna
Hi, I wanted to have two tabpanels with different styles in the same app. I was hoping that I can achieve this by calling addStyleDependentName(styleName) on the tabpanel. For e.g., tabPanel.addStyleDependentName("grey"); I expected the implementation to use styles such as .gwt-TabBar-grey, g

Re: Ext GWT

2008-10-16 Thread mon3y
Hi I googled, :) They have a demo page so you can see how the widgets work. (http:// extjs.com/products/gxt/) Reading the API might help to, :). HTH # SelectionListener listener = new SelectionListener() { # public void componentSelected(ComponentEvent ce) { # Button btn = (Butto

Extending DialogBox

2008-10-16 Thread CFS
Hi, I'm porting an "old" application from GWT 1.3 to 1.5. I have a class "DialogBoxWithX" which just adds an X (close) button to the dialog. This class doesn't work any more as the DialogBox implementation has changed a lot. Anyway, I'm trying to implement the same thing, but it's not easy beca

Scrollable tabBars

2008-10-16 Thread Markuz05
How can I create a TabPanel with a scrollable TabBars. Have you got any suggestions? Thanks, Markuz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Go

Re: problem about the module entry point of my application

2008-10-16 Thread [EMAIL PROTECTED]
Perhaps the problem has a link with my xml file.this is my xml file: [EMAIL PROTECTED] a écrit : > Hello, > i've built a gwt project with projectCreator and applicationCreator.I > have th

Ext GWT

2008-10-16 Thread Michi_de
Hi! Im a beginer in GWT and i have to use Ext GWT. But my problem is: i cant get any usefull tutorials or anything, to get started with some of Ext GWT Widgets. Like the FormPanel. As i cant register to the Ext GWT Forum, i give a try here, maybe someone uses Ext GWT too and can help me. My probl

problem about the module entry point of my application

2008-10-16 Thread [EMAIL PROTECTED]
Hello, i've built a gwt project with projectCreator and applicationCreator.I have the default page when i try to run my project.It works correctly.But when i modify the application class MyApplication and i write this code package com.gwt.client; import com.google.gwt.core.client.EntryPoint; i

Re: Deploy GWT Project to Tomcat

2008-10-16 Thread Michi_de
I solved the problem by adding all the class files from /bin to / classes in WEB-INF Its working for me now. Thanks anyways! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: Norton 360 slows GWT app?

2008-10-16 Thread Martin Trummer
FYI: I found those 2 interessting sites: http://mail.google.com/support/bin/answer.py?answer=80446&topic=12780 http://shaunmccarthy.wordpress.com/2007/02/14/symmantec-virus-definitions-slow-websites-with-javascript-significantly/ On Oct 15, 11:45 am, Joe Cole <[EMAIL PROTECTED]> wrote: > We had h

Re: missing -compile.cmd

2008-10-16 Thread [EMAIL PROTECTED]
I though it might be something like that. Well i have a near complete project that doesnt use applicationCreator is there another way? I assume there must be as gwt compiles everything when you run it in web mode. Thanks, Steve On Oct 15, 7:19 pm, Charlie Collins <[EMAIL PROTECTED]> wrote: > It

GWT- oogle app engine communication using Json

2008-10-16 Thread Ajay Jetti
Hi --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED]