Re: Bundle RPC calls

2008-11-26 Thread Lars Tackmann
On Nov 25, 7:21 pm, quentin [EMAIL PROTECTED] wrote: Command pattern Also my initial idea, but I wondered if there where some sort of official GWT-RPS queue/bundling mechanism that could accompilish this. Anyway thanks for the input, I will try implementing a prototype and see how it pans

Re: New to the GWT

2008-11-26 Thread mon3y
Eclipse is the way to go. Are you new to java as well? On Nov 26, 2:24 am, Jorge Muralles [EMAIL PROTECTED] wrote: Thank you.   I jalso just dowload eclipse. I was loooking at it, I like it. Do you think that that is a good development tool?   Thanks Sincerely yours; Jorge Muralles

web.xml or .gwt.xml?

2008-11-26 Thread Michel
Hi, I have read the lengthy post about servlet descriptors for hosted mode vs. deployed mode. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/36f8c197279d159/ed4f5bbc972bc6b8?lnk=gstq=web.xml#ed4f5bbc972bc6b8 According to this, I should put my servlet and servlet-mapping

changing keyboard input language

2008-11-26 Thread Vlad
Hi all, Just started dev with GWT. I am able to change the current keyboard input context in pure java using the InputContext class so that when I change the language in my app, the keyboard automatically changes to that language. Now, is there an equivalent or similar way to do this in GWT. My

Upgrading to GWT 1.5 roadmap

2008-11-26 Thread LoneWolf
Hey, We have an application coded and compiled using GWT 1.4 We want to employ GWT 1.5 (themes and performance gains), how to upgrade to 1.5? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Upgrading to GWT 1.5 roadmap

