Re: format datebox (gwt-incubator-1.5.jar)

2009-02-16 Thread Josse
Thank you ! :D On Feb 13, 7:21 pm, Isaac Truett itru...@gmail.com wrote: The constructor you're trying to call isn't public. Use the static getFormat(String) method instead. On Fri, Feb 13, 2009 at 3:39 AM, Josse josse.braye...@gmail.com wrote: Hello, I woulds like to create a dateBox

Re: Need to enable parallel download .

2009-02-16 Thread Ghostcoder
I have few JavaScripts (abt 35kb) getting downloaded at the beginning even thought it is used later in the app.Can i load javascript lazily with GWT apps. For example I use lightbox which will not be used at the beginning of the app ,so i can i download the GWT generated html first to build home

align widgets left and right

2009-02-16 Thread smokey
What would be the recommended way to align widgets left and right within a fixed size of horizontal box? My specific case is I would like to align three widget putting glue space between the second and the third (like \hbox to \hsize{foo\quad bar\hfil baz} in TeX). I was using the following

Async on the client side, what about the server side?

2009-02-16 Thread ralph
I understand that the client side is asynchroneous, which means that I can call a new function from the client side to the server side without waiting for the previous function to be completed. Now how does this work on the server side? I thought that there was only a single thread per session

Re: Async on the client side, what about the server side?

2009-02-16 Thread Jason Morris
On the server side there is generally a pool of threads held by the server. Thus a single session (in the JSESSIONID sense of Session) may involve any number of threads from the pool. Each request is processed on a single thread taken from the pool. So to answer your question: chances are it

Re: cannot run applicationCreator under MS Vista - IE

2009-02-16 Thread Shanthala M S
Hi.. hw to design patient appointment using smart GWT.. plzz let me knw as am fresher to smartGWT On Mon, Feb 16, 2009 at 11:24 AM, Superman859 russ.d.hollo...@gmail.comwrote: How is it not working? How are you trying to run them? They are for use in the command prompt, so you will need to

Raw GWT serialization

2009-02-16 Thread yoann.per...@gmail.com
Hi everyone, It's my first message in this group so if I'm wrong to post my question here, tell me where I can do it. I've read all documentation that I found about the GWT-RPC serialization mechanism, with a particular attention to the Google Web Toolkit and Client-Server communications by

Re: align widgets left and right

2009-02-16 Thread federico
you can use 2 nested Horizontal panel and one Horizontal panel as container es: -- | - | | | | || | | -- |

Re: Integrating GWT+Spring application with Hibernate

2009-02-16 Thread eggsy84
Also I always find it helpful if the person asking the question can feedback any information on the help given? Did our comments prove helpful/unhelpful? etc On Feb 14, 11:29 am, Malte Legenhausen mlegenhau...@gmail.com wrote: Look at this libraries that will do all that you want:

Re: Third party libraries for GWT

2009-02-16 Thread Miles T.
Hi, On Feb 15, 8:08 pm, mikedshaf...@gmail.com mikedshaf...@gmail.com wrote: I've used both and they both allow for a look and feel on your GWT app that would take a lot of custom development to achieve.   +1. I have been using Ext GWT for 4 months and it provides the following features :

Re: Servlets / war file help

2009-02-16 Thread Lothar Kimmeringer
Dan schrieb: Would anyone mind If I asked a couple of generic servlet / war file questions? There are other groups that are more focused to this topic, e.g. the Usenet newsgroups comp.lang.java.* If I go to http://www.pimtext.co.uk/gwtTest/build/gwtOutput/pimtext.Start/Start.html it is

Re: align widgets left and right

2009-02-16 Thread alex.d
... or you can put 1 glue HP between your widgets and set it's width to 100%. On 16 Feb., 10:05, federico federico.mona...@gmail.com wrote: you can use 2 nested Horizontal panel and one  Horizontal panel  as container es: -- |  

Re: Need to enable parallel download .

2009-02-16 Thread Eric Ayers
If the scripts can execute a function when they are finished loading, you can use the script injection technique. Basically, you create a script DOM element and attach it. The catch is that you won't know when the script is finished loading unless you wait for a function to be executed by the

GWT for webpages

2009-02-16 Thread Axel Kittenberger
Hi! Always happy to experiment with new technologies I'm experimenting to create a rather traditional webpage with GWT with context sensitivity I used php for so far. I'm tired of php so gwt. It works quite nice getting the text with JSON, so an editor can edit the content without doing GWT at

