Re: generating for all browsers

2008-12-07 Thread alex.d
Looks good. Why do you think gwt is generating only for ie6? On 8 Dez., 05:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > this is how my .gwt.xml looks like...anything missing? > > >       >       >       >       >           >           > >       >       >       >       >      

Re: How to use a GWT client to send messages to a JMS queue

2008-12-07 Thread Litty Preeth
Well I suppose u ll have to do the JMS connection at the server side only. Send the data from the form fields to server through RPC, then inside the RPC service method, create the message using the data, get the connection to the JMS queue and send the message. - Litty Preeth On Mon, Dec 8, 2008

Re: How can I hide the border of richtextarea?

2008-12-07 Thread Litty Preeth
May be you should try DOM.setStyleAttribute(rta.getElement(), "border", "0px"); On Sun, Dec 7, 2008 at 3:12 PM, lichking.zz <[EMAIL PROTECTED]> wrote: > > Hi,all > > I try to hide the border by using: > > RichTextArea rta = new RichTextArea(); > rta.getElement().setAttribute("frameborder", "no");

Re: How to have a layered panel?

2008-12-07 Thread Litty Preeth
Ry googling "Glass panel","light box effect", "panel fade" etc... U ll get lots of examples... On Sun, Dec 7, 2008 at 1:05 PM, olivier FRESSE <[EMAIL PROTECTED]>wrote: > CSS is probably the way to go. > A simple panel with a good css style may do the trick : > > some samples here : > http://dev.o

Re: Direct call a RemoteServiceServlet

2008-12-07 Thread Arul
Hi Hieu, I wanted to know from you, is GWT replacement easily be implemented into your existing project. I am having one of my application displaying as Menus and Submenus,.Selecting on each menu will call Servlet Class which inturn calls Delegate and from there it calls DAO then results back

How to use a GWT client to send messages to a JMS queue

2008-12-07 Thread whoever
I read about GWT, RPC Remote Service, etc. I was wondering how to send messages from a form field on a GWT client using( GWT RPC servlet) to a JMS queue. How can I wire up GWT with JMS. Thanks very much for guidance --~--~-~--~~~---~--~~ You received this message b

Disabling lazy loading

2008-12-07 Thread sarav
How can I disable lazy loading and force components creation? --~--~-~--~~~---~--~~ 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 uns

Re: javascript "setTimeout" method isnt working

2008-12-07 Thread Daniel Kurka
Try this instead: public static native void repeatTime() /*-{ bla = @com.google.gwt.client.myreminders::testtry()(); t=setTimeout(bla,500); }-*/; public static void testtry(){ int i = Random.nextInt(); login_name.setText(""+i); } 2008/12/7 prat <[EMAIL PROTECTED]> > > pu

Re: Please Please stop sending me emails.

2008-12-07 Thread Mandar Vaze
One option is to opt for "Digest Email" instead. So you'll get about 2 emails per day. I can understand the "email overload" :) If you are in active GWT development, I would suggest not to unsubscribe (Free advice, worth every single penny) But if you do want to unsubscribe, I think you should be

Re: generating for all browsers

2008-12-07 Thread suk...@yahoo.com
this is how my .gwt.xml looks like...anything missing? --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: J2EE and debug in hosted mode

2008-12-07 Thread gregor
couple of approaches 1) Simply use -noserver option. You need a build script to deploy your RPC servlets and your EJB layer to Glassfish on demand and activate remote debugging to make this work effectively, but lots of people do it this way. See http://code.google.com/docreader/#p=google-web-to

Re: Standard/Simple GWT CSS?

2008-12-07 Thread gregor
Hi Dave, 1) I think this might have something to do with debugging client javascript at run time using Firebug or something - I've never used it to be honest. 2) I happen to have a simple CSS example to hand, so this might help - apologies if its too simplistic Your module will have its own

There is a bug in CellPanel.java

2008-12-07 Thread wurenhai
Let's read the following code: ==CellPanel.java=== /** * Sets the height of the cell associated with the given widget, related to * the panel as a whole. * * @param w the widget whose cell height is to be set * @param height the cell's height, in CSS units */ public void

Re: dao and GWT

