Re: exclude specific classes from obfuscation

2008-09-22 Thread Shaun Senecal
I worked around the issue by serializing down to a String instead of a Map. That way I dont have to worry about the obfuscation mess, since the String type is supported for communicating from JavaScript to Java. On Mon, Sep 22, 2008 at 12:07 PM, Oscar [EMAIL PROTECTED] wrote: I have a class,

Problem with vertical split panel on mozilla

2008-09-22 Thread Ramesh
Hi, I developed a application with split panel. Problem i am facing is that lower panel is over the top panel. I mean to say like 50% of the top panel is overcome by the bottom panel. I am adding the absolute panel to top and lower portions. Its data will be set at the runtime, by that time the

Problem with vertical split panel on mozilla

2008-09-22 Thread Ramesh
Hi, I developed a application with vertical split panel. Problem i am facing is that lower panel is over the top panel. I mean to say like 50% of the top panel is overcome by the bottom panel. I am adding the absolute panel to top and lower portions. Its data will be set at the runtime, by that

Re: Sharing the localization code between client and server

2008-09-22 Thread Kroc
I'm also looking for this kind of 'smart factory' to use localization in my shared code. One easy way (which is good enough for me), is MY.create() return GWT.create() on client side and null on server side... This solution may lead to null pointer exception. If you find an elegant solution,

GWT-Gadget same-origin security restriction

2008-09-22 Thread joseanquiles
Hi, I have developed a simple Google Gadget using gwt-gadgets. The gadget XML file is hosted at mydomain.com. The gadget uses RequestBuilder.sendRequest() to invoke the server at mydomain.com. I get the following exception: The URL http://mydomain.com/test/servlet is invalid or violates the

Re: GWT spring integration

2008-09-22 Thread olivier nouguier
Hi, I'm using a simple dispatch servlet to dispatch the RPC request to a spring managed bean: http://code.google.com/p/gwt-spring-dispatcher/ IMHO, it's quite simple and not intrusive. On Sun, Sep 21, 2008 at 8:24 AM, razo [EMAIL PROTECTED] wrote: Dear All, am trying to integrate gwt

Re: GWT spring integration

2008-09-22 Thread Ed
I suppose you are working in -noserver mode. If not, do so. See the faq for help on how to use it: http://code.google.com/support/bin/answer.py?answer=87509topic=10454 Then use the server library of http://gwt-widget.sourceforge.net/ to use map url calls to spring beans. See the doc for

building custom module along with application project - module source files not visible

2008-09-22 Thread Greg Stasica
hi, i've changed default project structure so it follows maven project convention e.i. source directory is src/main/java instead of original src folder (i had to update myapp.launch file so eclipse could recognize my changes). The problem I have at the moment is that after creating a separate

Search Engine Optimizing for Google Web Toolkit

2008-09-22 Thread flockton
Hello! Is it possible to optimize a site programmed with GWT for GOOGLE? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Not able to create new element in RichTextArea