Hosted Mode crashes when embedding applet

2009-02-16 Thread DAve
I'm writing a GWT app that embeds a Java applet (for legacy reasons). Whenever I try to run it in Hosted Mode, the host browser crashes, so I have to compile it and load it in a real browser, slowing down my development process and preventing me from using the step-through debugger. Is this a

Re: link as action on a button

2009-02-16 Thread jossey
Hi Tony, I never thought this would be so tough to find. I started searching and took me almost 2 hours to find it. You might have already found the solution now. But anyways... Still I am not sure if this is what you want. see: Window.assign(url) Window.open(...) But the url - in your case the

Re: compiling gwt app

2009-02-16 Thread ytbryan
ya you are right. and thank you :) On Feb 12, 11:56 am, Felipe Cypriano fmcypri...@gmail.com wrote: I think you're missing gwt-dev-system.jar in your classpath. --- Felipe Marin Cypriano Vitória - ES On Thu, Feb 12, 2009 at 8:16 AM, ytbryan ytbr...@gmail.com wrote: ok ...  i used

Re: importing two type of window classes

2009-02-16 Thread ytbryan
thank you it works. i forgot about this! :) On Feb 15, 6:46 pm, jossey joss...@gmail.com wrote: Hi, I don't see any problem with them co-existing. I use them. just specify the fully qualified class names (at leat for one) com.gwtext.client.widgets.Window window = new

GWT SVN Build Failed com.google.gwt .ant.taskdefs.SvnInfo cannot be found

2009-02-16 Thread Allahbaksh
Hi, I am trying to build GWT from the SVN. I am getting following error BUILD FAILED D:\tools\gwt\google-web-toolkit\platforms.ant.xml:36: The following error occurr ed while executing this line: D:\tools\gwt\google-web-toolkit\platforms.ant.xml:13: The following error occurr ed while executing

Error- No source code is available for type com.mosol.client.Web2connect

2009-02-16 Thread yogesh
Hi All, I have added a external Jar to my reference Libraries in eclipse and using the classes of these jar file. While compiling I am getting the error No source code is available for type com.mosol.client.Web2connect I read a post which says that this is a server-side library use it on

Inplace editor based on RichTextArea

2009-02-16 Thread e.v.e
Hi, I am trying to create an inplace editor on top of RichTextArea. It was easy to implement a basic functionality: I have a DeckPanel, which contains FocusPanel (which in turn contains HTML widget) and RichTextArea, when user clicks on FocusPanel RichTextArea is shown and focused. But here the

dialog frames not displayed correctly in IE 7 when html location changed

2009-02-16 Thread whito
Hi everyone, I have a problem with changing the location of application html file. I want to have a custom directory layout in my web application, something like this: - html files directly under my web application root directory (eg. WEB_APP_ROOT\main.html -- application entry point, loads

Re: Can't configure properly Charts4j charts under GWT

2009-02-16 Thread micha
Hi Miguel, did you find a solution for this problem? I'm facing excactly the same error... I've already added the .java-Files into the charts4j-1.0.jar-File without success. Regards Michael On 19 Jan., 16:10, Lonifasiko mloich...@gmail.com wrote: Hi, I'm not able to use chart4j chart library

Re: Third party libraries for GWT

2009-02-16 Thread Alexandros Papadakis
Same here, Ext GWT for the past few months. Quite happy, they fix bugs fast, they also release fast. On Mon, Feb 16, 2009 at 12:00 PM, Miles T. dupont.nico...@gmail.com wrote: Hi, On Feb 15, 8:08 pm, mikedshaf...@gmail.com mikedshaf...@gmail.com wrote: I've used both and they both allow

Re: GWT SVN Build Failed com.google.gwt .ant.taskdefs.SvnInfo cannot be found

2009-02-16 Thread gregor
Might be this: http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/1116e49af25aab8b/17cbba95ae5e58e0?lnk=gstq=gregor+command+line+client#17cbba95ae5e58e0 On Feb 16, 4:07 pm, Allahbaksh a.allahba...@gmail.com wrote: Hi, I am trying to build GWT from the SVN. I

Re: howto? return types in jsni methods

2009-02-16 Thread denis56
Thanks. Is there a tutorial on JavaScriptObject and JsArray somewhere that you know of? I have already read the jsni chapter in GWT in Action but still have trouble to understand how wrap java objects and java collections. In my particular case I have 3 methods (below). I guess that there is no

Serialization bug when object have a 'classM' field(?)

2009-02-16 Thread Maerch
Heyja, i am trying to serialize an object with a field of the type 'class'. Something like this: public Class? clazz; I get no exception or something else. But when i set another field, for example a String, in this object, and send it to the server, the String field will become null, i.e. i

Re: Can't configure properly Charts4j charts under GWT

2009-02-16 Thread Lonifasiko
Hi Michael, I'm afraid I did not find a solution, in fact, seems really strange to me that anybody did not reply to this post, even to ask some more details. Thus, seeing this unusual un-interest for Charts4j, I directly forgot about using this graphs inside GWT. A pity.. Sorry but

Re: howto? return types in jsni methods

2009-02-16 Thread denis56
To clarify my challenge a bit further. 1) I am populating a map with GwtStock objects - java code 2) Assigning a function that returns the map to a javascript function - java/javascript code 3) Returning that map from the javascript variable - javascript/java code What should be a

