GWT Coverage

2009-07-29 Thread chaitanya
Hi, I am trying to get Emma coverage report for the sample stockwatcher GWT app. I have download EclEmma 1.4.1 and replaced the emma.jar with the tools/redist/emma/emma.jar. As I am using GWT 1.7, I believe I do not require to apply any patches over GWT (Issue#779 got fixed in GWT 1.6). When runn

Re: Client or server?

2009-07-29 Thread alex.d
May be this thread will help you: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/1b66b3901ec37a7f# On 29 Jul., 17:13, Nuno wrote: > a class in the client sive can also be used in the server side...just make > it implements Serializable and send it back to the server with

Re: large GWT app fails to load in IE - anyone else seeing this?

2009-07-29 Thread Justin
Hi, We too are experiencing familiar symptoms. Sometimes it fires the onModuleLoad (which according to the link below doesn't fire until the document is ready) and other times it does not. It's very intermittent. Our app is fairly large with about 60 classes. If anyone can shed some light on

Re: help on a servlet issue

2009-07-29 Thread Simon
I think there might be something wrong with my web.xml setting I just add a new module and some servlet calls, it returns correctly. Thanks On Jul 27, 7:54 am, Rajeev Dayal wrote: > Seehttp://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication > Make sure you read the section o

Re: CSS-ToolBar

2009-07-29 Thread muhannad nasser
Thanks Chad i will try that with regards On Wed, Jul 29, 2009 at 11:52 PM, Chad wrote: > > Muhannad, > > Take a look at the CSS that is provided by the GWT team. They have 3 > themes available. You can look at the rules they setup for the type > button you are using (or want to model aft

Query: Multi-user environment and GWT RPC

2009-07-29 Thread style.x7
Hi fellow members, I have been following examples found on the web to build my web application with RPC mechanism. My web application has quite a few services. By right, each service should have its own class files on both client and server side. But this way will result in a lot of class files,

Re: Passing a javascript object as parameter to java method

2009-07-29 Thread rohit a
Hi, Great Idea. Thanks a lot. Bye --~--~-~--~~~---~--~~ 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,

Re: GWT events, image overlays, and GChart

2009-07-29 Thread spike2...@googlemail.com
The Image Object has a MouseMoveEvent-Listener, why not capture events on the Image on the foreground and the call a function on your Image in the background, giving the information you need? On 28 Jul., 21:52, bconoly wrote: > Ok, this question may be confusing but I'll be as clear as possible.

Re: Passing an XML document to a Panel

2009-07-29 Thread spike2...@googlemail.com
See the Api http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/xml/client/XMLParser.html The XMLParser throws you an Document object with wich you can play around with Greetings On 29 Jul., 05:25, kavi wrote: > How can i pass a complete well formed XML document to panel or

Bundling Background Images defined in CSS

2009-07-29 Thread Salman Hemani
Ok, I am not getting a clear cut answer for this so I thought I would post this. ImageBundle -> Neat concept. Awesome. Works great. Is there a way to automate the bundling of the background images defined in CSS? So whereever the CSS refers to a background image, I would like to put that in an I

Re: Using form.submit()??

2009-07-29 Thread jlc488
I found the way to do it. :-) I called java method which include FormPanel Objcet to submit from native method. like this : th...@com.test.sample.server.web.client.ui.serverwidget::formSubmit() (); <-- this placed inside of native method private void formSubmit(){ formPanel.submit(); } Hop

Re: Newbie question(File Permissions issue in GWT)

2009-07-29 Thread spike2...@googlemail.com
Is it possible that "Barry" isn't your account? On 28 Jul., 17:26, Rumpole6 wrote: > This may not be the right place for this, but: > > I am using the gwt plugin  in eclipse under Windows XP to write an > small application and I am facing File Permission Errors trying to > access files in the se

Re: Something other than a Java object was returned from JSNI method when getting colspan

2009-07-29 Thread bhomass
I already try the fix public final native String getAttribute(Element element, String name) /*-{ return element.getAttribute(name, 2)|| ""; }-*/; but the same exception. did I do something wrong in doing the fix? --~--~-~--~~~---~--~

Using form.submit()??

2009-07-29 Thread jlc488
Hello guys, I have a problem which I've created FormPanel using GWT and perform some java script method before submiting the form. So, I defined a native method which does the some job before submitting the form. document.form.submit() <-- not working $wnd.document.form.submit() <-- not working

Something other than a Java object was returned from JSNI method when getting colspan

2009-07-29 Thread bhomass
I have some very simple code String colspan = tdElement.getAttribute("colspan"); it continually crash with Something other than a Java object was returned from JSNI method. also crashes with "rowspan", but ok with some other attribute like "id" when I get its parent tr, then getting colspan and

Re: onSubmitComplete is not working with GWT Showcase

2009-07-29 Thread Simon
Hi Trevis, thanks for reply. I need help urgently. On Jul 30, 1:05 am, Trevis wrote: > Shot in the dark here but the first thing i would check is are you > setting the method type on your form panel? Sounds like you need to > set it to "POST".  (FromPanel.METHOD_POST constant is defined for > do

Re: Admin Area protected by simple scripted password in GWT

2009-07-29 Thread Nickelnext
First of all thank you both for helping. What the article suggests (i read it twice but without a big snippet code i don't understand everything) is to: - make a login box (user and pass) - Call the server with RPC. The server answer back with a boolean (Valid or NotValid) and a SessionID. - The

Re: Multiple pages question

2009-07-29 Thread Ian Bambury
Yes, like I said. Do the layout in the HTML and the functionality in the java code. Why don't you give a simple example of what you are wanting to do. There are many ways to do this and many levels of control you can give to the people who do the layout. It's not really possible to give a one-size-

Event and Interrupt Questions

2009-07-29 Thread spike2...@googlemail.com
Hey i was coding a GWT App and a question came up: Does an event like MouseOver interrupt already running code or does it even fire? Or is it put on the top of a stack like Deferred Command? Is there a website where all this is explained? Thx in advanced --~--~-~--~~~---

Visualization annotatedtimeline errors

2009-07-29 Thread Joe
I'm trying to add an annotated time line to a disclosure panel but I get the following error: [ERROR] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): number: 0 description: at com.google.gwt.visualization.client.visualizations.Visualization.draw (Nati

ensureDebugId(String) doesn't set IDs

2009-07-29 Thread The Question
I, like many others am trying to use Selenium to test my GWT application. Unlike the others, though, I am having a much harder time using the ensureDebugId(String) method. What is funny is that I am succeeding in setting the ID in some places but not in others. My gwt.xml file includes the requ

Re: API Document

2009-07-29 Thread Isaac Truett
Javadocs are included when you download the toolkit. http://code.google.com/p/google-web-toolkit/downloads/list On Tue, Jul 28, 2009 at 9:27 AM, Karthi wrote: > > Hi where can I download API document for GWT > > > > --~--~-~--~~~---~--~~ You received this messag

Re: Multiple pages question

2009-07-29 Thread Maarten Decat
Okay, I think I'm starting to see the different options. I can ask the same question more specific now. Formerly, I was used to working like this: I wrote PHP and added all the elements I needed (forms for example) in HTML. Someone else could take control of laying out these elements in any way h

Re: Can I invoke RPC Methods from Java

2009-07-29 Thread Jason Essington
RPC data is not synchronous, meaning an object moving from the client to the server (javascript to java) looks different than one moving from the server to the client (java to javascript). This complicates attempting to perform a java to java type of scenario. That said, it is not impossibl

Re: Can I invoke RPC Methods from Java

2009-07-29 Thread Steve
I tried using firebug, unfortunately the POST request data has some unreadable characters, which doesn't really help me all that much. Anyone have any hints for deciphering the POST request? Thanks, Steve On Jul 29, 11:50 am, Trevis wrote: > I'm still pretty new to GWT but i'd probably start

Re: [ERROR] Line 3: The import java.math cannot be resolved

2009-07-29 Thread Jason Essington
BigDecimal is not emulated in GWT and thus cannot be compiled to javascript. Have a look at what is available to you: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html -jason On Jul 28, 2009, at 11:55 PM, akshi wrote: > > Hi Folks, > > I am using GWT as a beginner and at the time

Re: Add external java project to GWT project in Eclipse

2009-07-29 Thread martinhansen
Hello Brandon, I used the "link source" function in eclipse. I added all the projects this way. What exactly is your problem? Do you get any error message? What did you do to add the projects? On 29 Jul., 06:34, branflake2267 wrote: > Hi Martin, > > On including more than one project source in

Re: CSS-ToolBar

2009-07-29 Thread Chad
Muhannad, Take a look at the CSS that is provided by the GWT team. They have 3 themes available. You can look at the rules they setup for the type button you are using (or want to model after). Look at the rules for the button-up-hover (or something similar to that). There you will find how the G

Managing localized strings on both server and client

2009-07-29 Thread omsrobert
I have been extending the GWT Constants interface to manage my localized strings with great success on the client. However, there are strings on the server that must also be localized. It would be nice to share the constants between the client and server. Has anyone done this? If so, how? --~-

Re: Stack overflow at line :0 (Hosted mode memory error)

2009-07-29 Thread Keith Platfoot
Hi Trevis, If you're getting a stack overflow, you could try increasing the Java stack size using the -xss JVM argument. In Eclipse, open the launch configurations dialog (Run -> Run Configurations...) and select your launch configuration from the tree on the left. Then switch to the Arguments ta

Re: Save form data

2009-07-29 Thread Trevis
I think that you may be mixing things up a bit. RPC doesn't use true html forms. So what would look to a user to be a form in a typical GWT application would just be a group of input html elements and a button. The button doesnt submit a form, it has a click handler. The handler makes an RPC ca

Re: could not add gin the project

2009-07-29 Thread r...@n
No, I've got it there. And I'm sure I've done everything tutorial says I have to. What else cool be wrong? Could gin conflict with some other modules? My SearchModule.gwt.xml http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro- source/core/src/gwt-module.dtd">

Ext-GWT TreeGrid indirectly calls a GWT-RPC callback? Why?

2009-07-29 Thread Pandaman
I am using GWT-RPC to populate Ext-GWT TreeGrids with data from a server. I am using 4 callbacks to populate 6 TreeGrids. As the callback onSuccess function modifies the TreeGrid by inserting rows, the TreeGridView needs to render the rows. The callback class is called MainPnlSummaryTablesAsyncCal

Mail Sample Code won't import.

2009-07-29 Thread Howard Tan
I'm a noob. But I can read. I want to load the mail sample. I went to the readme.txt tried to follow the instructions... --- from readme.txt In Eclipse, go to the File menu and choose: File -> Import... -> Existing Projects into Workspace Browse to the directory containing this file, sele

Re: Project setup that allows working with both hosted mode and web mode side by side?

2009-07-29 Thread rintcius
I solved the issue. This happened because I am using a different module for development to speed up compilation in web mode. Something like this: The problem was that in hosted mode I was still using the original module which lead to the exception I mentioned in the first post of this

Re: Save form data

2009-07-29 Thread Jeremiah Moses
thanks for the response ... i have not made many of the forms made have been just playing around with gwt for the last couple of weeks ... been using simple forms ... and not got to point of writing a form handler yet ... been trying to find some example ... to make my job a bit easier ... special

Is there any performance advantage to Grid over FlexTable

2009-07-29 Thread pbyo...@gmail.com
If I know exactly how many rows and columns I need, is there any performance advantage to using the Grid widget over the FlexTable widget? Along the same lines, is there any advantage to using Grid over HorizontalPanel, or VerticalPanel? - - - - - - - - - - - - - - - - - - - - Pete Yorke Storke

Re: Multiple pages question

2009-07-29 Thread Ian Bambury
You have html in your index file. You have code in your java files. How you split everything up is your decision. In your html host page, you could have 2 divs, defining the layout for page1 and page 2. In your GWT code, yo make one or other visible as you need them. It might get a little unmanag

Re: Admin Area protected by simple scripted password in GWT

2009-07-29 Thread Isaac Truett
> The article doesn't seem to directly address Nickelnext concern about > having the admin content already in the browser though. I mean, once > you compile the UI into javascript and the browser downloads it, > everything that the view does is there in the browser. It seems > pretty far out the

Re: Admin Area protected by simple scripted password in GWT

2009-07-29 Thread Trevis
Some good info in that link, Isaac, thanks. "Do NOT attempt to use the Cookie header to transfer the sessionID from GWT to the server; it is fraught with security issues that will become clear in the rest of this article. You MUST transfer the sessionID in the payload of the request. For an examp

Re: Admin Area protected by simple scripted password in GWT

2009-07-29 Thread Isaac Truett
http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ This FAQ and the Security for GWT Applications article it links to should help. - Isaac On Wed, Jul 29, 2009 at 1:40 PM, Trevis wrote: > > Ah, I understand your concern. > > Hm. Maybe someone with more GWT experience c

Re: Admin Area protected by simple scripted password in GWT

2009-07-29 Thread Trevis
Ah, I understand your concern. Hm. Maybe someone with more GWT experience can chime in on this but i'm thinking this. It's not like you have a simple hidden DIV in the browser that you're deciding to show dynamically. You have a javascript function that generates that div, which i'd imagine wou

Re: Eclipse plugin for Eclipse 3.5 (Galileo)

2009-07-29 Thread petB
On Jul 28, 10:14 pm, Juraj Vitko wrote: > If you know anything about software development, then you know that > any and all development time estimation is just a wild guess. It is still a good practice to provide release estimates, whatever imprecise. I just finished one (not web oriented) pr

Re: Multiple pages question

2009-07-29 Thread Trevis
I think that the issue that you're running into here is one of mindset. Web developers think in terms of pages but a Swing/MFC/thick client developers dont. GWT is kind of a bridge between the two. >From what i've seen, the GWT way of doing things is to clear out the visible components and rende

Re: Admin Area protected by simple scripted password in GWT

2009-07-29 Thread Nickelnext
Hello You suggest that when the callback gets the Onsuccess and the user is valid, i can simply add a new tab or panele or whatever making the Admin Area visible? Your solution would be perfect, and i thought of it yet but my question is: isn't it easily hack-able? I mean, inside the javascript

Re: Save form data

2009-07-29 Thread Trevis
...calling setName("foo") on things like TextBox will cause GWT to render an html input element with name="foo". On Jul 29, 11:59 am, Trevis wrote: > I dont have an example handy but i have to imagine that there are > plenty out there.  Sounds like you already have GWT creating the > forms, so i

Re: Admin Area protected by simple scripted password in GWT

2009-07-29 Thread Trevis
I take it that regular users for your application dont have to authenticate, but you want the admin to login and then show him or her a different view (a view with an admin tab)? The question is kind of broad, i mean allowing a user to login is pretty much nuts and bolts stuff. You put together a

RE: Handling servre side exceptions and displaying precise error messages on the client

2009-07-29 Thread Gerasimos Tzoganis
That's a good point. I think the previous solution of throwing a new customised exception when an exception is caught on the server handles with this issue. Besides, it is necessary for my application to inform the user that he has submitted a misformed query, and that he needs to reform it. So

Re: onSubmitComplete is not working with GWT Showcase

2009-07-29 Thread Trevis
Shot in the dark here but the first thing i would check is are you setting the method type on your form panel? Sounds like you need to set it to "POST". (FromPanel.METHOD_POST constant is defined for doing this) Trevis On Jul 28, 10:15 pm, Simon wrote: > Hi all, > > I have a problem regarding

Admin Area protected by simple scripted password in GWT

2009-07-29 Thread Nickelnext
Hello everyone, I'm trying to figure out how to create a small Admin Area protected by a password (that could be hardcoded or stored in a xml file, it doesn't matter) inside my application. My application is basically a TabbedPanel that contains 4 or 5 panels, some of them communicates with plai

Re: Save form data

2009-07-29 Thread Trevis
I dont have an example handy but i have to imagine that there are plenty out there. Sounds like you already have GWT creating the forms, so i assume that you are setting the encoding type and post method already. I guess you have also created a FormHandler and added that to your FormPanel. For

Re: Can I invoke RPC Methods from Java

2009-07-29 Thread Trevis
I'm still pretty new to GWT but i'd probably start by watching the messages in firebug (the firefox plugin) to see exactly what's going back and forth. Trevis On Jul 29, 10:23 am, Steve wrote: > Thanks for the quick reply. > > Unfortunately I'm in a situation where I can't/shouldn't mess with t

Re: Handling servre side exceptions and displaying precise error messages on the client

2009-07-29 Thread Dean S. Jones
I will raise a minor point relaying back EXACT exceptions, with all failure information, is not a good idea in a production environment. This is generally what we call "Exception Information Leakage" - it exposes the underlying implementation of your servers architecture, and certain errors a

RE: Handling servre side exceptions and displaying precise error messages on the client

2009-07-29 Thread Gerasimos Tzoganis
Yes, I unerstand what you are saying. That seems perfect, thanks. But why does it work without having declared any throws clause in the interface service method? > Date: Wed, 29 Jul 2009 17:14:37 +0100 > From: ukcue...@gmail.com > To: Google-Web-Toolkit@googlegroups.com > Subject: Re: Handling

Re: Handling servre side exceptions and displaying precise error messages on the client

2009-07-29 Thread Paul Robinson
Catch all exceptions in the server, and throw a new exception in its place that the client can handle. You might like to create an exception class, put that into the throws clause, then then only throw that class or subclasses of it. try { doSomething(); } catch (QueryParseException qpe) { th

RE: Handling servre side exceptions and displaying precise error messages on the client

2009-07-29 Thread Gerasimos Tzoganis
Thanks for your help, it works now. I didn't throw the exception in the client's interface service method as this would cause an error, I threw it only in the implemented method on the server and returned the message to the client. It seems to work. I don't actually want users to report all the

RE: Handling servre side exceptions and displaying precise error messages on the client

2009-07-29 Thread Gerasimos Tzoganis
Thanks a lot. The problem is that I can't put a throw clause in the service interface method (on the client side), because the exceptions I am interesting in are not part of gwt, but of the jena API (so there will be the error : [ERROR] Line 19: No source code is available for type com.hp.hpl.j

Re: Handling servre side exceptions and displaying precise error messages on the client

2009-07-29 Thread Juraj Vitko
declare you own IsSerializable exception type, catch exceptions in server code, and then throw this exception with a message for the client (catch it on the client side). I am currently thinking about how to best transfer exceptions from client code into the server - one can't rely on users to re

Re: Problem with serializing Date in map

2009-07-29 Thread Juraj Vitko
The problem with 'Object' stuffed into a type you send via RPC is, that you can then use this 'Object' to transfer only types otherwise found and thus known by the RPC registry. You can create a dummy function in your RPC service, give it a parameter class Dummy, and in this class you can enumerat

Re: Handling servre side exceptions and displaying precise error messages on the client

2009-07-29 Thread Paul Robinson
If you're using RPC, then you should make sure that your server will only throw exceptions that are declared in the throws cause of the service interface method (or exceptions that are a subtype of whatever is declared). This means catching exceptions server-side and re-throwing an appropriate ex

Re: declarative way to build/layout UI

2009-07-29 Thread Juraj Vitko
Hi Brett, I've already designed, implemented and used a similar framework - use XML to configure and drive Java components into an UI (not related to GWT). In the end, you may come to an conclusion, that configuring Java with XML is not the right thing to do, because you are losing the static ty

RE: Handling servre side exceptions and displaying precise error messages on the client

2009-07-29 Thread Gerasimos Tzoganis
No one has an answer to this? It is part of my application to show to the user exactly the error, eg because perhaps he has submitted a misformed query, like in the error log I have atached. Can't I get this somehow to te client side? > Date: Tue, 28 Jul 2009 16:00:45 -0700 > Subject: Handling

Re: Can I invoke RPC Methods from Java

2009-07-29 Thread Steve
Thanks for the quick reply. Unfortunately I'm in a situation where I can't/shouldn't mess with the GWT application that I'm trying to call remotely. It is a 3rd party app that is distributed in WAR form. I'd rather not have to crack it open and add a SOAP interface into it. Do you know of any

Re: Google analytics integration

2009-07-29 Thread Juraj Vitko
I have not implemented Analytics in GWT yet, but it seems that unless you want to track dynamic "pages" inside your GWT app, you may just include the urchin.js script plus the trigger scriptlet (possibly wrapped in try { } catch) in you host HTML page. On Jul 28, 7:22 pm, makoki wrote: > We had

Re: Stack overflow at line :0 (Hosted mode memory error)

2009-07-29 Thread Trevis
Yeah, it doesn't seem to cause any problems but it sure is annoying. I guess using the trunk build would be less traumatic than switching to linux. Someday hopefully we'll all be on linux but we're not quit there yet. Trevis On Jul 28, 12:24 pm, Paul Robinson wrote: > You could use trunk instea

Re: Using class on both client and server sides

2009-07-29 Thread Nuno
Also, if you class is just a pojo you dont really need to create it in two places... the server code can access all of your client code. You just need to make the classes you want to transport from client to server or vice versa. In your example Contact may stay in the client package, and if you n

Re: Using class on both client and server sides

2009-07-29 Thread Ice13ill
That worked... thanks a lot :) On Jul 29, 6:10 pm, Paul Robinson wrote: > You want this in your gwt.xml file: >     >     > > Note that if any element appears in your gwt.xml, then the > implied client source path is not added for you - so you will need both > of the above. > > Paul > > Ice13

Re: Not able to use 2 different sessions of different users

2009-07-29 Thread Juraj Vitko
Then you have to put the session ID into the URL when the browser is making a request on behalf of you - for example, you want your user to display a private (password protected) image, or download a private document. Other than that, your f) is my c) without using the cookies as persistent stora

Re: Can I invoke RPC Methods from Java

2009-07-29 Thread Nuno
Just to correct something...i dont know if you can call these rpc services from another java application, but GWT does not use JSON on their RPC calls. it is possible to work with json, but the default value are serialized objects. On Wed, Jul 29, 2009 at 12:11 PM, Trevis wrote: > > I'm also pre

Re: Client or server?

2009-07-29 Thread Nuno
a class in the client sive can also be used in the server side...just make it implements Serializable and send it back to the server with the RPC services. Also note that as the classes in the client package are going to become javascript, they don't implement all of the JRE. That may be also a fa

__gwt_historyFrame and W3C validation

2009-07-29 Thread fother
but the id dont pass in W3C validation... should be a different id? what the community think about this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

Re: Can I invoke RPC Methods from Java

2009-07-29 Thread Trevis
I'm also pretty new to GWT and your scenario never occurred to me. Generally i think that it's probably not the greatest idea to try and call the GWT RPC's from a different front end and i've not come across anything that would give you a wsdl (or something like a wsdl) that you could use from non

Re: Using class on both client and server sides

2009-07-29 Thread Paul Robinson
You want this in your gwt.xml file: Note that if any element appears in your gwt.xml, then the implied client source path is not added for you - so you will need both of the above. Paul Ice13ill wrote: > Hello, > I'm trying to use a class (let's say Contact) on both client and > serv

