RPC Bean Problem when deploying

2009-01-01 Thread dk
I am trying to deploy my gwt project to tomcat but the following problem occurs. I tried all the suggestions in the list but still the same exception occurs. Why The applicaiton has no problem in hosted mode but give the following exception when I deploy it to tomcat. any help will be appriciat

Re: probably silly FormPanel vs FireBug question

2010-01-29 Thread dk
If you are doing a GET request then the data is in the "body" of the request and does not show up in firebug. If you do a POST request then the query string data is shown through FB in its own POST tab in the requst display. -- You received this message because you are subscribed to the Google G

@UiHandler SuggestBox

2010-01-30 Thread dk
03:35:01.456 [ERROR] Parameter 'SelectionEvent' is not an event (subclass of GwtEvent)." But using the javadocs, tells me that it is.. What am I missing here? regards, dk- -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" grou

navigating between uibinder templates

2010-02-03 Thread dk
Hi, I've got a large domain object, > 150 fields (it's an insurance application) and was wondering if I could split the uibinder templates across this object. So, say for instance sake, page1.ui.xml, page2.ui.xml, etc. I've managed to get two templates onto the same page, navigation.ui.xml and

Re: GWT + FormPanel + FileUpload + HTTPS

2010-02-24 Thread dk
In our case we never would take advantage of RequestBuilder's username and password fields. All of our apps that require authentication have the auth handled by the web server. Each app lives under a directory with Basic Auth enabled on the directory. We also redirect all non- SSL traffice to th

onFailure Throwable does not give any information

2010-03-07 Thread DK
Hi, We have a application on 1.4.6 which works fine on a dev servers. But the GWT-RPC call to the server fails in the Qa servers, We can see the implemented method running correctly. The Throwable onFailure does not give any information. Is there any way to debug this? Has any one seen this bef

first shot at 1.6: flextable and clickhandlers

2009-05-01 Thread dk
Hi, I am ttying out 1.6.4 for the first time with a simple project. I want a FlexTable of some size and I want to know when a table cell is clicked. I want to know which cell was clicked. I am confused. I see the addClickHandler method on FlexTables but I am not seeing the path that leads fro

Re: first shot at 1.6: flextable and clickhandlers

2009-05-04 Thread dk
Thank you Adam Dean...K... --~--~-~--~~~---~--~~ 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 ema

eclipse, gwt 1.6 & java.awt.Composite