Re: Serialization bug when object have a 'classM' field(?)

2009-02-16 Thread jossey
Hi, I just tried having a Class field in my dto and having a Class arg in my service. It did not work for me. It says Type java.lang.Class is not serializable. I wonder how it is working for you with errors. I m also using GWT 1.5.3. On Feb 16, 1:02 pm, Maerch marcin.skirzyn...@googlemail.com

Re: Serialization bug when object have a 'classM' field(?)

2009-02-16 Thread Maerch
Thats funny. As a parameter or return type i also get an exception. Nested in another object it works (with the given strange (bug) behaviour), for example: public class DTOTest implements Serializable { public String stringField; public ClassString clazz = String.class; } public

Re: ServiceImpl and existing java app

2009-02-16 Thread hermis
Thanks you my friend - worked a treat :) On Feb 15, 9:48 pm, jossey joss...@gmail.com wrote: I m not sure I completely understand. But can you store the instance in the servlet context and retrieve it for subsequent requests. On Feb 15, 2:29 pm, hermis ermis.h...@gmail.com wrote: Thanks

Re: Async on the client side, what about the server side?

2009-02-16 Thread ralph
In that case does that mean that I should synchronize on the server side? And what about if I have one connection that it is continuously recycled, does that mean that having only one connection left I can confidently say that the logic is synchronous on the server side? And does this code

Re: cannot run applicationCreator under MS Vista - IE

2009-02-16 Thread muhphn
My computer is a 64-bit AMD system. I reinstalled java-sdk 6 (64-bit); set up java path; opened up an cmd window; cd to samples directory; and then recompiled the sample programs; now they are working OK. thank you very much for your help... On Feb 16, 12:54 am, Superman859

Re: Question: How can I get login user from Windows in GWT?