Client or server?

2009-07-29 Thread maarten.de...@gmail.com
Hi, I'm experimenting with GWT for a couple of weeks now and ran into another question. The question relates where to put a certain class. Classes in the client package are translated into javascript. Classes in the server package are executed as java (I'm using App Engine too). Say I'm building

Using class on both client and server sides

2009-07-29 Thread Ice13ill
Hello, I'm trying to use a class (let's say Contact) on both client and server sides (packages: com.app.client and com.app.server). For that purpose I created a shared package (com.app.shared) in which to put the Contact class. But gwt (client side) only "sees" classes in com.app.client package. H

Re: Google Calendar API: NoClassDefFoundError AuthenticationException

2009-07-29 Thread JesperA
After some debugging i found where the Exception is thrown: com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(Object, Method, Object[], SerializationPolicy) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: ImageBundle question

2009-07-29 Thread myapplicationquestions
Sorry let me rephrase the question The images are not actually stored in a folder but we store them as binary data in database. In that case i am assuming image bundle will not work right? Thanks, On Jul 22, 5:28 am, David wrote: > Hi Parag, > > An com.google.gwt.user.client.ui.ImageBundlewoul

Re: Setting Background image on panel

2009-07-29 Thread Rodrigue Lagoue
hi Nuno! no the path .../pic.jpg was just an example. i found out that the problem could be that the panel who supposed to have the image background is empty. If i put some widgets on this panel, the image background become visible. I cannot explain why. thanks On Wed, Jul 29, 2009 at 4:25 PM, N

