Problem layout with html + gwt

2009-01-16 Thread bond
Hi, I've a problem with a new example that I've made. In this example I've the main.html as this: html head meta http-equiv=content-type content=text/html; charset=iso-8859-1/ meta name=description content=description/ meta name=keywords content=keywords/ meta name=author content=author/ link

How to show our widget in new window

2009-01-16 Thread ramesh chiluveri
Hai All, I have requirement like , i want to show my popup panel in a new window when application loads. is there any way to show our widgets in a new window. i think we have window.open(url,name,features) method. but it is not useful in this case. Thank u

Re: Best way to listen for events using com.google.gwt.dom.client.Element n GWT 1.5

2009-01-16 Thread step3...@yahoo.fr
Hello, I have the same problem : we build the page on the server so we have to use DOM static methods DOM.setEventListener to associate a listener directly to a DOM element. I think its important not to depreciate this method in 1.6 ! Thanks On 14 jan, 22:18, Tommaso sciort...@gmail.com wrote:

Re: GWT applications memory management

2009-01-16 Thread buz...@gmail.com
Hello Alexey, Unfortunately this is a typical situation in large GWT application which uses a lot of custom Widgets and DOM/native code. We have found no tooling which would efficiently show us the exact places of memory leaks and the only approach left is to cut you application into two halves

pendingSrc problem of Image object on IE 7.0

2009-01-16 Thread ship
hi, In a gwt web application, I am showing a user selected image through FileUpload class , this image is showing on IE 6.0 browser but not on the IE 7.0 , when i see img element in the alert box it display this text: IMG class=gwt-Image style=WIDTH: 200px; HEIGHT: 200px src=C:\Users

Re: How to render a list(ul li) by gwt widget ?

