Re: Query regarding printing a widget

2009-11-21 Thread abhiram wuntakal
Hi, Can someone please suggest a possible solution for this? Regards, Abhiram On Fri, Nov 20, 2009 at 11:02 PM, abhiram abhir...@gmail.com wrote: Hi All, I just needed some help regarding a functionality where i need to print the contents of a widget. I am using the Print.it()

Re: How to set default font family as Verdana in RichTextEditor

2009-11-21 Thread Brendan
Supporting RichTextEditor across browsers looks like it can get pretty intense, and the implementations look inherently programmatic (using execCommand()), so I think your best bet is setFont() on the widget itself. Maybe someone else can chime in if there is an easy way to do it in CSS; I

GWT 2.0 RC1 deRPC fails on App Engine?

2009-11-21 Thread Kabe
I'm trying to use deRPC of GWT 2.0 RC1 on App Engine and i'm getting the following exception. Is this because sun.misc.Unsafe is unavailable on App Engine (i'm not sure it isn't, but it seems possible)? Seems strange that GWT 2.0 RPC would not work on App Engine. Did i fail to configure something

Re: Query regarding printing a widget

2009-11-21 Thread Dan
You can do it with a class and a way to pass a string to it. // = class code === public class PrintWidgetClass2 { native void printx(String s) /*-{ var win1 = window.open('', 'reportwindow'); win1.document.open();

Re: GWT 2.0 RC1 deRPC fails on App Engine?

2009-11-21 Thread Tristan
Don't know if it is the same problem.. but are you initializing GAE to run in your application configuration? I couldn't get server side to work because when configuring a custom Java Application Configuration, since Web Application doesn't work with GWT 2.0 because it is now DevMode and not

How to disable standard css

2009-11-21 Thread Alex Luya
Hi,I want to disable any css come with GWT,and have followed this thread,and commented the entry inherits name='com.google.gwt.user.theme.standard.Standard' / in Project.gwt.xml ,but seems that standard css still be generated in directory /war/project/gwt,so how to disable it thoroughly.Thank

Re: Google Web Toolkit 2.0 RC1 Now Available