2008-11-26 Thread LoneWolf
Oops, http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=ReleaseNotes_1_5_UpgradeGuide Thanks :shame: On Nov 26, 2:08 pm, LoneWolf [EMAIL PROTECTED] wrote: Hey, We have an application coded and compiled using GWT 1.4 We want to employ GWT 1.5 (themes

Re: Why it's so slow?

2008-11-26 Thread Jason Morris
The GWT Compiler does a massive amount of optimization and it does so for each of the browsers. This process takes a lot of time. GWT has it's own browser that runs your Java code with less compilation work (and lets you debug your Java code instead of the generated JavaScript). To access

Copying (clone) of JavaScriptObject

2008-11-26 Thread Mark Renouf
Before I start to rely on this, I wanted to know if this is a valid technique for cloning a JavaScriptObject and whether there are any limitations I might run into. The situation is that I'd like to clone a 'settings' object so instances of this class I build using it are immutable. I understand

Re: Please help me to solve out this prob...

2008-11-26 Thread gregor
Can you post example code that caused the exception? On Nov 26, 6:50 am, Bhupen [EMAIL PROTECTED] wrote: hi, I am new to GWT and working on some project... i have added few widget in my application and when i am changing the contents with menu it's not showing any widget... apart from

Re: Exception handling in GWT Service

2008-11-26 Thread jossey
Hi, Why are we extending SerializableException? Is that because the starting example had it so? I think it kinds of gives out a wrong message. ... just extends Exception should do. not very relevant to the discussion anyways... Jossey. On Nov 25, 3:33 pm, Ravi M [EMAIL PROTECTED] wrote:

Re: Please help me to solve out this prob...

2008-11-26 Thread Brian
Yeah we definitely need to see the code -- but as a wild shot in the dark -- on your widget are you overriding onAttach() and forgetting to call super.onAttach() ? On Nov 26, 7:44 am, gregor [EMAIL PROTECTED] wrote: Can you post example code that caused the exception? On Nov 26, 6:50 am,

Re: hot code replacement in external module

2008-11-26 Thread jossey
Hi, The .gwt.xml will be used only when you compile the Java code to javascript. So you will not be deploying the .gwt.xml. Setting the user.agent and locale properties are just to make the development cycle faster. And when you actually do the final build you would not use these properties. I

Re: Why it's so slow?

2008-11-26 Thread Andrey
On 26 нояб, 15:11, Lothar Kimmeringer [EMAIL PROTECTED] wrote: Andrey schrieb: So, how is it possible to develop anything with such a speed? ... ... In hosted mode, a press on refresh is all you need, if you have changed classes concerning the client-side Yea, as I see, I should learn

Re: Exception handling in GWT Service

2008-11-26 Thread Ravi M
Jossey Quite the contrary, actually. I started off with a custom exception which was merely a child class of Exception that I intended to use in RPC calls (i.e. service methods throw it). This actually didn't work in the ways expected, i.e. when the server threw the exception I was unable to

Re: How to do cross site implementation in GWT

2008-11-26 Thread Manish Kumar
Hi Manuel, Thanx for response.But I wanna know how do you passing the parameter from our website/HTML to gwt component. is this by using JSNI.if yes , how do attached your compiled gwt app source to your website/html.This point is crucial for me since i am not able to connect to gwt from our

Re: web.xml or .gwt.xml?

2008-11-26 Thread Isaac Truett
Servlet configuration in module definitions (gwt.xml files) is for *simple* servlets. It's enough to get you started, but once your project reaches any siginificant level of complexity, you need to use the -noserver option for hosted mode and provide your own app server. You configure that app

Re: Label Click events to be fired Automatically

2008-11-26 Thread Ian Bambury
listener.onClick(label); Ian http://examples.roughian.com 2008/11/26 Ryan [EMAIL PROTECTED] Hi everybody, I have a page with two labels. I have written some code on the click events of the 2 labels. Is it possible that when a page loads I fire these click events without the user

GWT build

2008-11-26 Thread m007
hi, I have a question. I download the source of GWT from SVN and build it. I did this because i thought that a bug that made the compilation of java code slower was solved. but when i use it in my eclipse project the compilation is slower even that the one i had. is there a compilation option o

Label Click events to be fired Automatically

2008-11-26 Thread Ryan
Hi everybody, I have a page with two labels. I have written some code on the click events of the 2 labels. Is it possible that when a page loads I fire these click events without the user required to click the labels. regards, Cherian --~--~-~--~~~---~--~~ You

Why it's so slow?

2008-11-26 Thread Andrey
Hello, I begin learning GWT and meet with problem of slow building of GWT project :(. I created a new GWT web-project in NetBeans, download a sample addressBook application and adjust it for the project. Building procedure takes about a minute :(. Most of the time is spending after the

Re: Has anyone worked with the Google Calendar API in GWT.

2008-11-26 Thread Ryan
thanks alex I got it working.. --~--~-~--~~~---~--~~ 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

Re: Newbie question - GWT not creating files in Hosted mode.

2008-11-26 Thread fancyplants
Doh, thanks Thomas, schoolboy error! On Oct 10, 9:24 am, Thomas Broyer [EMAIL PROTECTED] wrote: On 9 oct, 13:24, fancyplants [EMAIL PROTECTED] wrote: [WARN] Resource not found: com.app.gwt.client.Main.nocache.js; (could a file be missing from the public path or a servlet tag

Re: using Jetty for hosted mode?

2008-11-26 Thread rakesh wagh
check this: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/604aec6b7460c133/419baa6d8488eaa6?hl=enlnk=gstq=jetty#419baa6d8488eaa6 On Nov 25, 4:07 am, Juan Backson [EMAIL PROTECTED] wrote: Hi, Does anyone know how to change GWT default servlet engine to Jetty? Any

Re: Label Click events to be fired Automatically

2008-11-26 Thread rakesh wagh
Or put the body of onCick in a method example: doOnClick(). Call the doOnClick() method in your Widget's onLoad() method. Rakesh WAgh On Nov 26, 7:06 am, Ryan [EMAIL PROTECTED] wrote: Hi everybody, I have a page with two labels. I have written some code on the click events of the 2 labels.

How to remove a MenuItem's sub menubar?

2008-11-26 Thread David Hoffer
How can I dynamically set remove a menu item's sub menubar? If I set the sub menubar to a new empty instance of MenuBar then I get runtime IndexOfOfBounds errors when the user hovers where the sub menubar would be. If i set the the sub menubar to null it crashes when it runs. If I get the

Re: api for google MAPS

2008-11-26 Thread Eric Ayers
Hi rizla: If there is such a method in the JavaScript API: http://code.google.com/apis/maps then please file an issue to have this feature wrapped. -Eric. On Tue, Nov 25, 2008 at 7:14 PM, rizla [EMAIL PROTECTED] wrote: hi to all! there is a method in the GWT maps API that finds the

disable hyperlink

2008-11-26 Thread Litty Preeth
Hi, Anybody knows how we can disable a HyperLink in GWT? Regards, Litty Preeth --~--~-~--~~~---~--~~ 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: Open url with POST parameters

2008-11-26 Thread Thomas Broyer
On 12 nov, 12:34, Cesc [EMAIL PROTECTED] wrote: Hi all, I've searching all around the discussions and although there were a few hints, I couoldn't find a suitable solution. In HTML, I have a form like: -- form name=retrieve method=POSTaction=http://action_script; input

Re: Bundle RPC calls

2008-11-26 Thread quentin
Nothing official that i'm aware of, although GWT provides some nice Command helper classes. IncrementalCommand should do what you need it to do I imagine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: Managing Widgets that GWT did not generate

2008-11-26 Thread Thomas Broyer
On 25 nov, 01:53, tieTYT [EMAIL PROTECTED] wrote: Hello, For reasons explained in this thread, http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/9a050d74a6cd22bc# , I need to define some HTML in the HTML document.  The rest of the page is generated by GWT.  The

Re: FileUpload widget isn't working inside DialogBox widget

2008-11-26 Thread Thomas Broyer
On 24 nov, 20:00, Gerry [EMAIL PROTECTED] wrote: I've successfully used FormPanel+FileUpload before in a GWT page, but when the FormPanel and enclosed FileUpload is moved to a DialogBox, the upload suddenly doesn't work. The form.submit()  is  successfully being triggered, but the form

Re: disable hyperlink

2008-11-26 Thread [EMAIL PROTECTED]
It's a little hacky, but we just substitute a label in it's place. On Nov 26, 7:55 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi, Anybody knows how we can disable a HyperLink in GWT? Regards, Litty Preeth --~--~-~--~~~---~--~~ You received this message

Re: Why use GWT?

2008-11-26 Thread Eduardo Guardiola
I do the same but i hold all my gwt modules in a single project. One of these gwt modules is the common module. Named Common . hehe I don't need to jar anything in order to be shared. And eclipse helps refactoring things from one module to the Common. All modules are compiled and errors are

Add a new row in a table dynamically!!!

2008-11-26 Thread Rakesh
Hi, I wanted to know if it is possible to add a new row to a existing html table dynamically using GWT. I am fairly new to GWT and was wondering if its possible. I checked the forum and couldn't find anything on this. If anyone has a solution for this please let me know. Thanks, Rakesh

Re: Add a new row in a table dynamically!!!

2008-11-26 Thread jamer
You can use the widget FlexTable and their row can be HTML Javier Mejías --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

setting Label widgets in each cell of 1000row x 17col grid is too slow..

2008-11-26 Thread Jim Colton
..taking about 25 seconds on a 1.7ghz laptop with firefox. It that length of time expected or may there be something wrong with two nested loops for row, col and setWidget on the grid? thanks --~--~-~--~~~---~--~~ You received this message because you are

Re: api for google MAPS

2008-11-26 Thread rizla
the answer is (probably) only in Javascript ?^!?! :( On 26 Nov, 15:53, Eric Ayers [EMAIL PROTECTED] wrote: Hi rizla: If there is such a method in the JavaScript API:  http://code.google.com/apis/maps then please file an issue to have this feature wrapped. -Eric. On Tue, Nov 25, 2008

Re: Exception handling in GWT Service

2008-11-26 Thread jossey
I am sorry... my bad... I read it as SerializationException Looked at the SerializableException in gwt... it is just an Exception implementing IsSerializable interface... so it all makes sense. Thanks Ravi for clarifying. BTW, in 1.5 gwt supports serialization of objects implementing

Re: Add a new row in a table dynamically!!!

2008-11-26 Thread gregor
Hi Rakesh, As Javier says, you can use FlexTable (which extends HTMLTable) using methods insertCell(..) and insertRow(..). You can also do this with Grid (also extends HTMLTable) using resize(..), resizeColumns(..) and resizeRows(..). FlexTable is a bit more complicated than Grid because cells

Re: How to do cross site implementation in GWT

2008-11-26 Thread Manuel
I pretty much followed the steps detailed in http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=FAQ_JSONFeedsFromOtherDomain Plus I am passing parameters via javascript variables in the host page. The code in the host page looks like: script

Need to richer widget set in GWT

2008-11-26 Thread TedM
I've been working with GWT for over a year now and working with GWT- EXT for about 6 months and I went to the Google I/O conference. I was wondering if there was an effort to build up GWT widget set to the level of polish of GWT-EXT? The widgets that matter most to me are: 1. Sortable

Re: How to do cross site implementation in GWT

2008-11-26 Thread Manuel
One thing I just noticed in your code is that you are exporting java methods to javascript. When I tryied that a few weeks ago I could not figure out how the instance expression part worked, so I only have tried this with static methods e.g. public static int displayDialog(String

Re: Need to richer widget set in GWT

2008-11-26 Thread [EMAIL PROTECTED]
Not native to the GWT library, but check out http://www.jroller.com/sjivan/entry/smartgwt_1_0_released Smart GWT has a lot of nice things, similar to GWT-EXT. Is your main issue with GWT-EXT that it is not open source/free? Just wondering Later, Shaffer On Nov 26, 12:47 pm, TedM [EMAIL

Re: javascript window.opener not working

2008-11-26 Thread Sumit Chandel
Hi gabidp, I believe the reason why you're unable to access the opener attribute defined on the $wnd object is because of the way you're creating the popup in the first open(url, name, options) call. The reason why we keep the $wnd reference around is because GWT applications load up in their

Re: Serialization questions

2008-11-26 Thread Sumit Chandel
Hi jon918, Please see my replies inlined below: 1) In 1.5 there is now support for managing the serialization using the SerializationStreamFactory on the client. However on the server, I don't see how I can retrieve the SerializationPolicy for my module without using a GWT RPC call. Must I

add a external JAR problem

2008-11-26 Thread vitorLundberg
Hello, Before posting here I read some post with the same kind of problem but I didn't really understand how to use it. So I have a gwt project that's use a external jar, is a char4j ( library to build charts). but I get this error : [ERROR] Line 85: No source code is available for type

Re: Need to richer widget set in GWT

2008-11-26 Thread TedM
Yeah being free is very important. Also I would like it to be pure GWT, not GWT wrapping JS. Also I've found GWT-EXT to have weird errors every once in a while. This smartGWT looks to be the same thing as GWT-EXT just with a little more widgets. Way can't GWT make the next step and have it's

Re: Is Run Time Annotation Possible?

2008-11-26 Thread [EMAIL PROTECTED]
Hi, zujee, I have a reflection implement for GWT client code, and it support get Annotation's value at runtime. http://code.google.com/p/gwt-ent/ The test case: http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/gwtent/client/test/ReflectionTestCase.java Hope that

Re: Problem with writing JSNI wrapper for ActiveMQ ajax code

2008-11-26 Thread sommers
When you say it does not work, exactly what error do you get? From what I can see it looks like it should work so long as your ActiveMqCallback class has an onEventArrived method definition, and that you cont have a typo in com.yht.gwt.client.ActiveMqCallback::onEventArrived. Perhaps check that

Re: Need to richer widget set in GWT

2008-11-26 Thread gregor
I want to the incubator to see what was in the works and to be honest I was a little disappointed. I'm thinking about asking if I can help. Patches always welcome, I guess: http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScrollTable On Nov 26, 3:27 pm, [EMAIL

GWT + MySQL Best Practices?

2008-11-26 Thread DanielC
Hi guys, I'm developing a project with GWT + Servlets + MySQL. At this point, I've got the project setup using the -noserver flag and I have Connector/J configured on an external Tomcat 6 server so that my servlets can access the DB. Communication to/from server is through GWT-RPC . My Problem:

Re: GWT + MySQL Best Practices?

2008-11-26 Thread [EMAIL PROTECTED]
For automating the deployment (instead of manually copying) ant is the only way to go. I've heard stories that Maven is even easier, but we haven't jumped onto that band wagon (yet). When we build with no server, we have an ant build file that does all that, and then deploys to our external

Re: Is Run Time Annotation Possible?

2008-11-26 Thread Au Lai Seong
How do you make the com.gwtent.client.test.annotations.Id to be understandable by GWT? On Thu, Nov 27, 2008 at 6:57 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, zujee, I have a reflection implement for GWT client code, and it support get Annotation's value at runtime.

Re: add a external JAR problem

2008-11-26 Thread satya
Yes Gregor is right. I want to add one more point. A project is included or inherited in the .gwt.xml file only if that is a GWT project (atlesat to my knowledge). i have all other external jars in a lib folder and have them in my classpath. -Satya On Nov 26, 6:30 pm, gregor [EMAIL

Re: New to the GWT

2008-11-26 Thread satya
Hi Jorge Are you able to create your application with GWT? Yes Eclipse is THE tool for java applications. You can also look at instantiations, its provides a GWT designer - a tool for designing your UI - dragging and dropping widgets. Its not a great tool, but would be helpfuul for a very

Re: Exception handling in GWT Service

2008-11-26 Thread satya
There is a SerializationException (public class SerializationException extends java.lang.Exception) in gwt1.5. SerializableException is depricated in 1.5 I shall try your suggestion of extending the Exception or use the SerilizationException and post the code here. Thank you both for your

Re: Please help me to solve out this prob...

2008-11-26 Thread Bhupen
topLayout.printTop(); RootPanel.get(Top-Menu).add(topMenu.mainMenu()); RootPanel.get(irisPage).add(agentListPageContent.loadPage()); // top Layout package com.client; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.RootPanel; import

Re: disable hyperlink

2008-11-26 Thread alex.d
If you wanna it look disabled - change CSS style. If you wanna your clickListener not being executed - just remove it(use a single listener method - not an anonymous inner class). On 26 Nov., 17:03, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It's a little hacky, but we just substitute a label

Re: disable hyperlink

2008-11-26 Thread Danny Schimke
Should'nt setVisible() do this for HyperLinks too? setVisible needs an element and boolean: myHyperLink.setVisible(myHyperLink.getElement(), false); otherwise do what alex.d says: add and remove a style name which do this. CSS: visibility: hidden; 2008/11/27 alex.d [EMAIL PROTECTED] If you

[gwt-contrib] Re: gen2 TreeTable demo online

2008-11-26 Thread dflorey
Hi, try it like this: 1. Collapse the tree (=close all tree nodes with the button in the left bottom corner) 2. enter value inti iq-filter 3. select operator (=, !=, , etc.) In tree view the filter applies only to the root elements. If you want to filter all items switch to table view. Hope

[gwt-contrib] [google-web-toolkit] [EMAIL PROTECTED] commented on revision r4201.

2008-11-26 Thread codesite-noreply
[google-web-toolkit] [EMAIL PROTECTED] commented on revision r4201. Details are at http://code.google.com/p/google-web-toolkit/source/detail?r=4201 Score: Neutral General Comment: I will be committing that today -- I need to build the Firefox plugins on all the supported platforms, and then

[gwt-contrib] [google-web-toolkit commit] r4205 - in changes/bobv/soyc-reports-r4166/dev/core/src/com/google/gwt: core/ext/linker/impl dev ...

2008-11-26 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Wed Nov 26 07:58:26 2008 New Revision: 4205 Added: changes/bobv/soyc-reports-r4166/dev/core/src/com/google/gwt/dev/util/FileBackedObject.java Modified:

[gwt-contrib] [google-web-toolkit commit] r4206 - changes/bobv/soyc-reports-r4205

2008-11-26 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Wed Nov 26 08:22:06 2008 New Revision: 4206 Added: changes/bobv/soyc-reports-r4205/ - copied from r4205, /trunk/ Log: New SOYC merge branch to capture updates to PermutationWorkerFactory. --~--~-~--~~~---~--~~

[gwt-contrib] [google-web-toolkit commit] r4208 - in changes/bobv: clientbundle-3721 soyc-reports-r3772 soyc-reports-r4166

2008-11-26 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Wed Nov 26 08:45:21 2008 New Revision: 4208 Removed: changes/bobv/clientbundle-3721/ changes/bobv/soyc-reports-r3772/ changes/bobv/soyc-reports-r4166/ Log: Remove old change branches. --~--~-~--~~~---~--~~

[gwt-contrib] Re: RR: runAsync for static fields

2008-11-26 Thread Katharina Probst
LGTM. Two comments: - in FragmentExtractor, you might want to update the method name of containsInternedLiterals, because this now works for all kinds of literals, not just interned ones. This change should also apply to comments on this method as well as the isLive(JsVar var, LivenessPredicate

[gwt-contrib] [google-web-toolkit commit] r4209 - trunk/dev/core/src/com/google/gwt/dev/jjs/impl

2008-11-26 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Wed Nov 26 14:36:51 2008 New Revision: 4209 Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java trunk/dev/core/src/com/google/gwt/dev/jjs/impl/ControlFlowAnalyzer.java

[gwt-contrib] Re: RR: runAsync for static fields

2008-11-26 Thread Lex Spoon
Thank you! It's in at revision 4209. On Wed, Nov 26, 2008 at 5:22 PM, Katharina Probst [EMAIL PROTECTED] wrote: Two comments: - in FragmentExtractor, you might want to update the method name of containsInternedLiterals, because this now works for all kinds of literals, not just interned

[gwt-contrib] [google-web-toolkit commit] r4210 - in trunk/dev: core/src/com/google/gwt/core/ext/linker/impl core/src/com/google/gwt/core/l...

2008-11-26 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Wed Nov 26 14:57:11 2008 New Revision: 4210 Modified: trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/HostedModeTemplate.js trunk/dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js

[gwt-contrib] [google-web-toolkit commit] r4211 - trunk/dev/core/src/com/google/gwt/dev/util

2008-11-26 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Wed Nov 26 15:08:00 2008 New Revision: 4211 Modified: trunk/dev/core/src/com/google/gwt/dev/util/Util.java Log: Replace use of RandomAccessFile with FileOutputStream, which avoids synchronization costs and the need to count/truncate the file. Patch by: jat