2008-09-22 Thread Vic
I try to insert new element into RichTextArea but get an exception JavaScriptException: (Error): Invalid argument. public void onModuleLoad() { final RichTextArea editor = new RichTextArea(); RootPanel.get(editor).add(editor); Button button = new Button(Click Here);

Re: History

2008-09-22 Thread Sumit Chandel
Hi Riyaz, As Thomas mentioned, it is indeed History.onHistoryChanged() that is now deprecated and not HistoryListener.onHistoryChanged() as noted in the Breaking Changes section of the new 1.5 docs. You should be able the latter method to implement history support for you GWT application. Check

Re: Not able to create new element in RichTextArea

2008-09-22 Thread Vic
I noticed that I have problem only on IE, with FF it works fine. I looked at generated javascript and saw strange code function onClick_10(sender){ var button, document_0; document_0 = this.val$editor.element.contentWindow.document; button = $doc.createElement(($clinit_6() , 'button'));

Re: GWT spring integration

2008-09-22 Thread razo
hi ED, ill try to do it your way but can you please send me the way you do the hot deployment thanks for your help On Sep 22, 12:30 pm, Ed [EMAIL PROTECTED] wrote: Did you already tried it ? I am debugging perfectly in my backend app, which ofcourse is an important feature. It's running

Re: GWT spring integration

2008-09-22 Thread Ed
Ofcourse, no problem: My way: download myeclipse (a trial): http://myeclipseide.com. Best way is to download it with Eclipse included so you are ready to go after installing it. When starting it, just let it point to your current workspace such that it will pick up your current settings. In

Re: Sharing the localization code between client and server

2008-09-22 Thread Lothar Kimmeringer
Dobes schrieb: Hm, I see. But would I be able to use GWT.create(...) to create the Constants subclass, and have it honor my @DefaultStringValue() annotations? I'm using GWT 1.4 here and haven't migrated to 1.5, yet. Using GWT.create will be difficult on the server-side, because the Locale

RequestBuilder to send a hashmap to RemoteServiceServlet

2008-09-22 Thread karthi
How to send a arrayList/hashmap using requestbuilder to a class that extends remoteserviceServlet? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

MD5 GWT JSNI WITH MACOSX PROBLEM

2008-09-22 Thread Francesco Izzi
Hi, i have need to implementing md5 hash on my GWT Application. I have read the post on MD5 JSNI implementation but when i start my application i have an UnsatisfiedLinkError please help. I work with Macosx 10.5 --~--~-~--~~~---~--~~ You received this message

GWT python communication

2008-09-22 Thread programmerajay
I wrote a example code today for testing the Python Gwt Rpc method provided by google , it did clear some of doubts regarding the way communication btwn client and Server happens, but the exact implementation is still having some trouble. Server error , method not found error and such errors are

setVisibleRect makes image vanish :?

2008-09-22 Thread darkflame
If I make a class like; public class CroppedImageSet extends SimplePanel { final Image Background = new Image(); public TransitionGridImage(){ this.add(Background); Background.setUrl(http://www.google.com/images/logo.gif;);

GWT gadget with themes

2008-09-22 Thread krishna
Hi, Is is possible to use gwt themes with igoogle gadgets (build using gwt gadget api). I'd path issues with theme images (hborder etc). Any idea how to make it work. Regards, Krishna --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: GWT spring integration

2008-09-22 Thread Ed
Good to hear that it works :) -- Ed --~--~-~--~~~---~--~~ 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,

Re: GWT Maps API fails on host mode

2008-09-22 Thread Eric Ayers
Here's a followup suggestion that might help on Ubuntu Hardy: unzip http://google-web-toolkit.googlecode.com/svn/tools/redist/mozilla/mozilla-1.7.13.tar.gz at /usr/lib/mozilla-1.7.13 and set export MOZILLA_FIVE_HOME=/usr/lib/mozilla-1.7.13 2008/9/20 Eric Ayers [EMAIL PROTECTED]: I admit that

Re: GWT application and Google AppEngine

2008-09-22 Thread Arthur Kalmenson
Hi Sri, It looks like the heap is running out of memory during complication. You need to increase the heap size with some JVM arguments. - XX:PermSize=64M will set the heap size to 64MB and - XX:MaxPermSize=256M will set the maximum heap size to 256MB. Hope that helps. Regards, Arthur

Re: questions on Login Security FAQ

2008-09-22 Thread JasonG
Dearest Reinier, I'm a little perturbed by your response. Let's start with session handling. I had initially made a point that if you are using a J2EE back end, then you don't have to worry about handling session IDs because that is pretty much handled for you. You continue to make some sort

Autosuggest on Delimiter

2008-09-22 Thread Evan Ruff
Hey Guys, I was just wondering if anyone had developed an Autosuggest input that is based on a delimiter. Basically, my idea is that you'd have a text field where you could type standard text, then it would autosuggest only after a character string (say, \\ or something) I'm looking to use the

Re: Load DB information

2008-09-22 Thread Lothar Kimmeringer
jamer schrieb: In the server side i use Java. And i connect to DataBase with a CONNECTION_URL, DB_USER and DB_PASSWORD This information it is write in the class, but if i want modify this information i need recompile the application. I want load this information from a file. You might use

Re: OFCGWT - charts for GWT !!

2008-09-22 Thread [EMAIL PROTECTED]
Tim, This is incorrect. This leverages the incubator's Canvas widget which provides IE support via VML. ;-P On Aug 26, 10:53 pm, Tim [EMAIL PROTECTED] wrote: Glotr/Flotr looks neat however it requires Canvas support which IE browsers don't have (alas!) without an extra plugin...Flash is too a

Re: questions on Login Security FAQ

2008-09-22 Thread JasonG
I think you're trying to argue that your solution will stop the hacker because he'll never guess that he's supposed to hash username+password instead of just password. No. I'm making the point that in a well organized environment, the database and application are separated and through

bug : TabBar setTabText dont set on new Label word wrap false

2008-09-22 Thread Rene
Normaly when you create tab it is set word wrap false and when you want to change it is not set end your text can be on multiple lines. here is workaroud: public void setTabText(int index, String text) { Composite delPanel = (Composite) ((HorizontalPanel)

Re: gwt help

2008-09-22 Thread Pavel Byles
Hi Stella, sorry for my late reply. Here's how you can do this really simply: 1. Create a new project 2. Edit your projectname.gwt.xml file and add: inherits name=com.google.gwt.http.HTTP/ inherits name=com.google.gwt.json.JSON / 3. Use the RequestBuilder to make a call to your python script.

sorting json object keys

2008-09-22 Thread seven.reeds
Hi, This is probably not a GWT issue but I am really still a java newbie. I have a JSONObject and one element in the thing is itself an associative array of items. I know I can use the has() get() methods to get to the this sub- object. I am sure I can use the keys() method on the sub object

Re: sorting json object keys

2008-09-22 Thread Amit Dhingra
I found this which might be of some help to you... private void myfunc(TreeItem treeItem, JSONValue jsonValue) { JSONArray jsonArray; JSONObject jsonObject; JSONString jsonString; if ((jsonArray = jsonValue.isArray()) != null) {

Re: Breaking up is hard to do

2008-09-22 Thread walden
Ben, First of all, I checked with Neil Sedaka, and it's okay for you to use this thread title. Neil's a nice guy that way. On Sep 22, 10:05 am, ben [EMAIL PROTECTED] wrote: Just following up on this, to see if anyone can lend some support.  I have this working in hosted mode.  But when I

Re: Invisible outer Grid triggers screen repaint problem in IE7. Any workarounds?

2008-09-22 Thread John Gunther
Ian, Sorry for the delayed response, missed your re-post. My recollection is I tried visibility: visible without the visibility: hidden first, and it seemed that IE7 was smart enough to realize I hadn't changed a thing, and to ignore me. Just in case you are curious to reproduce this on your

Re: Breaking up is hard to do

2008-09-22 Thread ben
Well I figured out the servlet problem. when I compiled my jar, I needed to make sure I check to export generated class files and resources as well as java source files and resources. As for the errors. There is nothing specific, it's only the hosted mode, which looks ugly, but at least

Client-side GChart 2.2: Sparklines and better/faster solidly filled line charts.

2008-09-22 Thread John Gunther
Client-side GChart is an open source GWT library that supports bar, line, and pie charts, and yet adds nothing but its ~2,000 lines of Java to your application's list of dependencies: http://gchart.googlecode.com This 2.2 release adds: * A new LINE symbol type for faster/better solidly

Re: Possible bug? UnsupportedOperationException: TreeSet not implemented

2008-09-22 Thread Scott Blum
TreeSet wasn't implemented in milestone 2. You should upgrade to 1.5.2 (GA); TreeSet is implemented there. On Wed, May 21, 2008 at 8:55 PM, Mark Renouf [EMAIL PROTECTED] wrote: I've been using source builds of GWT because of other issues I've run into with 1.5M2, and I just hit this one.

Poll: GWT 1.4.62 vs 1.5 -- what are you using? what are your plans?

2008-09-22 Thread John Gunther
Trying to get a sense of how quickly the migration to GWT 1.5 from 1.4.62 will (or has already) occurred by asking: 1) Are you using GWT 1.5 right now? 2) Are you using 1.4.62 right now? 3) Do you expect to be using GWT 1.5 six months from now? 4) Do you expect to be using GWT 1.4.62 six months

Re: Poll: GWT 1.4.62 vs 1.5 -- what are you using? what are your plans?

2008-09-22 Thread Thomas Broyer
On 22 sep, 23:57, John Gunther [EMAIL PROTECTED] wrote: Trying to get a sense of how quickly the migration to GWT 1.5 from 1.4.62 will (or has already) occurred by asking: 1) Are you using GWT 1.5 right now? Yes. We've been using 1.5 since M1 (with the hope that 1.5 GA be out before we hit

JSNI to call html body onload=

2008-09-22 Thread AyeAyeAung
Hi all, I created javascript function from existing java function using JSNI. The problem is I can call the converted javascript function from onclick. I want to call that function from body onload=. I already tried to call. But not working. Any idea? Hope ur help. Thanks in advance. Aye

GWT + Spring + URL

2008-09-22 Thread loongest
Hi, I had done the spring + gwt intergration. But how can i get the URL from HttpRequest ? Let's say my URL show http://localhost:8080/GwtApp/customer.htm?id=ABC123#eng-home how can i get the id from url ? I'd like to get the request parameter because of prevent the user manually change the URL

FocusPanel not allowing focus on nested text fields

2008-09-22 Thread Michael Neale
If I have a composite, which in turn has text fields in it, when I wrap all that in a FocusPanel - I can't seem to *easily* click on it (I have to click a few times) to set the focus on the field to edit it. Any ideas on what this is? (tabbing seems to work - its the mouse clicking). Am I

[gwt-contrib] Re: New JSON API: Finished. Now what?

2008-09-22 Thread Thomas Broyer
Hi, On 21 sep, 08:11, Reinier Zwitserloot [EMAIL PROTECTED] wrote: It was a lot more work than I originally thought, but its done, and it does include the ability to create JSON and not just read it. Judging from the example API usage from the issue tracker, it seems a lot more convenient to

[gwt-contrib] GWT.java-hosted is dead, correct?

2008-09-22 Thread Lex Spoon
Hey, Scott, Can I get an LGTM on removing this reference to GWT.java-hosted in GWT.java? I got a scare when I ran across it this morning. The capital letters shined right through the fog of morning. -Lex Index:

[gwt-contrib] RR: 1.6 Event handler proposal

2008-09-22 Thread Emily Crutcher
A more complete implementation of the event handlers has been added to the gwt-incubator gen2.event packagehttp://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn/trunk/src/com/google/gwt/gen2/event. The next step is to declare the design final, take the code from prototype to

[gwt-contrib] Re: GWT.java-hosted is dead, correct?

2008-09-22 Thread Scott Blum
Aye aye. Good catch. On Mon, Sep 22, 2008 at 8:51 AM, Lex Spoon [EMAIL PROTECTED] wrote: Hey, Scott, Can I get an LGTM on removing this reference to GWT.java-hosted in GWT.java? I got a scare when I ran across it this morning. The capital letters shined right through the fog of morning.

[gwt-contrib] Re: 1 last(?) svn branding review

2008-09-22 Thread Scott Blum
LGTM. On Mon, Sep 22, 2008 at 11:39 AM, Freeland Abbott [EMAIL PROTECTED] wrote: Turns out that . is an unsound default directory for my svninfo task... works fine for normal human usage, but if you nest one Ant project (GWT) in another, even if that other sets basedir=..., it doesn't cd.

[gwt-contrib] [google-web-toolkit commit] r3672 - trunk/user/src/com/google/gwt/core/client

2008-09-22 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Mon Sep 22 14:13:38 2008 New Revision: 3672 Modified: trunk/user/src/com/google/gwt/core/client/GWT.java Log: Comment update: removes a stale reference to GWT.java-hosted. Review by: scottb Modified: trunk/user/src/com/google/gwt/core/client/GWT.java

[gwt-contrib] RR: Simple Widget

2008-09-22 Thread Emily Crutcher
Proposal Add *SimpleWidget* to gwt-incubator. The prototype has been checked into gwt-incubator gen2 for review here. http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src/com/google/gwt/gen2/commonwidget/client/SimpleWidget.java The SimpleWidget class is modeled on