2009-02-16 Thread El Mentecato Mayor
If the windows authentication uses some type of LDAP (ActiveDirectory for instance has some lever of LDAP compliance), you can achieve what you want with Spring Security (http://static.springframework.org/ spring-security/site/reference/html/springsecurity.html). On Feb 13, 5:24 am, Damien

Sample build.xml scripts for GWT app dev ?

2009-02-16 Thread BobM
I have had problems using Netbeans with the gwt4nb plugin in my development environment, for a GWT project. I am trying to set up an standard ant-driven dev arrangement as an alternative. I am having some problems. I am close but if I could look at a few example build.xml files which are used

Re: Connecting to site 127.0.0.1

2009-02-16 Thread Zed
I have the same problem, when using hosted mode - Connecting to site 127.0.0.1 and nothing happens. Don't understand the reason, the problem appeared without any visible trigger and now returns all the time. It happens also when I run the server first time and after very long stay periods. Using

Form submit

2009-02-16 Thread Marlyn C
Hi, I am new using gwt and i am using it with gwtext. I am having problems submitting a formHere is my code: import com.google.gwt.core.client.EntryPoint; import com.google.gwt.http.client.Request; import com.google.gwt.http.client.RequestBuilder; import

Re: Inplace editor based on RichTextArea

2009-02-16 Thread A Friend Of Yours
Hello I was looking for something similar: Getting the current position of cursor in RichTextArea. May be you could help me in this case... I tried to search everywhere. An old post here demonstrates a javascript snippet doing this but I could not get it working. Thanks e.v.e wrote: Hi, I

Re: howto? return types in jsni methods

2009-02-16 Thread Shawn Brown
On the other hand, I tried printing out the return value of $wnd.__getMapJs() and that turns to be a huge JavaScript Object and I have no idea how to iterate through it. So an example will help tremendously.

Help with Byte Array to PDF

2009-02-16 Thread koko
Hi lads: I have a problem with converting byte array to pdf file, this will be processing in the client side. in my project the PDF file was constructed by the content in the textarea which user type in, after user press PDF button it will trigger RPC call and get byte array response from server

Re: Help with Byte Array to PDF

2009-02-16 Thread Ian Petersen
On Mon, Feb 16, 2009 at 4:05 PM, koko ang.ga...@gmail.com wrote: I have a problem with converting byte array to pdf file, this will be processing in the client side. in my project the PDF file was constructed by the content in the textarea which user type in, after user press PDF button it

Cannot find resource 'app.html' in the public path of module 'org.bcs.app'

2009-02-16 Thread BobM
This is a message I get in the hosted mode sub shell. The names have been changed make them generic. How to remedy? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

JDBC error with MySQL...... HELP PLEASE!

2009-02-16 Thread mashhur.satto...@gmail.com
Hi all members! I tried to connect with MySQL in GWT but i couldn't there is this exception: The method forName(String) is undefined for the type Class there are my codes: FIRST WAY: try { Class.forName(sun.jdbc.odbc.JdbcOdbcDriver); //there is

Re: Inplace editor based on RichTextArea

2009-02-16 Thread e.v.e
Hi, On Feb 17, 3:58 am, A Friend Of Yours omer.akh...@gmail.com wrote: An old post here demonstrates a javascript snippet doing this but I could not get it working. Could you share a link to that old post? Regards, Vyacheslav Egorov. --~--~-~--~~~---~--~~

Re: Inplace editor based on RichTextArea

2009-02-16 Thread acc
Hi Vyacheslav, Would you also update this issue with details of the use case or any workarounds you discover: http://code.google.com/p/google-web-toolkit/issues/detail?id=2182 You can also star the issue to receive notification of future updates. Thanks, -alex On Feb 16, 9:35 pm, e.v.e

Re: Timer / Progress bar on a form to show countdown.

2009-02-16 Thread Vishesh
Thanks for replying. But is there a way to show the timer on the rootpanel or other screen? If there is I cant seem to find it anywhere. On Sun, Feb 15, 2009 at 4:50 PM, jossey joss...@gmail.com wrote: Will the Timer in GWT help? On Feb 14, 12:13 pm, Vish visheshs...@gmail.com wrote: Hi

gwt is good for develop erp system?

2009-02-16 Thread wangscu
hi, everyone our team begin to develop a erp system , and so we want have a framework to do it. so we try gwt. we found gwt is a good things ,but i also has some puzzle. 1, the erp system may be contains many logic,but here a gwt application only contains one file, so the file will too

Re: JDBC error with MySQL...... HELP PLEASE!

2009-02-16 Thread Ian Petersen
You can't talk to the DB from GWT--you'll have to figure out a way to do the DB work on the server. Search the list history for lots of other people who asked the same question and got lots of good answers. Ian On Mon, Feb 16, 2009 at 6:40 PM, mashhur.satto...@gmail.com

Re: JDBC error with MySQL...... HELP PLEASE!

2009-02-16 Thread Mashhur Sattorov
I have searched, and done all of appropriative codes but still doesn't work! Did somebody use MySQL (DB) for GWT? Please help me! I really apreciate him(her)! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Re: Inplace editor based on RichTextArea

2009-02-16 Thread e.v.e
Hi Alex, Both #2182 and #1127 list use cases slightly different from what I want to achieve. I am struggling to _set_ caret position and those issues are primarily about _getting_ caret position. Even more, I do not want to move caret to some arbitrary position, but to the place where user

Problem with TomCat while communicating with server

2009-02-16 Thread kanan
I've a problem with Tomcat while communicating with server. It gives NoClassDefFoundError. Can anybody suggest me how to solve this problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: Problem with TomCat while communicating with server

2009-02-16 Thread Allahbaksh
I think you need to check the classpath. Classpath entry may be missing. Regards, Allahbaksh On Feb 17, 10:14 am, kanan keri.s...@gmail.com wrote: I've a problem with Tomcat while communicating with server. It gives NoClassDefFoundError. Can anybody suggest me how to solve this problem?

Re: Cannot find resource 'app.html' in the public path of module 'org.bcs.app'

2009-02-16 Thread Allahbaksh
Hi, If you are using Eclipse in Classpath add src folder of your application. Regards, Allahbaksh Mohammedali Asadullah On Feb 17, 6:04 am, BobM bmar...@bcscomputers.com wrote: This is a message I get in the hosted mode sub shell.  The names have been changed make them generic.  How to remedy?

Re: Async on the client side, what about the server side?

2009-02-16 Thread Jason Morris
Synchronization on the server depends on the resources you want to protect access to. Synchronizing a method in RemoteServiceSerlvet is a /very/ bad idea, since it ensures that only one user can use that method at a time. You also can't assume that if you take up one of the browsers

Re: How to deploy GWT App?

2009-02-16 Thread Allahbaksh
HI, Please copy com.blah.blah.blah folder to webapps/projectName See below the structure of the same webapps/ projectName WEB-INF web.xml (mapping of your serlets) classes (All server side code of bin directory and all classes which are referred by the

Re: Apply CSS in editor area of RichTextArea

2009-02-16 Thread Shanthala M S
Hi,,, how to develop patient appointment scheduling by using smartGWT..plzz help me out as am fresher to GWT Thanks, Shan On Tue, Feb 17, 2009 at 10:46 AM, Manish Kumar man...@oakdeneindia.comwrote: Hi Everybody, While working on adding RichTextArea with my project.I would like to apply

FLV in GWT

2009-02-16 Thread Venkat
Hi All, I need a help in Embedding FLV in GWT. below is the code. It works perfectly with swf file not with flv files. please help me in this. below is the part of the code. objVideo.setAttribute(CLASSID, clsid:d27cdb6e-ae6d-11cf-96b8-44455354);

HTML Widget

2009-02-16 Thread Venkat
hi All, I need help. I need to pass this object element into HTML widget, is it possible?. (OBJECT classid=\clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8\ codebase=\ftp://ftp.ntua.gr/pub/video/videolan/vlc/0.9.2/win32/ axvlc.cab\ width=\320\ height=\240\ id=\vlc\ events=\True\ param name=\Src\

Re: Embedding a JavaScript-based widget in GWT?

2009-02-16 Thread Venkat
Hi Sumit. I have to embed below javascript within HTML panel , is it possible, if so please guide how to do that. div id=containera href=http://www.macromedia.com/go/ getflashplayerGet the Flash Player/a to see this player./div script type=text/javascript src=swfobject.js/script

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

2009-02-16 Thread codesite-noreply
Comment by j...@google.com: @sachindatta: Thanks for pointing out the JS Leak Detector. It's much more up-to-date than my crufty old Drip app for finding leaks. But to determine whether an app *actually* leaks, read the documentation carefully -- in its default mode (IE7), it identifies

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

2009-02-16 Thread codesite-noreply
Comment by j...@google.com: @Cyril, Alexey: Can you check your app against GWT 1.5 if you haven't already? There was a bug in GWT 1.4 (issue 2014) that caused leaks under certain circumstances that we weren't adequately testing, but are now. For more information:

[gwt-contrib] Re: RR: logging script size for programs with code splitting

2009-02-16 Thread Lex Spoon
On Mon, Feb 16, 2009 at 12:43 PM, Lex Spoon sp...@google.com wrote: Which ones should we report? Would anyone object to it only reporting the max? Keep in mind that ultimately someone who wants something very specialized is going to have to do their own calculation, anyway. Okay, this

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

2009-02-16 Thread codesite-noreply
Comment by br...@google.com: @Lex: I'd really like to try it out on a big program and see the effect on size, completely aside from the speed improvement. Do you happen to have the size diff from Showcase? For more information:

[gwt-contrib] [google-web-toolkit commit] r4762 - changes/bobv/web_mode_stack_traces_r4761

2009-02-16 Thread codesite-noreply
Author: b...@google.com Date: Mon Feb 16 22:46:32 2009 New Revision: 4762 Added: changes/bobv/web_mode_stack_traces_r4761/ (props changed) - copied from r4761, /trunk/ Log: Create a change branch to host web-mode stack traces. --~--~-~--~~~---~--~~