Re: Google Calendar API: NoClassDefFoundError AuthenticationException

2009-07-29 Thread JesperA
Forgot to say... Using the same code in a general Java application works perfect. --~--~-~--~~~---~--~~ 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@goo

Google Calendar API: NoClassDefFoundError AuthenticationException

2009-07-29 Thread JesperA
Hi! I'm trying to get feed data from the Google Calendar API. To the Eclipse project I have added the following libs (Java Build Path) gdata-calendar-2.0.jar gdata-calendar-meta-2.0.jar gdata-client-1.0.jar gdata-client-meta-1.0.jar gdata-core-1.0.jar google-collect-1.0-rc1.jar Google Data Plugin

Can I invoke RPC Methods from Java

2009-07-29 Thread Steve
Hello All, I'm new to GWT so please forgive me if there is some obvious answer to my problem. I googled around for this information and came up dry. Here is my problem. There is an existing GWT Application that I want to leverage in a new application that I am building. This GWT app uses RPC.

Please tell me a way to clear this problem

2009-07-29 Thread Chaaru
I am a newbye to GWT. I go thro' a referrence book from Packtpub publications named "Google Web Toolkit GWT Java ajax programming". In chapter 2 i tried an example application. I done as they said in the book material step by step. But it ends up in error as " Unable to load module entry point c