2009-11-21 Thread Tristan
To answer my own question: -server com.google.appengine.tools.development.gwt.AppEngineLauncher On Nov 20, 5:07 pm, Tristan tristan.slomin...@gmail.com wrote: What do I pass to the -server argument when I want gwt 2.0 to run with all the neat GAE stuff (the google eclipse plugin does it

Re: GWT 2.0 RC1 deRPC fails on App Engine?

2009-11-21 Thread Tristan
in case this is the problem, the -server argument is: -server com.google.appengine.tools.development.gwt.AppEngineLauncher On Nov 21, 9:39 am, Tristan tristan.slomin...@gmail.com wrote: Don't know if it is the same problem.. but are you initializing GAE to run in your application

Re: -server argument documentation?

2009-11-21 Thread Tristan
Answer: -server com.google.appengine.tools.development.gwt.AppEngineLauncher On Nov 20, 12:38 pm, Tristan tristan.slomin...@gmail.com wrote: I am using GWT 2.0 built from trunk and I want to be able to launch my GWT / GAE app in DevMode (so that it uses GAE and not just Jetty). What is the

Compiling Errors after moving a class into another package

2009-11-21 Thread etsauer
I have an application that I built completely in the client side and therefore all classes exist in the client package of my app. However, now that I would like to persist some of my data, I have moved the necessary classes in the server package. I moved the classes using the eclipse refactoring

Garmin Communicator API

2009-11-21 Thread Stephen Walsh
I am trying to use the above api to implement some JSNI code in my onModuleLoad method. I am having the darnedest time trying to get it to recognize that I have the extra javascript files available. The JS debugger in Chrome keeps saying that Garmin is undefined (see below). Here's the dilemma:

Resize panel when contained Tree expands? (newbie)

2009-11-21 Thread BDR-Gary
I'm a complete GWT newbie... My page is a set of panels in a VerticalPanel. One of those panels is a HorizontalPanel with a Tree on the left and a panel of widgets on the right. When I expand a tree branch, I would like the containing HorizontalPanel to expand so that the newly exposed leaf nodes

Image Generation

2009-11-21 Thread Naveen
Hi all, Is there a way to display the stream of bytes passed from the server as an image in GWT. in AWT we use the tool kit to construct the image.. this is really urgent and i am struck up here.. cannot move further Any help much appreciated... Regards, Naveen -- You received this message

Re: Query regarding printing a widget

2009-11-21 Thread achilles hector
Hi, this print method is in Document or Window object if i am not wrong. you can print the content using jsni using $doc.print or $wnd.print On Sat, Nov 21, 2009 at 2:40 PM, abhiram wuntakal abhir...@gmail.comwrote: Hi, Can someone please suggest a possible solution for this? Regards,

Re: Missing build paths for App Engine SDK and GWT SDK

2009-11-21 Thread Chris Ramsdale
When you install via the updates mechanism in Eclipse it will install the SDK to a new directory. Double check the SDK references and paths within your existing project. If you expand the GWT SDK entry in the Libraries section you'll see where it thinks gwt-user and gwt-dev are installed. You can

Re: GWT 2.0 Development Mode: Can't Load Page

2009-11-21 Thread Chris Ramsdale
Are there any errors being logged to your Console window? Are you able to get a successful connection when running ant devmode from the command line? On Fri, Nov 20, 2009 at 1:29 PM, spatters71 sonny.c.patter...@gmail.comwrote: I'm trying to run the sample GWT 2.0 Applications. I can't seem to

gwt graphics and dnd

2009-11-21 Thread sony
Hi, I am using gwt graphics and gwt dnd for a program. I have a button which when clicked creates a circle at specified position on the panel and the circle is draggable. For dragging i have used gwt-dnd. I have also added a click handler to the circle which when click should print ERD Circle.

Image Generation

2009-11-21 Thread Naveen
HI.. Greetings... i am using GWT for one of my application development and found a problem where i cannot proceed further. I need to send a stream of bytes from the sever to the GWT client and create an image using the response in client side. I had tried my best but cannot achieve this. i am

Creating an Dynamic Image using Servlet Output Stream

2009-11-21 Thread naveen krishnan
Have a question? Can some one please help me in creating an dynamic Image using the servlet output stream and display it in the GWT client. I am struck here and not able to proceed further.. This is really urgent.. help is much appreciated... -- Navaneetha Krishnan .A -- You received this

Re: Image Generation

2009-11-21 Thread Brendan
well the first thing you should do, of course, is to see if you can make the conversion on the server. If it's already sending you the string of bytes, maybe it can decide what to do with it and then output an image to download. If that's not possible (if the client really needs to alter the

Re: Design Patterns

2009-11-21 Thread Lúcio Camilo
But someone can xplain what? 2009/11/20 Martin Trummer martin.trum...@24act.at yes On 19 Nov., 21:08, Lúcio Camilo luciocam...@gmail.com wrote: The component Composite and the object Command have something in common with the design patterns with same name? -- You received this

GWT as part of repository or not?

2009-11-21 Thread jbdhl
I can't decide where we should place GWT itself for a project with multiple developers: 1) In the svn repository as part of the project. Pros: * The developers GWT version will always match what is being used in the project * No potential problems with GWT binaries being

Re: GWT as part of repository or not?

2009-11-21 Thread rjcarr
You list good pros and cons so you'll have to just decide which is the stronger argument for your situation. Since our project is developed in mixed environments, and the developer base isn't very big, it made sense for us to go with your second option (although we use property files not

Re: Creating an Dynamic Image using Servlet Output Stream

2009-11-21 Thread rjcarr
Hi Naveen- I don't have a ton of time to get all the code right for you, but here are the basic steps. 1) Create a servlet and correctly specify it in your web.xml. 2) In the doGet() method of your servlet create or open an image. There are various ways to do this. What you'll likely want to

Re: ie8 and spacing....

2009-11-21 Thread golfdude
But when GWT provides a api method like setSpacing and it is cross- browser and works in most browsers, we atleast would like to know why IE 8 alone acts strange - maybe it is a fix to gwt generated code... gd -- You received this message because you are subscribed to the Google Groups Google

Re: GWT as part of repository or not?

2009-11-21 Thread Angel Marquez
I think in an ideal dream the Project Manager would be able to create a work breakdown structure that would reflect granular components that could be checked out by the appropriate party(ies). This would make it easy to report status of progress if executed properly. Make the project architecture

GWT 2.0 serialization policy file

2009-11-21 Thread Oleg K.
Hi all. I have the following problem. My project tries to use GWT RPC. It has one jar in dependency libs which contain several model classes. All of that classes implements Serializable and IsSerializable interfaces (one of that classes is CHAttrGroup). That jar also includes .java files with

Re: Add class to SerializationPolicy whitelist...

2009-11-21 Thread Oleg K.
I am faced the same problem. So what is the way to customize serialization whitelist ? On 16 ноя, 06:51, Edgenius dapeng...@edgenius.com wrote: It is not new questions in this group. But I face a new problem in 2.0M2 as SerializationPolicy logic is changed.  I know GWT will put serializition

Re: Image Generation

2009-11-21 Thread bryanb
Something like this works for me. On the server: import java.awt.Container; import java.awt.Graphics2D; import java.awt.MediaTracker; import java.awt.RenderingHints; import java.awt.Toolkit; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import

[gwt-contrib] Re: Adds a __gwt_disconnected function to hosted.html, which glasses the screen and puts up a disconnect

2009-11-21 Thread Scott Blum
Thanks John. BTW: I was thinking about this later, and was thinking it might be nice to do two additional things to this: 1) Make the guts of the disconnect logic occur in a timeout, to avoid any what's higher up on the stack that's going to execute after me issues. 2) Make the call a one-shot

[gwt-contrib] Re: Adds a __gwt_disconnected function to hosted.html, which glasses the screen and puts up a disconnect

2009-11-21 Thread John Tamplin
On Sat, Nov 21, 2009 at 12:02 PM, Scott Blum sco...@google.com wrote: BTW: I was thinking about this later, and was thinking it might be nice to do two additional things to this: 1) Make the guts of the disconnect logic occur in a timeout, to avoid any what's higher up on the stack that's