2008-12-07 Thread rizla
up :( On 3 Dic, 13:46, rizla <[EMAIL PROTECTED]> wrote: > many thanks for the response to my question, > in my gwt project I've used the gxt library. > I've implementd the server call in this way: > for example in a class of the view I've have the Utility.getFromServer > () Metod that call the st

Re: Issue with ImageBundle accessing image files - TomCat on Linux gwt1.5.2

2008-12-07 Thread Yefim
Never mind this problem -something was messy with environment, it works ok now. On Dec 7, 4:11 pm, agnes Laffitte <[EMAIL PROTECTED]> wrote: > Please stop sending me emails > > --- On Sun, 12/7/08, Yefim <[EMAIL PROTECTED]> wrote: > From: Yefim <[EMAIL PROTECTED]> > Subject: Issue with ImageBundl

Re: Does GWT RPC use HTTP?

2008-12-07 Thread mikedshaf...@gmail.com
And to follow up Suri's excellent description, I "think" it uses plain old port 80, but it is definitely just HTTP. You are just using a browser. If you want to be certain, fire up Wireshark (if you don't have this tool on your machine, shame on you!) and watch on port 80. Now that I'm typing it

Re: Help to add GWT to a large J2EE project

2008-12-07 Thread mikedshaf...@gmail.com
You need to answer a whole bunch of questions: 1. You say you have a huge project in hand. I assume since you mention it's J2EE in the title that it is Java based. What is your client "technology"? Struts? Heavy Swing App? JSF? Something else? Are you using any AJAX? 2. How do you commun

Re: Does GWT RPC use HTTP?

2008-12-07 Thread Suri
Hi Venu, My understanding is that RPC is really a layer above the HTTP and if you notice how it works, its not unlike another servlet call. The serialization/deserialization has been abstracted to make life easier for us. So, to answer your question, yes, it is communicating over HTTP from where y

Re: JDBC/MySQL Driver error

2008-12-07 Thread [EMAIL PROTECTED]
Please can someone tell me how to modify my eclipse launch script and what exactly needs to be added? Also, where can i find the cmd files? Is this just the 'MyApplication.launch' file? Again, what exactly needs to be added? Any help much appreciated Regards, Jack On Dec 3, 4:18 am, Pradeep <[E

Re: Standard/Simple GWT CSS?

2008-12-07 Thread David Hoffer
Thanks for stating the obvious, I hadn't seen that web site yet. Okay, I have a couple of CSS newbie questions. 1. What are calls like disabledButton.ensureDebugId("cwBasicButton-disabled") for? This isn't a Java like thing. 2. Where do I paste the CSS Style code? Thanks! -Dave On Sun, Dec 7,

Re: ListBox [Beginner]

2008-12-07 Thread Danny Schimke
An other way is using a Grid, with 2 lines and 2 columns. Add CSS classes for right margin to the labels to get more distance between them and their ListBox'es... The column's are evenly aligned. ;) 2008/12/7 gregor <[EMAIL PROTECTED]> > > I've never used header myself (I didn't even know it exis

Help to add GWT to a large J2EE project

2008-12-07 Thread Pradheep A R
Hi Everyone. I have read many articles and books to start with GWT. But each of them say to start with a new GWT project. (with or without Eclipse) But i have a huge project in hand and i have to convert it to start using GWT. I would like to make it use GWT in the new features to be developed

Reduce GWT (MD5) file names size

2008-12-07 Thread Pawel Jurski
Hi, I'm wondering if we can reduce GWT (MD5) file name size by converting md5 hexadecimal number to something with bigger radix. Simple example: 1) BigInteger bi = new BigInteger ("d41d8cd98f00b204e9800998ecf8427e", 16); System.out.println("MD5HEX: d41d8cd98f00b204e9800998ecf

Does GWT RPC use HTTP?

2008-12-07 Thread Venu
Hi grp, What port does GWT RPC mechanism use? Is it communicating over HTTP? If not, what port does it use? Thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, sen

Re: Standard/Simple GWT CSS?

2008-12-07 Thread tomato
Hi David, I'm new too, I don't know much about GWT. I'll risk stating the obvious here, but I think the Google sample CSS templates can maybe get you started? They are pretty standard google looks. :) http://gwt.google.com/samples/Showcase/Showcase.html Cheers, tomato On Dec 7, 7:17 am, "Ian Ba

How can I hide the border of richtextarea?

2008-12-07 Thread lichking.zz
Hi,all I try to hide the border by using: RichTextArea rta = new RichTextArea(); rta.getElement().setAttribute("frameborder", "no"); But it doesn't work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web

J2EE and debug in hosted mode