2009-01-16 Thread luisfpg
Create a class like this: public class ULPanel extends ComplexPanel { private UListElement list; public BulletPanel() { list = Document.get().createULElement(); setElement(list); } @Override public void add(Widget child) { Element li =

Re: GWT applications memory management

2009-01-16 Thread Lex
Hello Dmitry, We are also thinking about splitting application into several. So now we will try this approach starting with creation some proof of concept demo application. Thanks a lot for your explanation. On Jan 16, 12:17 pm, buz...@gmail.com buz...@gmail.com wrote: Hello Alexey,

How to use/debug a widget and use 2 different Java packages in the same project?

2009-01-16 Thread Fred Janon
Hi, I am developing a widget that I would like to package in a jar for use in GWT projects. I created a new project for my widget, wrote the code and debugged it in its own project. Now I want to create a test project (in a different Java package) and be able to still modify/debug my widget

Re: How to use/debug a widget and use 2 different Java packages in the same project?

2009-01-16 Thread olivier FRESSE
Hi, Put your widget code in a jar file, and use it as a module in your test code. http://code.google.com/support/bin/answer.py?answer=55197topic=10211 2009/1/16 Fred Janon fja...@gmail.com Hi, I am developing a widget that I would like to package in a jar for use in GWT projects. I created

Re: History and Tab panels

2009-01-16 Thread jake H
OK i finally got what todd tried to say me :p Its working now. ty all for your replies. On Jan 9, 6:21 pm, todd.sei...@gmail.com todd.sei...@gmail.com wrote: First remember that #0 and #3 are not pages. Check outhttp://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...() to

Fw: TreeNode Listener issues

2009-01-16 Thread Manish Kumar
any idea on this. please help me out. Thanx - Original Message - From: Manish Kumar man...@oakdeneindia.com To: Google-Web-Toolkit@googlegroups.com Sent: Friday, January 16, 2009 12:48 PM Subject: TreeNode Listener issues Hi Everybody, Can I get any help on this : I am calling a

Re: Need help with client server auth

2009-01-16 Thread mikedshaf...@gmail.com
The simplest thing I can comment is: that's about your only option. You've got various levels of security issues here, so I'm going to assume the simplest. You need the web client to be trusted by the GWT server (the server end of the GWT-RPC). Then you need the GWT server to be trusted by the

Re: GWTx - anyone with experience?

2009-01-16 Thread Arthur Kalmenson
That's one of the caveat of using GXT, it's rather slow compared to vanilla GWT. You can search around the group for opinions regarding GXT and GWT-ext. -- Arthur Kalmenson On Wed, Jan 14, 2009 at 5:22 PM, Glamdring bozhidar.bozha...@gmail.com wrote: Hello, I plan to use GWTx Introspector

Re: GWT for SOA development

2009-01-16 Thread gregor
Spring + Hibernate + GWT is a sound choice and should support most all of what you need to do. I would look at JBoss SEAM, but then I like JBoss. All three are tried and tested in the field, so that should tell you scalability is not an issue. With GWT clients, the key thing is being able to move

Re: GWTx - anyone with experience?

2009-01-16 Thread Rob Smith
You're such a broken record :) You see GWT and 'x' and copy paste your complaint post. The user is referring to GWTx. Please read his original post carefully. http://code.google.com/p/gwtx/ On Jan 16, 8:29 am, Arthur Kalmenson arthur.k...@gmail.com wrote: That's one of the caveat of using

Re: Number of DAO's effect over all module sizes

2009-01-16 Thread AB
I dont understand why or even how you could include DAOs in the client side src trees. When I think of dao's, I think classes that have tcp connections to databases, etc which cant possibly compile into javascript. Are you talking about dto's or other objects that the DAOs pass back to the

how to image.setUrl to (public/images/2341.gif);

2009-01-16 Thread Alex Luya
For testing,I uploaded an image into direcotry:src/../client/public/ images(servlet will do that),and created an image object and call setUrl() method to set url,so the question is how I can get and specify this url(src/../client/public/images/) in client side.thank you.

Re: how to image.setUrl to (public/images/2341.gif);

2009-01-16 Thread eggsy84
Use the GWT Image object in your client side code: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Image.html com.google.gwt.user.client.ui.Image img = new Image(images/ myImage.jpg); or img.setUrl(images/myImage.jpg); As long as the image is within

Re: RPC functionality outside of a WAR

2009-01-16 Thread todd.sei...@gmail.com
To what would you have access? What is the backend? If you can upload JARs then this might help? (http://groups.google.com/ group/Google-Web-Toolkit/browse_thread/thread/fb6c8a8adbdbd5cb/ e4b051bf2b41d30e?lnk=gstq=MyRpcServlet+#e4b051bf2b41d30e) On Jan 15, 1:04 pm, Mike B

Re: passing events up from a widget?

2009-01-16 Thread seven.reeds
Never mind. It looks like the answer is to implement SourcesChangeEvents and all the associated methods. There might be great documentation on this somewhere with examples but i have not seen it. Looking at the TextBoxBase and ListBox code helped a lot.

Re: pendingSrc problem of Image object on IE 7.0

2009-01-16 Thread todd.sei...@gmail.com
I doubt this is an issue with GWT. It is likely that the browser is not letting the website access local files do to security issues. On Jan 16, 6:06 am, ship shilpi10ve...@gmail.com wrote: hi, In a gwt web application, I am showing a user selected image through FileUpload class , this image

StockWatcher and Eclypse: problem

2009-01-16 Thread Adri
Hello, I'm approaching GWT and I was trying to follow the instruction in the tutorial. When I run the StockWatcher application within Eclypse I got a Could not find the main class popup and the following errors: java.lang.NoClassDefFoundError: com/google/gwt/util/tools/ToolBase at

Help with GWT + PHP + Eclipse setup

2009-01-16 Thread ScoPi
I have a good setup in Eclipse for debugging the client-side of a GWT application that uses Apache/PHP on the backend. However, I can't figure out how to debug the server-side PHP from Eclipse as well. I do have the PDT installed (PHP Development Tools), but since the GWT application creator

Background-Image in VerticalPanels (need Help!)

2009-01-16 Thread Sydus
Hi, I am a Java-Programmer and new to GWT and I have a problem with using an background-image on a DockPanel. I have 1 DockPanel with 3 VerticalPanels. The left and right VerticalPanels should only include a background-image. The content of the Website is going to be placed into the middle

Compiler problem after upgrading from v1.4.62 to v1.5.3

2009-01-16 Thread DaViS
Hi everyone, I'm having an issue with the gwt compiler and i was hoping someone could help me out. I've built a gwt app using v1.4.62 and it's been working great for a while now. Due to some enhancements im making, i need to update to the latest gwt (v1.5.3). After doing so, i'm no longer able

BROKEN DISPLAY OF DECORATOR PANEL

2009-01-16 Thread bond
Hi, I've add a decorator panel in a RootPanel but in IE6 the image at the 4 corner are not display. In firefox it work correctly. Any ideas? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: jbpm -gwt integration

2009-01-16 Thread Sumit Chandel
Hi Abi, I am not familiar with JBPM, but here are a couple of techniques you could use to get your GWT front-end interoperating with JBPM services residing on the server: 1) Assuming you'll only be using JBPM on the server-side, you could use the GWT RPC subsystem to make calls from the client

Re: Who's Using GWT?

2009-01-16 Thread akutz
lostcreations is using GWT for its new application, Virtualization Manager Mobile (VMM). With VMM you can manage and monitor virtual host servers and VMs right from the palm of your hand using your favorite mobile device! Not only can it run in any browser that supports AJAX and cookies, but it

Testing GWT 1.5 with various mobile platforms

2009-01-16 Thread akutz
I have created a new app focused on mobile management of various virtualization platforms using GWT. I have tested the app with several mobile platforms, and am keeping a list of those that work and those that do not. You can find the list at

[gwt-contrib] strange compiler error in trunk

2009-01-16 Thread Cameron Braid
using gwt r4486 from trunk The following compiler error only occurs in my gwt modules that depend on ExtGWT. I don't know why it is looking for an implementation of the method on * Object* ? Any clues on why this is happening ? Is it a bug ? [java][ERROR] An internal compiler

[gwt-contrib] Re: let incubator's build.properties use environment variables

2009-01-16 Thread Emily Crutcher
LGTM On Thu, Jan 15, 2009 at 10:36 PM, fabb...@google.com wrote: Reviewers: ecc, Description: Small tweak to set the env property first, so that user-preference properties in build.properties can refer to environment variables, and to remove the check on gwt.home, because it's going to be

[gwt-contrib] Re: Question about Log.info,etc. methods

2009-01-16 Thread Joel Webber
Log.i()? Yuck. On Thu, Jan 15, 2009 at 12:54 PM, Emily Crutcher e...@google.com wrote: In some ways, android is now a sister project of gwt. For our static logging, we use methods like Log.info(String message, String category) the same method in android is Log.i(String category, String

[gwt-contrib] Re: Question about Log.info,etc. methods

2009-01-16 Thread Freeland Abbott
At a speculative guess, Android may be choosing short names to keep the compiled class files smaller, since they're such a memory-restricted environment (they also like filenames like R.java to contain what amounts to a dictionary of resource

[gwt-contrib] Re: Question about Log.info,etc. methods

2009-01-16 Thread Isaac Truett
While I agree entirely regarding the undesirability of single-letter method names, I also wonder if perhaps Emily was referring, in part at least, to the order of the two parameters, message and category? Making that consistent doesn't seem unduly burdensome. On Fri, Jan 16, 2009 at 11:17 AM,

[gwt-contrib] Re: Question about Log.info,etc. methods

2009-01-16 Thread Emily Crutcher
Both actually, though if we don't change the method names, changing the order of the parameters without breaking everyone currently using logging would be almost impossible. On Fri, Jan 16, 2009 at 11:21 AM, Isaac Truett itru...@gmail.com wrote: While I agree entirely regarding the

[gwt-contrib] Re: Question about Log.info,etc. methods

2009-01-16 Thread Isaac Truett
What about finding some way to make the parameters type safe? Perhaps a simple Category class that wraps a String? Writing Log.info(new Category(message), category) would jump out at me as being very noticeably wrong. That would avoid the confusion now between Log.info() and Log.i(). Is the extra

[gwt-contrib] Code Review Request - Updated style themes

2009-01-16 Thread John LaBanca
Emily - Please do a code on the following change: http://code.google.com/p/google-web-toolkit/source/detail?r=4487 This change replaces the use of AlphaImageLoader in the GWT style themes with references to the new single-bit (hard edged) versions of the background images. IE7 still uses the

[gwt-contrib] Re: Question about Log.info,etc. methods

2009-01-16 Thread Emily Crutcher
Currently, none of the variations that I tried where categories were not strings maintained the property that all logging messages were completely compiled away. If you can figure one out, I'd be very interested. cheers, Emily On Fri, Jan 16, 2009 at 11:44 AM, Isaac Truett

[gwt-contrib] How to deprecate non-Java files?

2009-01-16 Thread John LaBanca
Team and contributors - Does anyone have a good method for deprecating non-Java files, such as images? Description: = I recently updated the GWT style themes, so some of the IE6 specific images are no longer necessary. However, some people might be inheriting just the StandardResources

[gwt-contrib] Re: How to deprecate non-Java files?

2009-01-16 Thread Ian Petersen
Would it be possible to engineer something that would throw up a warning message in the hosted mode logger when the client requests one of the deprecated files? Doing so probably wouldn't catch everybody because -noserver users would presumably circumvent the check, but it would probably catch a

[gwt-contrib] Re: How to deprecate non-Java files?

2009-01-16 Thread Isaac Truett
I was thinking along similar lines, but at compile time: 1. Include a list of deprecated public files in the release (we'll call it public-deprecated.txt). 2. Compiler gives a warning if anything from public-deprecated.txt is included in the compiled output. 3. Option to disable the warning

[gwt-contrib] Re: strange compiler error in trunk

2009-01-16 Thread Freeland Abbott
At a guess, this will be related to the new event stuff... although that was supposed to provide (deprecated) compatibility implementations, I'd guess this is tripping over one that is missing. Still, as Lex says, a compiler bug also to end with an ICE. ;-) On Fri, Jan 16, 2009 at 11:28 AM, Lex

[gwt-contrib] Making listener wrapper public

2009-01-16 Thread ecc
Reviewers: jlabanca, Description: This patch makes listener wrapper public. It also switching the default conversion of TextBox.addChangeListener from a custom addDomHandler solution to TextBox.addValueChangeHandler Please review this at http://gwt-code-reviews.appspot.com/2207 Affected files:

[gwt-contrib] Re: Proposed tweaks to the new event infrastructure

2009-01-16 Thread jgw
http://gwt-code-reviews.appspot.com/2205/diff/43/230 File user/src/com/google/gwt/event/logical/shared/ValueChangeEvent.java (right): http://gwt-code-reviews.appspot.com/2205/diff/43/230#newcode42 Line 42: if (source.isEventHandled(TYPE)) { On 2009/01/15 20:50:33, ecc wrote: On 2009/01/15

[gwt-contrib] Re: Proposed tweaks to the new event infrastructure

2009-01-16 Thread Joel Webber
On Thu, Jan 15, 2009 at 3:23 PM, Emily Crutcher e...@google.com wrote: As most of the code review comments are moot, due to the change in how the interface is implemented, capturing the two issues left here: *gwt.*.foo.Foo* -- has, in general, meant getting the content of the entire

[gwt-contrib] Re: Question about Log.info,etc. methods

2009-01-16 Thread Bruce Johnson
This is too much of a one-off thing to consider. Any framework that's intended to be portable between GWT and Android would have to have a higher level of abstraction, in which this (and hundreds of other) impedance mismatches would be necessarily wrapped in adapter code anyway. On Fri, Jan 16,

[gwt-contrib] Re: Making listener wrapper public

2009-01-16 Thread jlabanca
Everything looks good except the names. If we are making this public, then WrapClick sounds weird as a class name. Generally, class names are nouns, but Wrap is a verb. I suggest changing all of them to ClickListenerWrapper (or the equivalent for other listeners). Event ClickWrapper seems a

[gwt-contrib] Re: Making listener wrapper public

2009-01-16 Thread Emily Crutcher
How about WrappedClickListener instead then? I want a prefix rather then a suffix because we don't want these classes to show up prominently when you do a type search in an ide. On Fri, Jan 16, 2009 at 2:57 PM, jlaba...@google.com wrote: Everything looks good except the names. If we are

[gwt-contrib] Re: Making listener wrapper public

2009-01-16 Thread John LaBanca
That works for me. Thanks, John LaBanca jlaba...@google.com On Fri, Jan 16, 2009 at 3:11 PM, Emily Crutcher e...@google.com wrote: How about WrappedClickListener instead then? I want a prefix rather then a suffix because we don't want these classes to show up prominently when you do a type

[gwt-contrib] Re: strange compiler error in trunk

2009-01-16 Thread Lex Spoon
On Fri, Jan 16, 2009 at 11:28 AM, Lex Spoon sp...@google.com wrote: I'll go download ExtGwt now and try to figure out what's going on. It really should find an implementing method, but the precise way it checks must be messed up. My initial attempt to repro didn't work. Cameron, what

[gwt-contrib] Re: strange compiler error in trunk

2009-01-16 Thread Cameron Braid
I am using version 1.2.1 I created a new module that triggers the compiler error : module inherits name=com.extjs.gxt.ui.GXT / entry-point class='error.client.GwtCompilerErrorEntryPoint' / set-property name=locale value=default/ /module package error.client; import