Re: What is server side script selection

2009-10-25 Thread Jason Essington
Sounded to me like it does the same thing that the [modulename].nocache.js file does. only it does it on the server rather than in the client, reducing the number of connections required, as well as the bytes transferred. -jason On Oct 24, 2009, at 11:56 PM, balachandra maddina wrote:

Re: UiBinder example, where does Spa

2009-10-25 Thread Devraj Mukherjee
At the risk of back posting, I have managed to get further with getting a UiBinder based interface going, but get this error 01:12:52.420 [ERROR] Line 20: No source code is available for type com.google.gwt.uibinder.client.UiBinderU,O; did you forget to inherit a required module? I have checked

Re: Web Application in Regional Language

2009-10-25 Thread Sundar
Tanks for your answer Mr.Tamas --~--~-~--~~~---~--~~ 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: How do I boostrap my Entry Point class with the User service?

2009-10-25 Thread Adam T
This tutorial might help, particularly section 3 that covers using AppEngine User service in GWT : http://code.google.com/webtoolkit/tutorials/1.6/appengine.html //Adam On 24 Okt, 19:43, nacho vela.igna...@gmail.com wrote: Hi, im developing an aplication in gwt and i have an entry point

GWT eclipse plugin icons do not display on Windows 7

2009-10-25 Thread jsoconner
After installing the GWT plugin for Eclipse on my Windows 7 pc, I quickly noticed that the GWT icons were not displayed in the Eclipse task bar. I repeated the installation instructions several times, uninstalled the plugin, reinstalled... Finally, I decided to try running Eclipse with the Run

Will RequestBuilder in upcoming 2.0 support PUT and DELETE?

2009-10-25 Thread Fangzx
I want to call server side RESTful service by RequestBuilder, but it currently only support GET and POST, any plan to support PUT and DELETE in upcoming 2.0? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Re: Native JSON and safe parsing implementation

2009-10-25 Thread Brendan
Thanks for the reply and the source reference. I hadn't seen that class...it would be nice to pull that method into (maybe) JsonUtils so that it would be in the core and more visible. The RFC and the json2.js code (here: http://www.json.org/json2.js ) were both written by Douglas Crockford. The

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread lowecg2004
Your error looks like you're using the EasyMock class extensions and are missing cglib jars from your build path. As it happens, I recently produced a getting started with MVP and unit testing with EasyMock article which might be of use:

Re: Will RequestBuilder in upcoming 2.0 support PUT and DELETE?

2009-10-25 Thread Thomas Broyer
On 25 oct, 09:47, Fangzx fangzhoux...@gmail.com wrote: I want to call server side RESTful service by RequestBuilder, but it currently only support GET and POST, any plan to  support PUT and DELETE in upcoming 2.0? See http://code.google.com/p/google-web-toolkit/issues/detail?id=3388 (with

Re: A strange setting for MVP

2009-10-25 Thread Thomas Broyer
On 24 oct, 23:54, fker...@gmail.com fker...@gmail.com wrote: I have been studyinghttp://blog.appenginefan.com/search/label/Schluesselmeister application, and that got me to thinking about MVP... In that example, Display is about the same as View, and Controller is like Presenter. You

Re: MVP: get/set and callbacks

2009-10-25 Thread Thomas Broyer
On 24 oct, 14:39, Eduardo Guerrero eduardo.guerrero...@gmail.com wrote: I have been trying out the MVP idea, and these are some points (read, doubts) I have come up with. * I do not like the HasValueString suchAndSuchField interface; it's too low level in my opinion, and harder for

Re: GWT ListBox Behavior

2009-10-25 Thread Thomas Broyer
On 23 oct, 22:28, oks samko...@gmail.com wrote: I create a listbox with item 1, 11, 2, 22, and 3. I press 1, then the item with value 1 is selected. After 1 second, I press 2, then the item with value 2 is selected. If I press 2 immediately right after pressing 1, the item with value 2

Re: Data aware drop down widgets with MVP ?

2009-10-25 Thread Thomas Broyer
On 25 oct, 01:56, fker...@gmail.com fker...@gmail.com wrote: Hi! Thinking about MVP... how would you implement a data aware drop down widget? Say you want to let the user enter a country code in the View. You could use a TextBox, but a drop down list would be more usable. How would the

Re: Native JSON and safe parsing implementation

