Re: conversion to JavaScriptObject fails with cross site communication

2009-07-29 Thread Adam T
Hi Dale, Could be a couple of things... 1) Your asBasicComputerInfo() method takes a variable jso and you try and return a reference to a variable json - though maybe that's just a typo in your message? 2) Your JSON response from server doesn't appear to be an array, so ignoring any potential

Re: Several simple questions from a newbie

2009-07-29 Thread Manik Chand
Can we add element of Horizontal panel instead of Image to catch mouse event. On Thu, Aug 2, 2007 at 8:12 PM, krispy cplum...@integrity-apps.com wrote: Hey Budric - comments inline. 1. I'm using it in NetBeans through GWT4NB plugin. I'm trying to add a style sheet to the project. How

Re: Setting Background image on panel

2009-07-29 Thread Ed
Do you know how to set the background-image of any html tag, like a DIV through CSS? 1) If yes: then you have your solution as you only have to set the CSS name on your widget/panel through for example setStyleName(String). 2) If not: please have a look at some HTML book how to do this and go

Re: Setting Background image on panel

2009-07-29 Thread Rodrigue Lagoue
Hi Ed at first thanks for your answer. 1) If yes: then you have your solution as you only have to set the CSS name on your widget/panel through for example setStyleName(String). it's the first thing i tried. But it didn't work at all. here is a listing of the involved part in my css file:

CSS-ToolBar

2009-07-29 Thread Muhannad Nasser
hi all the buttons in the grid panel does not have frame when the mouse is not over them, but when we put the mouse over the button the frame appears. i need to make the frame visible all the time even if the mouse is not over the button like the regular button. does anybody have an

Re: conversion to JavaScriptObject fails with cross site communication

2009-07-29 Thread dale
Thanks Adam, You were right about all 3 things, although I'm not sure which actually fixed it. probably combo of all of them :) . I changed the problem method to be: private final native BasicComputerInfo asBasicComputerInfo (JavaScriptObject json) /*-{ return json;

Re: save form data in database

2009-07-29 Thread Tobe
I added the jar to the build path and built the project but still get the error: C3P0Registry cannot be resolved. On Jul 29, 2:50 am, brett.wooldridge brett.wooldri...@gmail.com wrote: You have to add the CP30 jar to your project's Build Path.  Right- click on project- Properties - Java Build

Application Integration

2009-07-29 Thread NeMeSiS
Hello all, I would like to integrate an application into my GWT-Site(similar to integrating an applet). Is this possible? Another option would be to open an application on the client machine (but I don't think this is possible because of browser restictions and security reasons) or at least

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

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

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), br/); On Jul 28, 5:04 pm, Tobe tobias.jungnic...@googlemail.com wrote: Hi, how can I activate that new lines in a TextArea become breaks directly on the web page? In short I need

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

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 zun...@google.com wrote: Hi Lucas, What page is the source of that link? -Eric. On Tue,

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] iframe src=myapp/MyGwtApplication.html name=MyAppFrame width=600 height=400 scrolling=noAn integrated

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

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

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

Re: Gadgets Docs

2009-07-29 Thread Lucas Neves Martins
OK, Thanks! On 29 jul, 10:17, Eric Ayers zun...@google.com 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

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

Re: new line to break from textarea

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

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

[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

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

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

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

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

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

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,

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 david.no...@gmail.com wrote: Hi Parag, An

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

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.

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

Re: Using class on both client and server sides

2009-07-29 Thread Paul Robinson
You want this in your gwt.xml file: source path=client/ source path=shared/ Note that if any source... 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

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

__gwt_historyFrame and W3C validation

2009-07-29 Thread fother
iframe src=javascript:'' id=__gwt_historyFrame style=width: 0; height: 0; It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit. gwt recomend use this !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01

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

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 trevistho...@gmail.com

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

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 ukcue...@gmail.com wrote: You want this in your gwt.xml file:     source path=client/     source path=shared/ Note that if any source... element appears in your gwt.xml, then the implied client source path is not added for

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

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 ukcue...@gmail.com wrote: You

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

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

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

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

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

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

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) {

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

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 stever...@gmail.com wrote: Thanks for the quick reply. Unfortunately I'm in a situation where I

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.

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

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 choonchin...@gmail.com wrote: Hi all, I have 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.

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

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 trevistho...@gmail.com 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

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

Re: Eclipse plugin for Eclipse 3.5 (Galileo)

2009-07-29 Thread petB
On Jul 28, 10:14 pm, Juraj Vitko juraj.vi...@gmail.com 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

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

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, Trevistrevistho...@gmail.com wrote: Ah, I understand your concern. Hm. Maybe someone with

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

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 there

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

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

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

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: module rename-to='myModule' inherits name='my.company.gwt.MyModule'/ set-property name=user.agent value=gecko / set-property name=locale

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,

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

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 ?xml version=1.0 encoding=UTF-8? !DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit 1.7.0// EN

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

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

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

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 branflake2...@gmail.com wrote: Hi Martin, On including more than

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 of

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 trevistho...@gmail.com wrote: I'm still pretty new to GWT

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

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

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, Karthiseenukar...@gmail.com wrote: Hi where can I download API document for GWT --~--~-~--~~~---~--~~ You

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

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

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

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

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

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 trevistho...@gmail.com 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

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

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

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? --~--~-~--~~~---~--~~

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 barry.benow...@gmail.com 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

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(); }

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

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 kavielango...@gmail.com wrote: How can i pass a complete well formed

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 bcon...@gmail.com wrote: Ok, this question may be confusing but I'll be as

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,

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

[gwt-contrib] Re: GWTCanvas status?

2009-07-29 Thread Ray Cromwell
Another crazy possibility is to use Brad Neuberg's SVGWeb ( http://code.google.com/p/svgweb/). He's implemented almost 100% of SVG and SMIL in Flash plus a JS wrapper, so as to enable HTML5 features in IE6. I have to say that the demos are very impressive. IMHO, IE6+VML is a lost cause for all but

[gwt-contrib] Re: GWTCanvas status?

2009-07-29 Thread Joel Webber
Is VML performance really that bad? I'm quite sure you've done a lot more testing than I have :) My understanding has always been that it sucked miserably for implementing a direct-mode API like Canvas, largely because of the obvious and inherent abstraction-inversion problems. But if you're

  1   2   >