RemoteService - how to get http status of the response

2009-07-29 Thread reHa
Hi I have implemented RemoteService and when I'm getting response in the callback - in methods onFailure and onSuccess - how can I get Http Status (like 200, 302 or 404) of the response. Thanks - Piotr --~--~-~--~~~---~--~~ You received this message because you

[ERROR] Line 3: The import java.math cannot be resolved

2009-07-29 Thread akshi
Hi Folks, I am using GWT as a beginner and at the time of using java.math.BigDecimal it gives me exception. Compiling module com.techjini.app.SwordFish Refreshing module from source Validating newly compiled units Removing units with errors [ERROR] Errors in 'file:/

Save form data

2009-07-29 Thread Jeremiah Moses
Hi I want to save some form data into my database my forms are generated using GWT and i already have code that interacts with my database, now my question is how do i interact with this code ... is RPC the only way to do it in GWT or is there any other way to integrate my gwt UI to this my ex

Re: new line to break from textarea

2009-07-29 Thread Tobe
looks good, but if I used it I got ""s written on the web page. I used the following code: RootPanel.get("textNews").getElement().setInnerText (textareaNews.getText().replaceAll("(\r\n|\r|\n)", "")); By changing setInnerText to setInnerHTML all works fine thanks On Jul 29, 1:56 pm, Phil wrote