2009-10-25 Thread Brendan
Great! stringify seems like it would make things even messier, but I guess (though I'd have to look) if JSON is natively supported then the browser vendor also has e.g. Date.prototype.toJSON() defined as well. I look forward to seeing your code! especially that last case. On Oct 25, 6:13 am,

Re: how to have app vary numbers of radio buttons?

2009-10-25 Thread Brendan
have you run this in hosted mode? (or development mode) I don't see a public RadioButton arbys[] = new RadioButton[#]; anywhere so I would think you would be getting a NullPointerException when you try and do access the 0th element. On Oct 25, 12:35 am, Jon j...@rawbw.com wrote: The code: works

Re: A strange setting for MVP

2009-10-25 Thread fker...@gmail.com
On Oct 25, 9:22 am, Thomas Broyer t.bro...@gmail.com wrote: I'd rather use the following, though I understand why the LoginView.Presenter interface could help with mocking (it's easier to mock the view then, because you don't have to mock HasClickHandlers and eventually HandlerRegistration

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread fker...@gmail.com
On Oct 25, 9:11 am, lowecg2004 chris.lowe...@gmail.com wrote: Your error looks like you're using the EasyMock class extensions and are missing cglib jars from your build path. As it happens, I recently produced a getting started with MVP and unit testing with EasyMock article which might be

Re: Native JSON and safe parsing implementation

2009-10-25 Thread Thomas Broyer
On 25 oct, 13:28, Brendan bcke...@gmail.com wrote: Great! stringify seems like it would make things even messier, but I guess (though I'd have to look) if JSON is natively supported then the browser vendor also has e.g. Date.prototype.toJSON() defined as well. I look forward to seeing

Re: JSNI method doesn't work in IE?

2009-10-25 Thread Ian Bambury
Well, if you use a flextable, you can add a clickhandler to the flextable, and in the handler do something like @Override public void onClick(ClickEvent event) { FlexTable source = (FlexTable)event.getSource(); // if you can't get to the original flextable Cell

Bug? (GWT1.7 Linux SMP PAE)

2009-10-25 Thread Math2Gold
1.5 runs on this platform is perfect. but 1.7 crashed --- T H R E A D --- Current thread (0x08f79000): JavaThread CompilerThread0 daemon [_thread_in_native, id=8994, stack(0x00879000,0x008fa000)] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),

Re: JSNI method doesn't work in IE?

2009-10-25 Thread Ian Bambury
Just notices that you want mouseover not click like the original question. I think you might be a bit stuck there unless you have fixed widths in which case you can use horizontalpanels in focuspanels in a verticalpanel. Ian http://examples.roughian.com 2009/10/25 Ian Bambury

Re: JSNI method doesn't work in IE?

2009-10-25 Thread Tomer
Hi Ian, I can actually suggest an acceptable solution here, based on inheritance: private static class MyFlexTable extends FlexTable implements HasMouseOverHandlers, HasMouseOutHandlers { public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) {

Re: Displaying static content on gwt client

2009-10-25 Thread usmanf
Thanks for the reply. So it means that it is going to be a GET request from the client to the server for the resource once the client will load on the browser. I am thinking to place most of the design code [html] in the static files with .html and place their contents into the panel's setHtml()

Re: Bug? (GWT1.7 Linux SMP PAE)

2009-10-25 Thread Math2Gold
Changed a VM,it's ok now. On Oct 25, 10:20 pm, Math2Gold math2g...@gmail.com wrote: 1.5 runs on this platform is perfect. but 1.7 crashed ---  T H R E A D  --- Current thread (0x08f79000):  JavaThread CompilerThread0 daemon [_thread_in_native, id=8994,

Re: JSNI method doesn't work in IE?

2009-10-25 Thread Tomer
It's also possible to extend FlexTable with a HasMouseOverHandlers, HasMouseOutHandlers and HasMouseMoveHandlers, and copy what GWT does for onClick. However, you will have to do a lot of manual labour in onMouseMove. On Oct 25, 4:34 pm, Ian Bambury ianbamb...@gmail.com wrote: Just notices that

Re: how to send variables in form panel

2009-10-25 Thread QBox
So in any way you will send multipart message to the server. The multipart message have same structure like normal message request. Have header and body. The key difference is the body structure. The body contain more then one message in his structure. Example: MIME-Version: 1.0 Content-Type:

GWT.log listener in hosted mode

2009-10-25 Thread al.hicks
Hello, I am looking for some help. I want to be able to listen to the GWT.log messages that are output in the hosted mode console and use them in another application. Currently I am only interested in doing this locally. My thoughts are that the simplest way to achieve this is to some how write

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread Arthur Kalmenson
It's possible to use EasyMock to mock out GWT widgets in a standard JUnit or TestNG test, but you need to use GWTMockUtilities to disarm GWT. -- Arthur Kalmenson On Sun, Oct 25, 2009 at 12:58 AM, fker...@gmail.com fker...@gmail.com wrote: I remember EasyMock didn't work for GWT, because it

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread lowecg2004
As Arthur said, calling GWTMockUtilities.disarm() will prevent that error (that was in part 2 of my article :) As for needing asm-attrs.jar, I guess try it - any NoClassDefFoundError that looks asm related then that will answer your question... Cheers, Chris. On Oct 25, 5:44 pm, Arthur

OOPHM - another port

2009-10-25 Thread Andrey
Hello! I want to run two apps in OOPHM simultaneously (one is main site, and other is admin editor) How can I change OOPHM bind port 9997 ? Currently I see [ERROR] Unable to bind socket on port 9997 -- is another session active? when running second app. Thanks in advance!

Liferay and GWT integration issue

2009-10-25 Thread Janusz Prokulewicz
Hi, I'm trying to launch some hello world example using GWT and Liferay (Portlet container). I decided to use Liferay Bundled with Tomcat 6.0. Here are the details of solution I want to implement: 1. I'd like to attach code generated by GWT only once for the whole portal. I figured it out that

RunAsyncCallback

2009-10-25 Thread skrat
I'm trying to split my code using sort of proxies, where I reuse parametrized RunAsyncCallback class. This class has basically just reference to Gin Provider of the real module class. When I use this for loading one module, it works perfectly, and I'm getting nice and correct location of split

ListBox and listeners.

2009-10-25 Thread Emerson Matsuuchi
I have a issue that I'm trying to resolve and it may be something simple that I'm completely overlooking. I have a ListBox that has a ChangeHandler registered with it. I would like to programatically change the value of the ListBox and have an event fired that I can listen for. Unfortunately

java.lang.NoClassDefFoundError:java.net.Socket

2009-10-25 Thread balu
hi everyone. i am new to GWT,when i connect to oracle database from my application,i geting following error java.lang.NoClassDefFoundError:java.net.Socket is a restricted class.plz guide me to solve this problem. thanks balu --~--~-~--~~~---~--~~ You

Re: How to read POST parameters in GWT

2009-10-25 Thread jett
I'm fairly new to GWT as well and was trying to solve the same problem. I know you can pull out 'GET' parameters using a call like this: Window.Location.getParameter(token); Don't know if that is an option you can use. Jett On Oct 9, 2:55 pm, Sudeep S sudee...@gmail.com wrote: Hi, I am new

Re: OOPHM - another port

2009-10-25 Thread Thomas Broyer
On 25 oct, 20:31, Andrey mino...@gmail.com wrote: Hello! I want to run two apps in OOPHM simultaneously (one is main site, and other is admin editor) How can I change OOPHM bind port 9997 ? See http://groups.google.fr/group/google-web-toolkit/msg/6b96afcd35f4244b

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread Thomas Broyer
On 25 oct, 14:32, fker...@gmail.com fker...@gmail.com wrote: On Oct 25, 9:11 am, lowecg2004 chris.lowe...@gmail.com wrote: Your error looks like you're using the EasyMock class extensions and are missing cglib jars from your build path. As it happens, I recently produced a getting

Re: ListBox and listeners.

2009-10-25 Thread Thomas Broyer
On 25 oct, 17:40, Emerson Matsuuchi ema...@gmail.com wrote: I have a issue that I'm trying to resolve and it may be something simple that I'm completely overlooking.  I have a ListBox that has a ChangeHandler registered with it.  I would like to programatically change the value of the

Re: ListBox and listeners.

2009-10-25 Thread tskaife
The way I would do it is just to make a method out of what you call in your ListBox ChangeHandler then call that method anytime you set the value of the ListBox. Though depending on how complicated the page is or how many list boxes you have that could be a little tricky. On Oct 25, 7:52 pm,

Re: Will RequestBuilder in upcoming 2.0 support PUT and DELETE?

2009-10-25 Thread Fangzx
Thanks! On 10月25日, 下午7时15分, Thomas Broyer t.bro...@gmail.com wrote: On 25 oct, 09:47, Fangzx fangzhoux...@gmail.com wrote: I want to call server side RESTful service by RequestBuilder, but it currently only support GET and POST, any plan to support PUT and DELETE in upcoming 2.0?

Re: Organizing multiple HTML hosts / Entry points, etc. in single webapp

2009-10-25 Thread Fangzx
This is the same question what I want to ask also. --~--~-~--~~~---~--~~ 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

I can't find the Compile/Browse button in GWT 2.0-ms2

2009-10-25 Thread Fangzx
In GWT version 1.x, I can press the Compile/Browse in hosted mode console to compile, but I can't find the Compile/Browse button in GWT 2.0-ms2. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: java.lang.NoClassDefFoundError:java.net.Socket

2009-10-25 Thread Sripathi Krishnan
- You cannot connect to database from client side code. - In your server side code, you can connect to databases - however - if you are also using Google App Engine, you cannot. You are perhaps using Google App Engine along with Google Web Toolkit. Disable App Engine, and things should

Uploading my war to the Server

2009-10-25 Thread Proxy
I have finished building my first sort of complex app using GWT I connect to a MySQL DB using my JDBC connector and everything. Now I have one last issue, why can't I use the app when I deploy it on my server? I have to login and using Firebug I see that I get: Firebug's log limit has been

Re: JSNI method doesn't work in IE?

2009-10-25 Thread dougx
Hm. IE doesn't support setAttribute to set event listeners, and GWT prides itself on not accommodating different browsers for things like this, You're best off writing your own. Perhaps something like this? public void onModuleLoad() { final Label l = new Label(This is a

Re: HashMap Serialization Errors - GWT 1.7.0/1.7.1

2009-10-25 Thread Palani
I am also having the same problem and I have been struggling for the last two days. On Oct 19, 11:53 am, Doug In SC dougjwh...@gmail.com wrote: The Windows version of the GWT fails whenever aHashMapis used in an object that implements the IsSerializable interface.  An

Re: RunAsyncCallback

2009-10-25 Thread Sripathi Krishnan
Maybe somebody from google will confirm this, but I doubt you are going to achieve code splitting by using proxies or interfaces, or by using any generic parameterized approach. A piece of code will end up in split-point-1.js *only if* it is always being used from within GWT.runAsync(). If a

Re: RunAsyncCallback

2009-10-25 Thread Sripathi Krishnan
Also, this paragraph from Code Splitting wikihttp://code.google.com/p/google-web-toolkit/wiki/CodeSplittingmay be useful - A less common example is that you expected an item to be exclusive to some split point, but actually it's only included in leftover fragments. In this case, browse to the

HashMap argument type mismatch

2009-10-25 Thread Palani
Hello, I am in the process of converting from gwt 1.5 to 1.7.1 and getting the following error when I am trying to get a HashMap from the server. Any idea why this might happen? I am using JDK 1.6.0_13. The request looks like 5|0|4|http://localhost:54002/Webclient/webclient/|

GWT Maven2 (1.7.1) Possible?

2009-10-25 Thread J.V.
I'm trying to get a first app up and running with GWT. What I would like to do is download the jars and compile with maven2. Has anyone been able to do this successfully? I can not find any documentation anywhere that actually leads me to a working example. Are the latest 1.7.1 jars available

[gwt-contrib] Use native JSON when supported

2009-10-25 Thread t . broyer
Reviewers: Ray Ryan, bobv, Description: This patch adds: - JsonUtils.safeParse - JsonUtils.stringify - JsonUtils.isArray (equivalent of ECMAScript 5's Array.isArray) - deferred binding implementations using either native support or emulation (eval() for the parsing)

[gwt-contrib] Re: Extending FocusWidget

2009-10-25 Thread skrat
Hi, thanks, that helped. I now check for both FocusWidget and HasState On Oct 19, 10:31 pm, Thoka thobias.karls...@gmail.com wrote: Hi, Create an interface, like: public interface HasState {    void setEnabled(boolean enabled);    boolean isEnabled(); } ...and then implement this with

[gwt-contrib] Comment on CodeSplitting in google-web-toolkit

2009-10-25 Thread codesite-noreply
Comment by a.revolution.ultra.blue: One hack I was using to get modules to speak through compilations was using Ray's exporter. Basically, common functions like custom dialogs that cover the screen... If I want them to look nice, but be accessible before I ever access Widget code, I use