Re: [gwt-contrib] Dev mode Swing UI horizontal scrolling

2009-11-21 Thread Isaac Truett
I agree that SwingLoggerPanel hasn't changed, but something related must have changed. I've just fired up dev mode from trunk (updated within the last 24 hours) and the upper panel scrolls while the lower panel line wraps. Maybe an unintentional result of some other change since MS2. Regardless,

[gwt-contrib] Re: Adds a __gwt_disconnected function to hosted.html, which glasses the screen and puts up a disconnect

2009-11-21 Thread Scott Blum
On Sat, Nov 21, 2009 at 12:26 PM, John Tamplin j...@google.com wrote: On Sat, Nov 21, 2009 at 12:02 PM, Scott Blum sco...@google.com wrote: BTW: I was thinking about this later, and was thinking it might be nice to do two additional things to this: 1) Make the guts of the disconnect logic

[gwt-contrib] Move setStartupURLs earlier, add launch support in Swing UI

2009-11-21 Thread jat
Reviewers: rdayal, Description: This is a first cut of what we discussed on the thread. I haven't gone over this closely, but I wanted to get something that you could use to make the GPE changes. I also added some Swing UI for launching browsers directly, which also gave me a way to indicate

[gwt-contrib] [google-web-toolkit] r7098 committed - Sort format.