Re: Indexed Panel

2009-07-29 Thread Rahul
thanks a lot Adam, I got the point On Jul 28, 1:22 am, Adam T wrote: > Hi Rahul, > > It's not a panel per se, it is an interface that a number of different > panels implement.  If a panel implements the interface, then you know > you can that you can get a widget at a particular index, count the

Re: Generation of XML

2009-07-29 Thread Rahul
does anyone has any ways I can proceed with this? On Jul 27, 1:13 pm, Rahul wrote: > Hi everyone i found one tutorial > > http://www.ibm.com/developerworks/edu/x-dw-x-xmlgwt.html > > but it would be really helpful if somone could paste here more > resources for this operation > > Thanks > > On J

Re: Setting Background image on panel

2009-07-29 Thread Nuno
but you may be setting the wrong path... unless your css file is located on the same page as the html... otherwise you would be looking at: blablabal/*css*/images/bgleer.jpg from your css * * *and * blablabal/images/bgleer.jpg from your GWT/html code On Wed, Jul 29, 2009 at 5:22 AM, Rodrigue Lag

Re: Gadgets Docs

2009-07-29 Thread Lucas Neves Martins
OK, Thanks! On 29 jul, 10:17, Eric Ayers wrote: > Thanks for reporting the broken link, I'm looking into it. > > I should have mentioned this upfront, but there is a tutorial for > using Gadgets with GWT 1.5 in > > http://code.google.com/p/gwt-google-apis > > YMMV with GWT 1.6 and above.  The d

