where is form panel documentation?

2012-01-25 Thread tong123123
in following case: a search screen with many searching criteria, send to servlet using formpanel post method, then the servlet retrieve database and let us said it retrieve the resultset and fill the data to a vector, then how search result page get the data in vector from servlet? Also, in

Re: Using EntityProxyId as service method parameter

2012-01-25 Thread strcin
Is there any hope we can have the answer to this question? On 19 sij, 16:23, strcin str...@gmail.com wrote: Hello, What is the correct way of usingEntityProxyIdProxyType as a service method parameter? -- You received this message because you are subscribed to the Google Groups Google Web

Re: HELP.. ADDING IMAGE TO PushButton.

2012-01-25 Thread Thomas Broyer
On Tuesday, January 24, 2012 7:43:28 PM UTC+1, Joshua Carey wrote: Hi Thomas, I finally got it to work. You were correct in that once I put the images as part of the war file and NOT in the WEB-INF, it worked correctly. Although our JAVA guy here is insisting WEB-INF is the place it

Re: Using EntityProxyId as service method parameter

2012-01-25 Thread Ashwin Desikan
Returning or passing the entity Id to the service method makes sense. Proxies are going to exist in the client, why do you want to send their Ids to the server? Thanks Ashwin Sent from my iPhone On Jan 25, 2012, at 2:37 PM, strcin str...@gmail.com wrote: Is there any hope we can have the

Re: GWT 2.4.0 native drag and drop... does it *really* work with IE9?