2009-05-18 Thread dk
Hi I goofed and can not figure out how to recover. I am just trying gwt 1.6, I have not tried this with older versions. I am creating a small test and am building a composite widget. I typed: public class NavBar implements Composite { StackPanel navBar = new StackPanel(); ... and

Re: eclipse, gwt 1.6 & java.awt.Composite

2009-05-18 Thread dk
Oh joy. Of course you do... I was looking straight at that and didn't see it. thanks On May 18, 10:36 am, Isaac Truett wrote: > In GWT, Composite is a class rather than an interface. You would > extend Composite, not implement it. --~--~-~--~~~---~--~~ You rece

Another 1.6 event handler question

2009-06-09 Thread dk
Hi, In pre-1.6 I could implement ClickListener and then in my code... Button foo = new Button(); foo.addClickListener(this); ... etc I know that in 1.6 I implement ClickHandler and then ... foo.addClickHandler(this); ... My question today is about creating the onClick method. Before I could

TextBox.setFocus(true) does not work in any browser

2010-03-23 Thread DK
I have a login page ... I want to keep the username TextBox focused on page load ... I am trying to call the setFocus(true) method on my TextBox instance. I cannot see the focus on the textbox with the cursor in it. Has anyone faced similar issue ? -- You received this message because you are sub

working with a freelancer designer on a gwt project

2010-03-24 Thread dk
Hello everyone, I have been developing a gwt+grails application but I am not happy with the default widget styles and the overall site design. I want to hire a designer but he doesn't have a clue about java+eclipse+gwt +grails view are there anyone experienced with a similar situation? Any commen

Triggering a common event before any event

2010-04-06 Thread DK
I have a left-nav which I am hiding/showing based on the user's logged in status. All my events are history managed. If a user bookmarked a url and is coming to a url directly, I need to intercept the request and send him to the login page. Once he is authenticated, I need to send him to the reques

DeferredCommand does not work in IE

2010-04-19 Thread DK
I am trying to resize the height of a tab-panel based on the content populated onto a grid. I need to defer that work until data is loaded into the grid. Currently, I am doing the following: grid.addListener(Events.Attach, new Listener>() { public void hand

Issue Internationalizing ClientBundles and message bundles

2010-05-06 Thread DK
I have a bunch of images and a ClientBundle interface to access these images (with images named for default- which is english and french ..example test_image.jpg and test_image_fr.jpg) . I also have message properties files named accordingly (test_file.properties and test_file_fr.properties) with i

Re: Issue Internationalizing ClientBundles and message bundles

2010-05-07 Thread DK
> Make sure ${countryId} matches the case (uppercase or lower case) you > defined for resource bundle. > > On May 6, 7:30 pm, DK wrote: > > > > > > > I have a bunch of images and a ClientBundle interface to access these > > images (with images name

New session created on server side for every RPC request.

2010-05-22 Thread DK
I have a session attribute thats set in the session when a user logs in (ex profile bean). once logged in, I have an RPC call to a remote service that tries to pull information from this session bean and do additional work. I noticed that a new session id was being generated when I make the RPC cal

Re: New session created on server side for every RPC request.

2010-05-24 Thread DK
do you set the bean in > the session? > > On May 22, 10:20 am, DK wrote: > > > I have a session attribute thats set in the session when a user logs > > in (ex profile bean). once logged in, I have an RPC call to a remote > > service that tries to pull information fr

Open a new Window and inject HTML into it using GWT Window class

2010-05-24 Thread DK
I am constructing a piece of HTML code on the fly. I have am empty html page , and I need to inject this html code within the body element of the empty html page. Can someone point me in the right direction ? Right now, I am using the Window.open("test.html", "test html title", "some more parameter

Re: New session created on server side for every RPC request.

2010-05-25 Thread DK
Could this be the issue ? --DK. On May 24, 5:05 pm, Michael W wrote: > Cookie session is set when the page is finished rendering/parsing. > > In your case, the second RPC is executed before you get full page, so > session cookie is not set. Your load balancer will route your request

Calling JSNI function or Java function to handle onClick event

2010-06-02 Thread DK
I have an anchor element with an onClick="showAlert();" in my java file, I have a JSNI function public static native void showAlert() /*-{ alert('Hello'); }-*/; I never see this alert. In fact, when I look at the browser console, I see that showAlert could not be found. What

Re: Content Management System

2009-07-06 Thread dk
My 2 cents worth is that you can either modify your existing GWT app to allow for new product/image creation/editing/deletion or you will have to write RPC or other Request tools that can modify/query the CMS's data store. I have not looked "under the hood" of many of the CMS's out there but the

How do you fire Change Events?

2009-07-08 Thread dk
Hi, I am back with more Handler questions. This is currently the most opaque GWT topic for me. I am building a Composite widget that will have at least a Grid and a Button. The Grid will act a little like a ListBox in that one or more rows can be "selected". I am not using a ListBox because I

eclipse, gwt plugin and overnight madness

2009-07-23 Thread dk
Hi, I have been using gwt 1.6, eclipse (Ganymede), and the gwt eclipse plug-in under Ubuntu for awhile. This morning I came in to find that my GWT imports have all gone away and there are a few sun... and javax... imports instead. import javax.swing.event.ChangeEvent; import javax.xml.ws.Respon

Re: eclipse, gwt plugin and overnight madness

2009-07-23 Thread dk
Ah! that is much simpler. 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, se

1.7 and Firebug logging

2009-07-23 Thread dk
Should the construct : static public native void LOG(String msg) /*-{ console.log(msg); }-*/; work under 1.7? This was in my 1.6.x code and works but I am not seeing anything with 1.7. I am going to roll back to 1.6 for the moment --~--~-~--~~~---~--

datepicker year problem

2009-08-01 Thread dk
Hello, I want to get birthday of users with datepicker but what I see from the samples is that datepicker has no support for next and previous year buttons (which is usually < >). It has only month support (<< >>). Am I missing sth? Thanks --~--~-~--~~~---~--~~

one Composite widget with multiple valueChangeHandlers of different types

2009-09-18 Thread dk
Hi, I have finally gotten a handle on using ChangeHandlers and ValueChangeHandlers, yea! what great tools. A number of people here helped me get a clue. Thanks My current issue is that i have a Composite widget that contains a DatePicker (valueChangeHandler returns Date) and another widget I ma

Re: one Composite widget with multiple valueChangeHandlers of different types

2009-09-18 Thread dk
hmmm, I am still a Java newbie but it looks like Eclipse is allowing me to define the onValueChange() method as: public void onValueChange(ValueChangeEvent event) { } I think i have seen the "?" used in the docs somewhere. Is it a generic type placeholder? Am I about to run into other trouble?

Re: one Composite widget with multiple valueChangeHandlers of different types

2009-09-18 Thread dk
Ok, I am back to not knowing what I am doing. Before I wrote the last note I am sure there were no warnings/errors on what I was doing but I have the Can not implement ValueChange with different types message again. ideas are welcome --~--~-~--~~~---~--~~ You rece

JSONNull oddness?

2009-09-25 Thread dk
Hi, I have probably missed something simple but JSONNull is not acting as I expect. At least in my current testing phase my incoming JSON data does contain some "null" values. In Perl terms my in-bound JSON object is an array of hashes. I can get the JSON string and parse it. I create te JSON

Re: JSONNull oddness?

2009-09-25 Thread dk
heh, never mind. I was of course using the idea in the wrong way. Everything is fine. Have a nice day --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to

RequestBuilder returning "empty argument" result?

2009-11-09 Thread dk
Hi, This is about GWT 1.7.1 on a RedHat EL 5.4 system. I have been messing with GWT for a while now. I am not an expert and am really still a java newbie. I have the following code snippet in an application I am writing. There is an existing CGI app and I am replacing the GUI with GWT and usi

Re: RequestBuilder returning "empty argument" result?

2009-11-10 Thread dk
Hi RPB, Thanks for the links. There is a lot of good info in there. I don't think my issue is with SOP though. There is something wacky about what I am doing this time and I am not seeing it. So, here is a more complete description of my environment: my development platform is a recent Ubuntu

Re: RequestBuilder returning "empty argument" result?

2009-11-11 Thread dk
Hello Ian, the full url is: http://apache-dev.itg.beckman.illinois.edu/communications/forum2/ I forgot a major thing in the environment I listed above. The site is being run through Perl's Template::Toolkit to manage an overall "look and feel". Basically, in this case, there is a local index.

textbox + event questions

2009-11-17 Thread dk
Hi, Naive, little 'ol me is back. This time with TextBox and event questions. I have a textbox and a button. When the page first loads the textbox is empty and the button is disabled. If one or more non-white-space characters are typed in the box then then I want the button to become enabled.

Re: textbox + event questions

2009-11-17 Thread dk
Yep, KeyUp is the way to go. I am now using a KeyUp handler to do the button enable/disable and a KeyPress to capture the Enter key. -- 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-tool...@g

Re: RequestFactory - Send error to client

2010-11-16 Thread DK
I've encountered the same problem. Intuition says that throwing an error should trigger the onFailure() method, not the onSuccess() method with a SEVERE logging the exception. Is this a known bug? On Nov 6, 5:03 am, Henrique F M wrote: > Hi there, > > I didn't find the solution to this anywhere,

image -> thumbnail widget?

2011-05-09 Thread dk
Hi, I am looking for ideas on how to approach the following: I have a form and part of that form is a FileUpload widget for an image. After uploading I need to do a few other things like create a thumbnail from the original. The original might be of any size but the thumbnail will result in a 5

Re: image -> thumbnail widget?

2011-05-10 Thread dk
Thanks Thad, Since posting my original note I have fond that jQuery has jCrop and there are a few others I am not a java expert but I'll play around a bit more Thanks again -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

frame seturl problem

2008-10-05 Thread dk
hello, I wonder if there is a way to know whether the seturl("http:// google.com") method is finished with loading the destination url. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To

Text-based serialisation

2008-11-02 Thread dk
in another serialisation format? easily.. Without having to change any code.. I've looked at various threads on json, but they all seem like we have to change code on the server- side.. Is this possible? Am I barking up the wrong tree? regards, dk- --~--~-~--~~~---~--~---

Re: Text-based serialisation

2008-11-03 Thread dk
c with, for example, JUnit. > > On Sun, Nov 2, 2008 at 5:59 PM, Ian Petersen <[EMAIL PROTECTED]> wrote: > > > On Sun, Nov 2, 2008 at 5:54 PM, dk <[EMAIL PROTECTED]> wrote: > >> I'm interested in generating a load on the serverside. Our performance >

logging not working? kepler/gwt 2.5.1

2013-09-05 Thread dk
Hi, this seems really odd to me. I have a fairly old gwt project. The project "works" but needs a tweak. I had logging enabled for the project in the past then set: in a class I say: public class MyClass extends Composite implements HasValueChangeHandlers { Logger logger = Logger.getLog

GWT 2.3 client side

2012-10-02 Thread DK
working ? Thanks DK -- 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 google-web-toolkit+unsubscr...@google

Re: GWT RPC file name in ClassNotFoundException

2018-06-27 Thread DK
*GwtHandlerAdapter* class extends the *RemoteServiceServlet* class and overrides its *processCall(String payload)* method. The overriden method only throws error when the *payload value* is: 7|0|96|http://vagrant.ptcnet.ptc.com:2280/Windchill/gwt/com.ptc.windchill.wncgwt.WncGWT/|1C2DD3E7BC435105

SerializationException While Upgrading to GWT 2.8.2

2018-07-11 Thread DK
I have updated from GWT 2.6.1 to GWT 2.8.2 but while running I am getting the following error in the browser: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The response could not be deserialized at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js) at Unknown.Exceptio

UnsatisfiedLinkError while debugging

2018-12-05 Thread DK
I have recently updated GWT to 2.8.2 from 2.6.1. I am trying to debug using the Classic dev mode with "-nosuperDevMode" flag but getting the error: "uncaught exception: java.lang.UnsatisfiedLinkError: com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.getHash()Ljava/lang/Strin

Re: Problem with GWT RPC call with List of DTO objects

2008-12-14 Thread HT(dk)
Read: http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideSerializableTypes And in general read: http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideRemoteProcedureCalls On Dec 13