Re: Creating and Importing GWT Independent Modules

2009-07-29 Thread Nuno
you dont need to do much thing for this... just create your gwt library project, you dont need to define any entrypoints. after, just click with your right button on your project, then export, then select java package after you only need to import this jar on the other project you want to use it,

Re: Gadgets Docs

2009-07-29 Thread Eric Ayers
Thanks for reporting the broken link, I'm looking into it. I should have mentioned this upfront, but there is a tutorial for using Gadgets with GWT 1.5 in http://code.google.com/p/gwt-google-apis YMMV with GWT 1.6 and above. The docs need some work, and there have been bugs reported in Gadgets

Creating and Importing GWT Independent Modules

2009-07-29 Thread Lucas Neves Martins
I looked it up all over the internet, but I only found this link : http://developerlife.com/tutorials/?p=229 I need to create a .jar with gwt views (those .java in the client package) and then import it to other gwt project, much like they do with the SmartGwt api. How they did the SmartGwt api

Re: Application Integration

2009-07-29 Thread Lucas Neves Martins
I saw some guys doing that with iframes, I do not like iframes, but it works, give it a try. If you know how to use an iframe you already figured out what to do, but if not : [code] An integrated App [/code] The tag "src" should point to your app entry point, if you are running the app on hos

Re: Gadgets Docs

