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. http://www.macromedia.com/go/ getflashplayer">Get the Flash Player to see this player. var s1 = new SWFObject("player- viral.swf","ply","500","40

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?. ("ftp://ftp.ntua.gr/pub/video/videolan/vlc/0.9.2/win32/ axvlc.cab\" width=\"320\" height=\"240\" id=\"vlc\" events=\"True\"> http://www.videolan.org\"; type=\"application/x-vlc-plugin\" progid

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");

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 wrote: > Hi Everybody, > > While working on adding RichTextArea with my project.I would like to apply > css on editor area

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 s

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 connectio

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 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: 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 wrote: > I've a problem with Tomcat while communicating with server. It gives > NoClassDefFoundError. Can anybody suggest me how to solve this problem? --~--~-~--~~

Apply CSS in editor area of RichTextArea

2009-02-16 Thread Manish Kumar
Hi Everybody, While working on adding RichTextArea with my project.I would like to apply css on editor area of Rich Text Area control so that I can set font behaviours ( font-family, font-weight,font-size etc ) being displayed in the rich text area editing area a bit changeable. can anybody he

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: 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 clic

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 W

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 wrote: > > Hi all membe

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 b

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 wrote: > > Will the Timer in GWT help? > > On Feb 14, 12:13 pm, Vish wrote: >> Hi All, >> I'm trying to show a countdo

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: Inplace editor based on RichTextArea

2009-02-16 Thread e.v.e
Hi, On Feb 17, 3:58 am, A Friend Of Yours 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. --~--~-~--~~~---~--~~ You received this me

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 fir

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,

Re: Help with Byte Array to PDF

2009-02-16 Thread koko
Thanks Ian, I had tried this way, but what how should I post my data in textarea to the server side? I encounter like SOP errors, for my tomcat runs on port 8080, while GWT on , I also tried to set in the same port , won't work, can you teach me how to configure or set in detail, I am doin

Re: Help with Byte Array to PDF

2009-02-16 Thread Ian Petersen
On Mon, Feb 16, 2009 at 4:05 PM, koko 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 will > trigger RPC

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: 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. {"data":[{"post":0,"fax":"","idCustomerType":1,"idLanguage":0,"tel":"","stre

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: 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 com.google.gwt.http.client.Request

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 t

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 Picard

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 wrote: > How is it

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 below

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 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 wrote: > > > Thanks for the reply Shaffer. > > > T

Re: Serialization bug when object have a 'class' 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 Class clazz = String.class; } public interface DTOTe

Re: Working with RPC - How To Organize Classes To Interact With Server

2009-02-16 Thread Felipe Cypriano
The main point for you is the ability to have a service that can provide methods for all the kinds of data that you have. I've no idea of how you're implementing the different kinds of data, so I'll guess one case. Your different data could decend from the same class, lets say Data. Each implement

Re: Serialization bug when object have a 'class' 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 wrote: > Heyja, > > i am trying to

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 JavaScriptObje

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 th

Serialization bug when object have a 'class' 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 am

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 n

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=gst&q=gregor+command+line+client#17cbba95ae5e58e0 On Feb 16, 4:07 pm, Allahbaksh wrote: > Hi, > I am trying to build GWT from the SVN. I am getting followin

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. wrote: > > Hi, > > On Feb 15, 8:08 pm, "mikedshaf...@gmail.com" > wrote: > > I've used both and they both allow for a look and feel on your GWT app >

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 wrote: > Hi, I'm not able to use chart4j chart library under GWT project

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. \main.html --> application entry point, loads nocache.js) - al

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 p

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 server-si

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

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 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 > com.gwtext.client.widgets.Window

Re: compiling gwt app

2009-02-16 Thread ytbryan
ya you are right. and thank you :) On Feb 12, 11:56 am, Felipe Cypriano wrote: > I think you're missing gwt-dev-.jar in your classpath. > > --- > Felipe Marin Cypriano > Vitória - ES > > On Thu, Feb 12, 2009 at 8:16 AM, ytbryan wrote: > > > ok ...  i used pause; > > > i got this error. tried se

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

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 kno

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

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 scr

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 wrote: > you can use 2 nested Horizontal panel and one  Horizontal panel  as > container > > es: > -- > |  - |

Re: Connecting to site 127.0.0.1

2009-02-16 Thread Lothar Kimmeringer
sunny...@gmail.com schrieb: > I have a Eclipse+Cypal Studio project that has grown to a reasonable > size, and while testing I still use the GWT hosted mode to run. My > machine doesn't have anything else running on port , but > occasionally when I start the project, the hosted browser's stat

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

Re: Third party libraries for GWT

2009-02-16 Thread Miles T.
Hi, On Feb 15, 8:08 pm, "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 : look&feels, containers

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 wrote: > Look at this libraries that will do all that you want: > > http://gwt-widget.sourceforge.

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: -- | - | | | | || | | -- | ---

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 Mi

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 wrote: > > 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 use that. > Also be

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 i

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 on

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

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

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

2009-02-16 Thread Josse
Thank you ! :D On Feb 13, 7:21 pm, Isaac Truett 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 wrote: > > > Hello, I woulds like to create a dateBox with today date into it. But > > i wan