2008-12-07 Thread Bandesz
I'm developing a J2EE application with GWT using NetBeans 6.5, Glassfish v2. If I debugging only the web project, I can't use any Session Beans from EJB project, becase I get "Cannot resolve reference Unresolved Ejb-Ref..." error. I tried in every way to make tags in web.xml (or in ejb-jar.xml),

Re: javascript "setTimeout" method isnt working

2008-12-07 Thread Shawn Pearce
Why not use GWT's Timer class to implement this instead? I think your problem is the JSNI code won't do a replacement inside of a double quoted string. On Dec 6, 2008 10:31 PM, "prat" <[EMAIL PROTECTED]> wrote: public static native void repeatTime() /*-{ t=setTimeout("@com.google.gwt.client.m

Re: After leaving TextBox to a Button it takes second click to get ClickListener to work

2008-12-07 Thread agnes Laffitte
Please stop sending me emails. --- On Sun, 12/7/08, Yefim <[EMAIL PROTECTED]> wrote: From: Yefim <[EMAIL PROTECTED]> Subject: After leaving TextBox to a Button it takes second click to get ClickListener to work To: "Google Web Toolkit" Date: Sunday, December 7, 2008, 1:50 PM Hi, I simple cases

After leaving TextBox to a Button it takes second click to get ClickListener to work

2008-12-07 Thread Yefim
Hi, I simple cases where I have a TextBox and a Button on the same Panel and no other listeners except ClickListener - I have no problem to move mouse away from entered text to the Button and have ClickListener working - as in many basic samples. But when I have a panel with TextBoxes representing

Re: Issue with ImageBundle accessing image files - TomCat on Linux gwt1.5.2

2008-12-07 Thread agnes Laffitte
Please stop sending me emails --- On Sun, 12/7/08, Yefim <[EMAIL PROTECTED]> wrote: From: Yefim <[EMAIL PROTECTED]> Subject: Issue with ImageBundle accessing image files - TomCat on Linux gwt1.5.2 To: "Google Web Toolkit" Date: Sunday, December 7, 2008, 1:07 PM Hi My appliciation works fine on

Issue with ImageBundle accessing image files - TomCat on Linux gwt1.5.2

2008-12-07 Thread Yefim
Hi My appliciation works fine on TomCat/Windows, but when I deploy it on Linux i386 - images do not come up. I suspected some issies with Resource' annotation - as stated in GWT JavaDocumentation, and changed code to avoid it. Unfortunately, it does not help. I have even copied all images files in

Please Please stop sending me emails.

2008-12-07 Thread agnes Laffitte
I want to remove myself from this mailing list but I clicked unsubscribe but it says that I don't have permission to do so. How do I remove myself from this group so that I don't receive tons of emails per day. Best, Agnes --~--~-~--~~~---~--~~ You recei

Re: Images, and 'public' locations?

2008-12-07 Thread David Hoffer
I don't have a definitive answer as I have a similar problem and am looking for the final solution. However it is my understanding you just need to put the files/images anywhere that is under the ROOT of your web server then you just pass the relative path (from ROOT) to the client. -Dave On Su

Re: Images, and 'public' locations?

2008-12-07 Thread Feltros
Bump - Any chance of an answer to this question? It really has stunted my project development. Thanks massively to anyone who can assist. On Nov 30, 6:55 pm, Feltros <[EMAIL PROTECTED]> wrote: > I have seen a vast many tutorials on using ImageBundles in GWT > applications, but what about when a

Re: GWT javascript structure

2008-12-07 Thread GWT Newbie
Thanks a lot for the detailed answer. I will try as soon as possible. On 7 déc, 15:44, "Robert Hanson" <[EMAIL PROTECTED]> wrote: > > If I do so, the rpc services in HelloWorld do not work anymore. > > You just need to set the target URL of the remote services properly, > and that is dependent on

Re: Getting data out of gwt grid

2008-12-07 Thread Raz65
Thanks for the response but sorry, I got confused. I think I'm on the wrong forum! I was actually referring to a GWT-EXT grid populated with a Store. I think there is a significant difference. I've found the GWT- EXT forum so I think I'll post there but if anyone can help out here all the better.

Re: Getting data out of gwt grid

2008-12-07 Thread Pavel Byles
I'm assuming you just need to get the data from the grid. This can primitevely be done using a single nested for-loop: for (int i = 0; i < myGridWidget.getRowCount(); ++i) { for (int j = 0; j < myGridWidget.getCellCount(i); ++j) { // this is safer I guess since cols can span // store data

Re: ListBox [Beginner]

2008-12-07 Thread gregor
I've never used header myself (I didn't even know it existed until I looked it up just now!) so i don't really know what it does or how you style it. Looking at the javadoc it says: Modules that use this class should inherit com.google.gwt.http.HTTP. Have you done

Re: How to clear TextBoxes from within onClick method?

2008-12-07 Thread BobM
Very enlightening! Thank you both for your answers. On Dec 6, 7:14 pm, gregor <[EMAIL PROTECTED]> wrote: > Hi Bob, > > The reason your IDE is complaining is because you are calling > SomeWidget..setText(..) from a method inside an anonymous > inner class (the ClickListener) which is itself insid

Re: Standard/Simple GWT CSS?

2008-12-07 Thread Ian Bambury
You are not really going to get what you want with any web language although some of the frameworks will let you look like all the other sites that use that framework, and the 'instant web site' and 'web site in a box' applications will let you choose from a number of themes. Desktop apps have a l

Re: GWT javascript structure

2008-12-07 Thread Robert Hanson
> If I do so, the rpc services in HelloWorld do not work anymore. You just need to set the target URL of the remote services properly, and that is dependent on your setup. 1) For example, perhaps you can use an absolute URL: /parth/to/servlet 2) Or relative to the JS code. GWT.getModuleBase

Re: Standard/Simple GWT CSS?

2008-12-07 Thread David Hoffer
Hi Gregor, Thanks for the reply. I don't disagree with what you say, I'm sure I do need to learn CSS and specifically how GWT makes use of it. However I do want to point out that I think Google missed it a little in this area. The fundamental selling point of GWT for us at least is that we can

Re: ListBox [Beginner]

2008-12-07 Thread agon84
Hi greg ;) thank you very much for your help. your idea is great, i fixed it like that: DockPanel panel = new DockPanel(); VerticalPanel vPanel1 = new VerticalPanel(); VerticalPanel vPanel2 = new VerticalPanel(); HorizontalPanel hPa

Re: Standard/Simple GWT CSS?

2008-12-07 Thread gregor
Hi Dave, I think you really need to get to grips with CSS, the HTML box model and learn to use GIMP/Photoshop to work effectively with GWT - or hire a graphic designer to get you off the ground. As Ian says, you get the L&F for free in Swing, SWT or .NET, but you don't in javascript/HTML JS libr

Re: Size of code download in GWT

2008-12-07 Thread Reinier Zwitserloot
To be a bit more verbose about it: Exactly one individual ASKDJALSDJASLKDJSAD.js.html file is downloaded in its entirety by any given user visiting your site. Which one gets downloaded depends on the browser used, and if you're using localization or other generator splits, that too. It certainly

ServletException "Client did not send 139 bytes as expected" when testing a gwt-gadget via iGoogle (during RPC call)

2008-12-07 Thread rintcius
Hi, I am trying to get a gwt-gadget running, but I am getting the exception below on the RPC call. Anybody has an idea what could be going on? The stacktrace below is when deployed on jetty, but I get a similar exception on glassfish v2. GWT version: 1.5.3. gwt-gadget version: 1.0.1 Thanks for an

Re: Annoying issue, integrating with Hibernate

2008-12-07 Thread gregor
Hi, PersistentSet is one of Hibernate's "magic collections". Like the proxies that Hibernate also uses for lazy loading, domain objects so adorned are incompatible with the GWT Emulation library and AFAIK there is no direct way around it at the moment. You have to copy them to DTO representations

GWT javascript structure

2008-12-07 Thread GWT Newbie
Hello, I was wondering if it is possible to configure the structure of the files generated by gwt. In detail, assume that I have a project HelloWorld. GWT will generate something like: com.mypackage.gwt.HelloWorld |--> some files .rpc |--> some files .png |--> some files .html |--> some

Annoying issue, integrating with Hibernate

2008-12-07 Thread LoneWolf
Hey, Our application is using Hibernate 3 as the persistence mechanism, and of course we have one-to-many relationship. The problem is when trying to pass a domain object that has a list of lazy initialized objects back to the browser, I got this exception: Caused by: com.google.gwt.user.clie

Re: Eclipse issues

2008-12-07 Thread olivier nouguier
There are some plugin (cypal studio is one) that ease GWT development under eclipse On Sat, Dec 6, 2008 at 6:53 PM, Wualla <[EMAIL PROTECTED]> wrote: > > Hi > > I tried creating a new project using applicationCreator and > projectCreator. Eclipse was still looking for GWT libraries in the old > G