2009-07-29 Thread Lucas Neves Martins
http://code.google.com/intl/en/webtoolkit/overview.html The link is located at the left menu, expanding the "Tutorials" tree. "Getting Started" > "Tutorials" > "GWT Gadgets" > 404 ! On 28 jul, 15:54, Eric Ayers wrote: > Hi Lucas, > > What page is the source of that link? > > -Eric. > > On Tue,

regex escape characters with Messages

2009-07-29 Thread davis
Hi, I want to store some regex expressions in my own Messages instance. Unfortunately, the {0} brace/number syntax seems strictly reserved for text replacement i.e. key=blah blah {0} blah public interface MyMessages extends Messages { @DefaultMessage("blah blah {0} blah") String key(int n

Re: new line to break from textarea

2009-07-29 Thread Phil
How about simply using String's replaceAll() method? String html = textArea.getText().replaceAll("(\r\n|\r|\n)", ""); On Jul 28, 5:04 pm, Tobe wrote: > Hi, > how can I activate that new lines in a TextArea become breaks directly > on the web page? In short I need the nl2br() function from PHP i

Re: Application Integration

2009-07-29 Thread NeMeSiS
Thanks for that fast answer! I need to use an XML-Editor. Which one exactly is not specified. I think I will use something opensource. So can I use an activeX control and show the editor inside? Can I also send and recieve commands and data to the editor? How is that done? Greetings, NeMeSiS On

Re: Application Integration

2009-07-29 Thread makoki
What sort of application, which type of integration are you talking about. I'm sure, although never tried, it's feasible to do it, either creating an activeX control or similar. On 29 jul, 12:32, NeMeSiS wrote: > Hello all, > > I would like to integrate an application into my GWT-Site(similar to

Multiple pages question

2009-07-29 Thread maarten.de...@gmail.com
Hi, I've been trying out GWT for a couple of weeks now and stumbled upon a beginner's question relating multiple pages. For example, let's suppose an application with users where you have an application page, a login page and a register page. Using GWT for the application page speaks for itself,

  1   2   >