2012-01-25 Thread Thomas Broyer
GWT disables DnD support for the ie6 and ie8 permutations (I don't why, as the HTML DnD API is modeled after the Microsoft API shipping in IE since IE5.5; see http://caniuse.com/dragndrop ), so first check the result of com.google.gwt.event.dom.client.DragDropEventBase.isSupported() in IE9.

Issue with Cell Tree not refreshing

2012-01-25 Thread Terence
Hi I am creating a tree with 3 levels and using a search, I am populating the tree with objects returned by the search. I am able to refresh the tree when the level 1 node changes but am not able to refresh the tree when the items under level 1 changes. the listDataprovide.setList or refresh does

GWT HOSTING ISSUE

2012-01-25 Thread Nitheesh Chandran
I tried to host a sample default GWT application which uses RPC . I did not do any changes in the program because GWT default program uses RPC service for getting a reply from the server. This program runs correctly in the local Apache server. When i put the same program in the external server ,it

GWT - Exception while dispatching incoming RPC call

2012-01-25 Thread avi
Can any one suggest me to reasone/sollution for the error that got while running my GWT project Starting Jetty on port [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.noaa.wind.client.WindSpeed[]

Re: GWT App Deployed To Tomcat Displays Old Content

2012-01-25 Thread Peter Ginneberge
$CATALINA_HOME\conf\Catalina\localhost Look for an xml file with the same name as the war and remove it. Restart tomcat. - Original Message - From: KGD keith.g.de...@gmail.com To: Google Web Toolkit google-web-toolkit@googlegroups.com Sent: Wednesday, January 25, 2012 2:31 AM

Re: RequestFactory: Download entity, add to collection, persist on server, see collection change. Should this work?

2012-01-25 Thread Thomas Broyer
On Tuesday, January 24, 2012 10:02:24 PM UTC+1, Ryan McFall wrote: I have an entity class Header, which contains a list of Response objects. Via a RequestFactory service I create a Header object and send it back to the client, ensuring that the list of Response objects is initialized

Re: Using EntityProxyId as service method parameter

2012-01-25 Thread Thomas Broyer
It looks like it was never finished: http://code.google.com/p/google-web-toolkit/issues/detail?id=5525 I think most people pass the entity's ID as the argument, rather than its EntityProxyId. (e;g. 'RequestListDocumentProxy findDocumentsByProject(String projectId);' with 'String getId();' in

Change Marker color for GWT Google Map without loading all the Map

2012-01-25 Thread Mustapha El harch
Hello, I'm trying for my first experience with GWT google Map to change the color of My Marker tag without loading all the Map ! I'm asking if there any somehow the do this with AJAX or something like that ? Please any help. this is my class but there is no variation : public class

Re: where is form panel documentation?

2012-01-25 Thread Thomas Broyer
You *linked* to it (a very old version, but still). Latest version can be found at: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/FormPanel.html I guess the documentation you're looking for is in the javadoc for the FormPanel() constructor:

Re: GWT HOSTING ISSUE

2012-01-25 Thread Thomas Broyer
These logs are from Apache HTTPD, not Apache Tomcat. So either you're not using the appropriate port (Tomcat generally listens on 8080), or you forgot to configure (or misconfigured) mod_proxy to relay requests from HTTPD to Tomcat. -- You received this message because you are subscribed to

Composite VS EntryPoint

2012-01-25 Thread paschn
I am currently writing my thesis on accessibility through gwt. I want to create an example using the setting up of a gmail account. I am at the very beginning and using gwt designer. My question is if i should use the composite wizard or the entrypoint wizard ? What is the difference of those two

Re: GWT HOSTING ISSUE

2012-01-25 Thread Nitheesh Chandran
So this has to be configured on the server right ? No need to configure anything on the client side On Jan 25, 4:18 pm, Thomas Broyer t.bro...@gmail.com wrote: These logs are from Apache HTTPD, not Apache Tomcat. So either you're not using the appropriate port (Tomcat generally listens on

Re: GWT HOSTING ISSUE

2012-01-25 Thread Thomas Broyer
That's right, nothing to do with GWT, only with the deployment of HTTPD / Tomcat, and then your WAR within Tomcat. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Can we add RootLayoutPanel into other panel in GWT 2.4??

2012-01-25 Thread Thomas Broyer
No, just like you cannot add RootPanel to any other panel; that doesn't mean you cannot add SplitLayoutPanel to a SimplePanel though. See “Using a LayoutPanel without RootLayoutPanel” at http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Recipes -- You received this message

Digest e-mails

2012-01-25 Thread Steve Moyer
I stopped receiving digest e-mails on January 20th and wondered whether anyone else noticed this? Perhaps I've somehow unsubscribed? My membership still says I'm signed up for the digests so I'm wondering if anyone else has noticed this problem? -- You received this message because you are

Re: Composite VS EntryPoint

2012-01-25 Thread Ed
Start by reading the Getting started tutorials in the GWT doc. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LCdQxqmBeD4J. To post to this

Re: CssResource + Custom Deferred Binding?

2012-01-25 Thread Ed
You can, but I advice you to use an static/instance class couple in this case . Let me explain by a Theme example I use: In my Css: @eval headerEntryFontColor com.test.AmountListPreferencesBridge.headerEntryFontColor(); .HeaderEntry { color: headerEntryFontColor; }

Re: Can we add RootLayoutPanel into other panel in GWT 2.4??

2012-01-25 Thread vaibhav jain
Thank you very much,It works now. On Wed, Jan 25, 2012 at 7:22 PM, Thomas Broyer t.bro...@gmail.com wrote: No, just like you cannot add RootPanel to any other panel; that doesn't mean you cannot add SplitLayoutPanel to a SimplePanel though. See “Using a LayoutPanel without RootLayoutPanel”

Exception error handling on the client-side

2012-01-25 Thread icfantv
I was under the impression that I could use GWT.UncaughtExceptionHandler and subsequently GWT.setUncaughtExceptionHandler to catch uncaught exceptions in the client. Basically, I'd like to display the stacktrace of any uncaught exception in a dialog. I had a bug in my code whereby a I was trying

Calling instance method from JSNI code

2012-01-25 Thread Maxim Schäfner
Hi, i'm trying to call an instance java method from a JSNI method like decriped in GWT JSNI documentation. But somehow I'm still getting exceptions: My code: public void bla() { jsni_method(JavaScriptObject event);// event is an dropEvent, but that doesn't matter } public static native

Re: CssResource + Custom Deferred Binding?

2012-01-25 Thread shawnjohnson
That worked exactly as needed, Thank You Colin! On Jan 24, 7:34 pm, Colin Alworth niloc...@gmail.com wrote: You can't replace the static method through replace-with, but you can make the static methods call GWT.create on a class that has one implementation, and use replace-with to swap in

Re: CssResource + Custom Deferred Binding?

2012-01-25 Thread shawnjohnson
Ed, thanks for your suggestion. Might be more than I can handle at this point. We don't really need themes, though I don't think that's your point. Regardless, I'll refer back to this later as I get further in this process. On Jan 25, 10:01 am, Ed post2edb...@gmail.com wrote: You can, but I

AutoBeanCodex problems

2012-01-25 Thread Jordi Planadecursach
I detected at least 2 bugs with the AutoCodex feature: When trying to deserialize a Collection out of JSON it fails because there are 2 coders in the stack. When trying to deserialize a Long it fails too. Eg: CalueCodex.java:132 LONG(Long.class, long.class, 0L) { @Override

Displaying PDF BLOB in new window - GWT

2012-01-25 Thread Joshua Carey
Hi everyone, I currently am getting a BLOB from oracle and displaying it in a new window. To accomplish this, I am reading the blob into a byte array, then writing the BYTE array out to the file system as pdf. I then use Window.open(URL to PDF on filesystem). The problem is that I am

Re: AutoBeanCodex problems

2012-01-25 Thread Jordi Planadecursach
This only happens when the JSON looks like: {thisIsANumber:2} When the case is that it works well: {thisIsANumber:2} On 25 Gen, 19:46, Jordi Planadecursach planad...@gmail.com wrote: I detected at least 2 bugs with the AutoCodex feature: When trying to deserialize a Collection out of JSON

Re: Exception error handling on the client-side

2012-01-25 Thread Ed
Make sure to run the code after calling GWT.setUncaughtExceptionHandler deferred (Scheduler.scheduleDeferred). Only then the exception handler is set correctly and can be used. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: Displaying PDF BLOB in new window - GWT

2012-01-25 Thread Joshua Carey
Hi, since i'm using a gwt built application built by the company I work for, I don't believe I have the option of adding another servlet or using JSP. What really sucks is that I have the thing working, however, I am writing a pdf for every single record pulled back from the database. Often the

Re: Calling instance method from JSNI code

2012-01-25 Thread Alfredo Quiroga-Villamil
public void setName(String value) { Window.alert(setName); } Needs to be static. Remove the this. reference from the JSNI to call it. Regards, Alfredo On Wed, Jan 25, 2012 at 12:25 PM, Maxim Schäfner maxim.schaef...@ewetel.net wrote: Hi, i'm trying to call an instance java method

Re: Exception error handling on the client-side

2012-01-25 Thread icfantv
I'm sorry, I don't exactly follow. I have it set as the first line in my EntryPoint's onModuleLoad() method. Is this not the right place? On Jan 25, 12:18 pm, Ed post2edb...@gmail.com wrote: Make sure to run the code after  calling GWT.setUncaughtExceptionHandler deferred

Re: Exception error handling on the client-side

2012-01-25 Thread Ed Bras
Yes that's correct, but it's all about what you do after that call. For some reason you need the code after to be executed Deferred such that the changes take effect. See: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html , the section about the DeferredCommand class. On Wed,

Re: Exception error handling on the client-side

2012-01-25 Thread icfantv
A. I understand. In my case, I'm pretty sure I've waited long enough as the exception handler is registered before any of the main entry page is constructed. I have to manually click through a menu system to get to a grid generation option that would have triggered the NPE. I *think* in

Re: Analytics Integration in GWT - GET request for __utm.gif not being sent

2012-01-25 Thread Dugald
From http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html, it says: Your compiled script runs in a nested frame, and $wnd and $doc are automatically initialized to correctly refer to the host page's window and document. Can someone perhaps tell me if they this this is the

Re: AutoBeanCodex problems

2012-01-25 Thread Colin Alworth
Long values cannot be sent as a number over JSON, because JavaScript only support smaller numbers. If you only need Double or Integer precision, then declare that in your autobean, and you can be sure that JSON will pass those values correctly. GWT automatically allows you to create values as

Re: CssResource + Custom Deferred Binding?

2012-01-25 Thread Colin Alworth
I'm fairly certain that the compiler will figure out that those methods return constants and will either optimize them out, or at least turn them into static methods anyway, so a singleton isn't going to buy you too much. If you like the code style, that's one thing, but at least in other cases

Re: Analytics Integration in GWT - GET request for __utm.gif not being sent

2012-01-25 Thread Raphael André Bauer
Not sure what is going on, but that's the way gwtp is doing Google Analytics: http://code.google.com/p/gwt-platform/source/browse/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/googleanalytics/GoogleAnalyticsImpl.java ra On Wed, Jan 25, 2012 at 10:53 PM, Dugald

Re: CssResource + Custom Deferred Binding?

2012-01-25 Thread Ed
so a singleton isn't going to buy you too much. What do you mean? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NHY4iNMSqQ0J. To post to

Re: CssResource + Custom Deferred Binding?

2012-01-25 Thread Colin Alworth
I thought you were suggesting the static/singleton part here by way of suggesting that this was a better way of doing things, avoiding constructing the same instance over and over, but in retrospect I might have misunderstood. If you are suggesting the static/singleton stuff to make it easier

Re: Analytics Integration in GWT - GET request for __utm.gif not being sent

2012-01-25 Thread Dugald
I have created a very simple test at the following location: http://www.councilmapserver.com/gwt-analytics/GWT_Analytics_Test.html It is a GWT application that makes a call to the method detailed at the start of this thread. It has been compiled without obfuscation so that hopefully someone can

Re: Analytics Integration in GWT - GET request for __utm.gif not being sent

2012-01-25 Thread Dugald
I have created a very simple test at the following location: http://www.councilmapserver.com/gwt-analytics/GWT_Analytics_Test.html It is a GWT application that makes a call to the method detailed at the start of this thread. It has been compiled without obfuscation so that hopefully someone can

Re: Analytics Integration in GWT - GET request for __utm.gif not being sent

2012-01-25 Thread Dugald
Thanks to Raphael, I now have a solution. I have changed my code to: public void initialiseAnalytics(final String analyticsAccount, final String domainName) { Element firstScript = Document.get().getElementsByTagName(script).getItem(0); String scriptContent =

Re: Displaying PDF BLOB in new window - GWT

2012-01-25 Thread Joshua Carey
Ok, thanks for the advice. Honestly, I would prefer adding all the logic I am slated to code for this company in servlet/jsp, since I am very new to GWT. I have found things extremely difficult versus them being easy with jsp/servlets. Let me ask you this. If the companys current site is gwt

Re: Displaying PDF BLOB in new window - GWT

2012-01-25 Thread Alan Chaney
On 1/25/2012 3:33 PM, Joshua Carey wrote: Ok, thanks for the advice. Honestly, I would prefer adding all the logic I am slated to code for this company in servlet/jsp, since I am very new to GWT. I have found things extremely difficult versus them being easy with jsp/servlets. Let me ask

Re: where is form panel documentation?

2012-01-25 Thread tong123123
oh, my previous reply is disappear. I want to ask, if using GWT-RPC to do the send and receving search result, and the step is: 1) prepare search criteria class to hold the searching criteria? 2) send the search crtieria class to server through GWT-RPC 3) in server, assume the search result is an

Re: GWT App Deployed To Tomcat Displays Old Content

2012-01-25 Thread KGD
Thank you for the reply. There is no xml file in the $CATALINA_HOME \conf\Catalina\localhost directory with the same name as the war. Additional steps taken in attempt to resolve: - Copied Project into a Project2; ran successfully in App Engine and it worked; deployed to Tomcat 7 and still shows

Problem using Layout panel

2012-01-25 Thread Condeas
I created a basic layout for my application using layout panel. I added some buttons to some page segments but discovered that some of the buttons and user widgets in one segments responded to clicks, and general enabled properties, while buttons and widgets on other segments did not respond to

Exception in thread main java.lang.ExceptionInInitializerError

2012-01-25 Thread mak
when I am trying to connect to the repository it show this error, I tried installing sdk but it still show the same error can any body help me with this. Exception in thread main java.lang.ExceptionInInitializerError at com.borland.starteam.impl.ClientContext.init(Unknown Source)

GWT RPC Problem

2012-01-25 Thread permi
Hi, I am able to call max 6 RPC calls at a time .how I can increase the calls. Ex: I have a 10 methods ,each method is take 5 min time to complete the task.so when I start to call all methods at a time I can able to call max 6 methods, reaming 4 calls in queue i think,after completion of

Invoking C++ programs on the client-side

2012-01-25 Thread mmorckos
Hello, I'm building a distributed system and I'd like to try GWT to build the client-side. I need the user to have a speech-based input. I'm using a C/C++ based speech recognition engine and I'd like to know if it's possible to call C++ code from within a GWT-based application. I'd really

Request Factory Tutorial

2012-01-25 Thread junaid
can some one provide me with some simple request factory example Thanks -- 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

Re: Invoking C++ programs on the client-side

2012-01-25 Thread Gal Dolber
You could check out this project http://code.google.com/p/nativeclient/ On Wed, Jan 25, 2012 at 6:34 PM, mmorckos mikey.morc...@gmail.com wrote: Hello, I'm building a distributed system and I'd like to try GWT to build the client-side. I need the user to have a speech-based input. I'm

Editors with 2 forms

2012-01-25 Thread Cristian Rinaldi
I have a registration form for a person with addresses, but the directions will open in another form. For each form I have an associated activity. When I load an address (FormB), I need the person (FormA). And in the form of the person, I need to go carrying the list of addresses. As a link with

Re: GWT HOSTING ISSUE

2012-01-25 Thread Nitheesh Chandran
is it necessary to convert GWT default WAR to .war file for deploying in the tomcat server ?? On Jan 25, 6:49 pm, Thomas Broyer t.bro...@gmail.com wrote: That's right, nothing to do with GWT, only with the deployment of HTTPD / Tomcat, and then your WAR within Tomcat. -- You received this