2009-11-21 Thread codesite-noreply
Revision: 7098 Author: sco...@google.com Date: Sat Nov 21 16:04:11 2009 Log: Sort format. http://code.google.com/p/google-web-toolkit/source/detail?r=7098 Modified: /trunk/dev/core/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java === ---

[gwt-contrib] [google-web-toolkit] r7099 committed - Reorders a swing operation to prevent a startup race condition that wa...

2009-11-21 Thread codesite-noreply
Revision: 7099 Author: sco...@google.com Date: Sat Nov 21 16:04:20 2009 Log: Reorders a swing operation to prevent a startup race condition that was causing the first log message to render huge and with no text. Admittedly, we don't really understand why it was happening, or why this fixes

[gwt-contrib] [google-web-toolkit] r7100 committed - Formatting fix bug where outer.firstChild would return the wrong nod...

2009-11-21 Thread codesite-noreply
Revision: 7100 Author: sco...@google.com Date: Sat Nov 21 16:04:31 2009 Log: Formatting fix bug where outer.firstChild would return the wrong node (a text node). Review by: jat (TBR) http://code.google.com/p/google-web-toolkit/source/detail?r=7100 Modified:

[gwt-contrib] [google-web-toolkit] r7101 committed - Add guards to make __gwt_disconnected more foolproof....

2009-11-21 Thread codesite-noreply
Revision: 7101 Author: sco...@google.com Date: Sat Nov 21 16:04:41 2009 Log: Add guards to make __gwt_disconnected more foolproof. - Guards against double invocation. - Performs inside a setTimeout. Review by: jat (TBR) http://code.google.com/p/google-web-toolkit/source/detail?r=7101 Modified:

[gwt-contrib] [google-web-toolkit] r7102 committed - All references in __gwt_disconnect_impl() now refer to top window / do...

2009-11-21 Thread codesite-noreply
Revision: 7102 Author: sco...@google.com Date: Sat Nov 21 18:00:26 2009 Log: All references in __gwt_disconnect_impl() now refer to top window / document. Review by: jat (TBR) http://code.google.com/p/google-web-toolkit/source/detail?r=7102 Modified:

Re: [gwt-contrib] [google-web-toolkit] r7101 committed - Add guards to make __gwt_disconnected more foolproof....

2009-11-21 Thread John Tamplin
On Sat, Nov 21, 2009 at 7:16 PM, codesite-nore...@google.com wrote: Revision: 7101 Author: sco...@google.com Date: Sat Nov 21 16:04:41 2009 Log: Add guards to make __gwt_disconnected more foolproof. - Guards against double invocation. - Performs inside a setTimeout. Review by: jat (TBR)

Re: [gwt-contrib] [google-web-toolkit] r7100 committed - Formatting fix bug where outer.firstChild would return the wrong nod...

2009-11-21 Thread John Tamplin
On Sat, Nov 21, 2009 at 7:12 PM, codesite-nore...@google.com wrote: Revision: 7100 Author: sco...@google.com Date: Sat Nov 21 16:04:31 2009 Log: Formatting fix bug where outer.firstChild would return the wrong node (a text node). Review by: jat (TBR)

[gwt-contrib] [google-web-toolkit] r7103 committed - trunk c6817 + c7096-c7102 were merged into this branch...

2009-11-21 Thread codesite-noreply
Revision: 7103 Author: sco...@google.com Date: Sat Nov 21 18:10:06 2009 Log: trunk c6817 + c7096-c7102 were merged into this branch Remove legacy support from hosted.html. Adds a __gwt_disconnected function to hosted.html, which glasses the screen and puts up a disconnect message.

[gwt-contrib] IE plugin graceful disconnect

2009-11-21 Thread scottb
Reviewers: jat, Message: Some notes: http://gwt-code-reviews.appspot.com/112801/diff/1007/15 File plugins/npapi/LocalObjectTable.h (right): http://gwt-code-reviews.appspot.com/112801/diff/1007/15#newcode74 Line 74: setFree(id); This was causing a debug check to fail. If you do the setFree(id)