Re: Build file Corresponding to GWT Compilation From Eclipse

2010-06-16 Thread Sripathi Krishnan
GWTC is a Java program that reads java files and compiles it into Javascript. The main class of this java program is com.google.gwt.dev.Compiler and you can invoke this program in various ways. ANT and Eclipse are just two possible (and most typical) ways of invoking the GWT compiler. If you want

my app does not work in IE at all

2010-06-16 Thread ingo
hello everyone, i am working on the honeycrm project http://code.google.com/p/honeycrm/. when users open the app the first thing they see is a loading screen (similiar to gmail login). after the loading has finished the loading dialog is hidden and the real ui is inserted into the

how to enable scrolling for app using DecoratedTabPanel?

2010-06-16 Thread ingo
hello everyone, i am using the DecoratedTabPanel to split my application into several modules (http://honeyyycrm.appspot.com). however, i have currently no scrolling at all (in no browser). i read about this in the mailing list and it seems like a lot of developers have issues with this

javax.servlet.ServletException: Client did not send nnn bytes as expected

2010-06-16 Thread h.v.maanen
In production we have a Issue with the next message in the stacktrace: javax.servlet.ServletException: Client did not send nnn bytes as expected We have found some discussions about this problem:

GWT client timestamps for humans

2010-06-16 Thread PEZ
Hello, I want to inform you all that I've ported PrettyTime (http:// ocpsoft.com/prettytime/) to GWT and packaged as a client module. The module and its source is available on Github as http://github.com/PEZ/GWT-Relative-Time GWT-Relative-Time can tend your widgets as long as they implement

Problem with file upload

2010-06-16 Thread balachandra maddina
Hi There, Im trying a file upload using the below code but on my server side no file items are available but without changing the server code if i try using a plain html with a form then the server was able to see file items. please let me know if im missing anything here. GWT code:

Re: Problem with file upload

2010-06-16 Thread aditya sanas
try adding a statement upload.setName(your form name); after creation of object for FileUpload. -- Aditya On Wed, Jun 16, 2010 at 1:24 PM, balachandra maddina chandu2...@gmail.comwrote: Hi There, Im trying a file upload using the below code but on my server side no file items are

Re: Problem with file upload

2010-06-16 Thread Bruno Lopes
Hellos balachandra ! :D I create this solution and it works fine: Cliente side: final FormPanel form = new FormPanel(); final FileUpload upload = new FileUpload(); public static String UPLOAD_RESULT = ; public static String EVENT_NAME = ; private boolean isIMG = true; public

Re: Problem with file upload

2010-06-16 Thread malliseven.hills
*uploadForm = new FormPanel();* * uploadForm.reset();* * uploadForm.setAction(**upload);* * uploadForm.setEncoding(**FormPanel.ENCODING_MULTIPART);* * uploadForm.setMethod(**FormPanel.METHOD_POST);* * * * FileUpload upload = new FileUpload();* *

Re: login/logout/remember

2010-06-16 Thread Bruno Lopes
An serializable object from the persistence side. On Wed, Jun 16, 2010 at 6:46 AM, Magnus alpineblas...@googlemail.comwrote: What's PersonDTO? Magnus On 3 Jun., 22:36, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: Then on the server side for the LoginService public LoginResponse

Re: where to define domain objects

2010-06-16 Thread Joost Bloemsma
Actually, the shared package is introduced for stuff you use on both the client and the server side. So that's the place to put your domain objects (entity models or however you want to call them). The client package will work fine too, since everything in the client package will be (for now)

Re: where to define domain objects

2010-06-16 Thread Joost Bloemsma
Actually, the shared package is introduced for stuff you use on both the client and the server side. So that's the place to put your domain objects (entity models or however you want to call them). The client package will work fine too, since everything in the client package will be (for now)

Re: Problem with file upload

2010-06-16 Thread balachandra maddina
Thank you. its working fine after setName. Regards, bala. On Wed, Jun 16, 2010 at 1:54 PM, aditya sanas 007aditya.b...@gmail.comwrote: try adding a statement upload.setName(your form name); after creation of object for FileUpload. -- Aditya On Wed, Jun 16, 2010 at 1:24 PM, balachandra

Re: exchange image by browser

2010-06-16 Thread Joost Bloemsma
Actually, by using a conditional stylesheet (with the @if annotation) the result would be much cleaner. The browser will only receive a tailor made css, and your javascript will only be used for stuff it's intended for, not styling. On 16 jun, 03:21, Sky myonceinalifet...@gmail.com wrote: I

Re: Failure creating a timer in ServerImplementation

2010-06-16 Thread uwi_u
It indeed was the reason. No GWT-Client-Code in ServerImplementation. Sounds sane ;-) On 15 Jun., 16:39, uwi_u uwe.chris...@gad.de wrote: A. I guess it's the following: I included com.google.gwt.user.client.Timer instead of java.util.Timer... could this be the reason? On 15 Jun., 16:25,

How to generate report in GWT.

2010-06-16 Thread gopal bhalala
Hi, My application is on school admission system. I want report for merit list of school admission in html or in other tools. Any tools in gwt for report? Thanking you, Gopal Bhalala -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: How to generate report in GWT.

2010-06-16 Thread ingo
hello gopal, i think this is possible with the google chart api (formerly known as visualisation api). for more details see the google code page of the project http://code.google.com/p/gwt-google-apis/wiki/VisualizationSampleApplications regards, ingo On 16 Jun., 12:10, gopal bhalala

Why am I forced to use @DefaultStringValue annotations for i8n in production mode?

2010-06-16 Thread googelybear
Hi, I am using the Constants interface with simple properties files to localize my app (foo_de.properties, foo_en.properties and so on). When I run the app from eclipse (dev mode) everything works fine but when I compile the app I get the error message that the @DefaultStringValue annotation is

Re: GWT client timestamps for humans

2010-06-16 Thread Thomas Broyer
On Jun 16, 9:38 am, PEZ p...@pezius.com wrote: Hello, I want to inform you all that I've ported PrettyTime (http:// ocpsoft.com/prettytime/) to GWT and packaged as a client module. The module and its source is available on Github ashttp://github.com/PEZ/GWT-Relative-Time

Re: my app does not work in IE at all

2010-06-16 Thread Thomas Broyer
On Jun 16, 9:03 am, ingo ingo.jaec...@googlemail.com wrote: hello everyone, i am working on the honeycrm projecthttp://code.google.com/p/honeycrm/. when users open the app the first thing they see is a loading screen (similiar to gmail login). after the loading has finished the loading

Re: History and server call.

2010-06-16 Thread Thomas Broyer
On Jun 16, 3:52 am, Sky myonceinalifet...@gmail.com wrote: Well, I don't know about the event bus and I have yet to watch that GWT best practices video (but I really should!) and I haven't done MVP with GWT, BUT I'm super creative so here's what I would do with your situation! :D I would

GWT and CSS

2010-06-16 Thread Magnus
Hi, I used CSS and setStyleName to style my widgets, until I found out that my widgets look less cool when I do that. I now understand that each widget has a GWT-style (e. g. .gwt-Button) and that I overwrote this with my own style. So what is the way one should use CSS? Is it possible to

AsyncCallback - returning values to enclosing block

2010-06-16 Thread Magnus
Hi, because I cannot access a variable in the enclosing block from within an AsyncCallback method I found the following workaround with a class global variable, which I find very unpretty. How can one do this better? String tmp_str_usr = ; String getUser () { SystemServiceAsync svc =

Re: AsyncCallback - returning values to enclosing block

2010-06-16 Thread Jaroslav Záruba
create *final* variable in the enclosing block cheers JZ On Wed, Jun 16, 2010 at 1:09 PM, Magnus alpineblas...@googlemail.comwrote: Hi, because I cannot access a variable in the enclosing block from within an AsyncCallback method I found the following workaround with a class global

Re: GWT applet problem

2010-06-16 Thread mariyan nenchev
I said the easiest way to do it :) -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: GWT and CSS

2010-06-16 Thread Sven
Hi Magnus, So what is the way one should use CSS? Is it possible to inherit a style into another style, e. g. my-button inherits gwt-Button, so that I just add my adjustments? just try to use addStyleName() instead of setStylePrimaryName(). By this you preserve the default standard.css

Re: Invoking GWT from outside the war

2010-06-16 Thread enTropy Fragment
SOLVED! The same html page worked, I just had to add add-linker name=xs / To the gwt.xml Almost got mad looking for this, hope it can help somebody else :f 2010/6/15 enTropy Fragment poemcompi...@gmail.com Hello I am wondering if I can launch a GWT app from an html page wich is outside

Re: GWT applet problem

2010-06-16 Thread Olivier Monaco
Hi, The easiest way is not an frame... you will have many issue. You can create a Widget backing by an object tag. Or you can try some library like http://code.google.com/p/gwtai/. Olivier On 16 juin, 13:17, mariyan nenchev nenchev.mari...@gmail.com wrote: I said the easiest way to do it :)

Re: how to enable scrolling for app using DecoratedTabPanel?

2010-06-16 Thread Olivier Monaco
Do you want: 1) scroll the whole page? Don't use layouts (*LayoutPanel), there are made to avoid scrolling. Did you read http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideUiPanels.html? Try: RootPanel \_ DockPanel \_ DecoratedTabPanel 2) scroll the content area of the tabs? Add a

Re: GWT applet problem

2010-06-16 Thread Jaroslav Záruba
Also I fail to see how is [putting APPLET into standalone document]+[creating FRAME for it using JS] easier then [creating APPLET with several PARAMs using JS]. In the first scenario you also get one more file/document to care about + one more request to make. But that's just my opinion. Whatever

Re: DockLayoutPanel inside a ScrollPanel

2010-06-16 Thread Olivier Monaco
Elben, The layout panels are made to avoid scrolling. They must have a fixed size. They use the whole window and updates there content viewport as the window is resized. If their content is too large to be shown, a part of it will be hidden (http://code.google.com/intl/fr/webtoolkit/

Client Session Timeout

2010-06-16 Thread Paul Grenyer
Hi All We have an application that makes regular RPC calls, on a timer, to the client. This has the side effect of the user's session never expiring. Because of the sensitive nature of the data we're handling in our application, we need the user's session to timeout. How can this be done? --

implementing reCAPTCHA

2010-06-16 Thread Aditya
Anyone here have implemented reCaptcha in GWT modules...? I tried search on the web i found some cool stuff http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/99c259aad06406c6 here. but need some more explanation to implement it. And one more thing can i test it whenever i m

Re: AsyncCallback - returning values to enclosing block

2010-06-16 Thread Thomas Broyer
On Jun 16, 1:09 pm, Magnus alpineblas...@googlemail.com wrote: Hi, because I cannot access a variable in the enclosing block from within an AsyncCallback method I found the following workaround with a class global variable, which I find very unpretty. How can one do this better? What is

Re: GWT client timestamps for humans

2010-06-16 Thread PEZ
Oh, and I was planning to add a few more locales soon... What's the implications? /PEZ On Jun 16, 12:33 pm, Thomas Broyer t.bro...@gmail.com wrote: On Jun 16, 9:38 am, PEZ p...@pezius.com wrote: Hello, I want to inform you all that I've ported PrettyTime (http:// ocpsoft.com/prettytime/)

first time deploy on tomcat - ServiceImpl not found on server

2010-06-16 Thread Magnus
Hi, I deployed my app for the first time on a tomcat server and receive the following exception (SystemService is aRPC service): - javax.servlet.ServletException: Wrapper cannot find servlet class ics.server.svc.SystemServiceImpl or a class it depends on ... - In hosted mode this works

Re: AsyncCallback - returning values to enclosing block

2010-06-16 Thread aditya sanas
LOL Thomas.[?] That was great example to determine async calls. anyway what you are saying is right. Its a bad design to have a method which returns something and then make async call which changes the state of some variable. -- Aditya On Wed, Jun 16, 2010 at 6:13 PM, Thomas Broyer

parsing library for the client side

2010-06-16 Thread Laurent PETIT
Hello, I must create a rich editor. We have a custom language, and our customers will be able to edit sentences of this language in their browser. Now, on the server side, we already have antlr stuff to parse the language. I'm contemplating whether I should try to reuse to the maximum the

Re: GWT project with multiple pages

2010-06-16 Thread Brian Reilly
This is a technique that I'm finding useful for using GWT to implement new features in an existing web application. The application already has a configuration-driven menu system that effectively resolves to a separate HTML file for each page. If I want to use GWT to implement new pages, I need to

Re: Updrage to 2.1M1 build a single permutation?

2010-06-16 Thread gcauchon
Anyone? On Jun 9, 11:01 am, gcauchon gcauc...@gmail.com wrote: There isn't much details about widget with mobile support. What I do know is that there are many things not supported by Safari Mobile (for instance). I wasn't at I/O this year and up to now the only place I've read about it is on

Re: History and server call.

2010-06-16 Thread Tristan
sounds like you're reinventing the place service, with event bus, with local cache rpc service, but doing it in a new, innovative, complex and if the code grows on you perhaps unintelligible way. if you're the only one who will support this ever, that may work. otherwise i would seriously look

Re: Does AdSense work with GWT? If so, How?

2010-06-16 Thread Tristan
http://code.google.com/apis/afa/ On Jun 15, 1:29 am, Joe Blow michael.mccutch...@gmail.com wrote: I'm looking at using this framework for a new project, but I need to have the AdSense functionality. 1 - Does AdSense work with GWT? 2 - If so, how?  I see a whole bunch of hacks that 'might'

Re: opening popup menu hides all remaining page content

2010-06-16 Thread Magnus
Hi, what does this mean: Fixed in 2.1M1? When will this fix be available to all? Thanks Magnus On 11 Jun., 15:09, Thomas Broyer t.bro...@gmail.com wrote: On 11 juin, 07:07, Magnus alpineblas...@googlemail.com wrote: Hello, I found a strange problem under IE 7: When I click on a menu

Re: Client Session Timeout

2010-06-16 Thread jhulford
The session interface has the method invalidate() in it to manually force the session to expire. You can add some sort of filter in your server side RPC processes that uses whatever heuristic you need to determine when to time out the session and just do it manually. On Jun 16, 8:34 am, Paul

Re: opening popup menu hides all remaining page content

2010-06-16 Thread Jaroslav Záruba
http://code.google.com/webtoolkit/download_2_1_m1.html http://code.google.com/webtoolkit/download_2_1_m1.htmlcheers JZ On Wed, Jun 16, 2010 at 3:43 PM, Magnus alpineblas...@googlemail.comwrote: Hi, what does this mean: Fixed in 2.1M1? When will this fix be available to all? Thanks

Re: Client Session Timeout

2010-06-16 Thread Mike Jiang
Except for that, you can set a fixed timeout in your app's web.xml. For instance, session-config session-timeout15/session-timeout /session-config Here the time is in minute. Mike J. On Wed, Jun 16, 2010 at 9:44 AM, jhulford jhulf...@gmail.com wrote: The session interface has the method

Re: GWT applet problem

2010-06-16 Thread KenJi_getpowered
We simply add this code into a view String htm = applet width=\100%\ height=\100%\ + code=\com/your/package/applet/EntryClass.class\ + archive=\TheArhive.jar\ + param name=\lang\

Re: GWT Print

2010-06-16 Thread ahmed saleh
hello abrahim- this is not GWT issue it is CSS issue, kindly check you Css file you added on grid thanks Ahm -- Forwarded message -- From: abhiram abhir...@gmail.com Date: Wed, Jun 16, 2010 at 6:33 AM Subject: GWT Print To: Google Web Toolkit google-web-toolkit@googlegroups.com

Re: How to generate report in GWT.

2010-06-16 Thread ahmed saleh
hello- i think the next topic will be help you greate:- http://code.google.com/apis/chart/docs/making_charts.html for example http://chart.apis.google.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello|World set this URL in Image in .setURL(ttp://

Re: History and server call.

2010-06-16 Thread Ravi Sharma
Event bus looks to be promising and can solve this problem. Will try it and see how much it can help. But first need to use MVP in my project Thanks Ravi. On Jun 16, 2:23 am, fmod francisco.mode...@gdsoft.eu wrote: Using the event bus may help

MVP questions

2010-06-16 Thread Bilousme
Hello all, I need some help to check if my design I choose is correct. Imagine I have a data model like that : - An object1 containing a list of many object2 Imagine now I want that my screen displays info of object1 and the list of object2 inside a tabpanel. When you click on a tab, you

Does a private variable in Java stays private when compiled to javascript?

2010-06-16 Thread Shedokan
Hello, I am looking at GWT's features and can't figure out weather a variable declared in java as private will stay private once compiled in GWT. By private I mean unaccessible to anyone except for the constructor or the construtors functions. Thanks. -- You received this message because you

Re: Failure creating a timer in ServerImplementation

2010-06-16 Thread Ravi Sharma
Looking into your code i can see that you are trying to re invent the wheel, also user will always timeout even if he is using ur application continuously. Most of the servers have session management build in facility. So you can just set the time like 15 minutes or something and your user

Re: my app does not work in IE at all

2010-06-16 Thread ingo
hello thomas, thanks a lot for this hint. it solved the issue immediately (see the diff here http://code.google.com/p/honeycrm/source/diff?spec=svn67r=67format=sidepath=/trunk/war/Gae.html). kind regards, ingo On 16 Jun., 12:38, Thomas Broyer t.bro...@gmail.com wrote: On Jun 16, 9:03 am, ingo

New book, ESSENTIAL GWT

2010-06-16 Thread FKereki
Hi! I'm quite proud to be able to announce I wrote a book for Addison- Wesley, called ESSENTIAL GWT. The book is available online at http://my.safaribooksonline.com/9780321705631 and also (for preorders) in Amazon.com at http://www.amazon.com/Federico-Kereki/e/B003NE73LE or Barnes and Noble at

Re: GWT applet problem

2010-06-16 Thread KenJi_getpowered
We simply add this code into a view String htm = applet width=\100%\ height=\100%\ + code=\com/your/package/applet/EntryClass.class\ + archive=\TheArhive.jar\ + param name=\lang\

Re: how to enable scrolling for app using DecoratedTabPanel?

2010-06-16 Thread ingo
hello oliver, thank you very much for the link! i want to achieve a page layout similar to the google code ui http://code.google.com/p/honeycrm/: tabs on top of the screen and right under the tabs is the module specific content. if the content right under the tabs is too big the whole page or the

Re: parsing library for the client side

2010-06-16 Thread Stefan Bachert
Hi Laurent, I did not use antlr, yet. However, antlr generates java code and as far it generates ALL, the GWT compiler probably translates generated javacode to javascript. I would just give them a try. Stefan Bachert http://gwtworld.de On Jun 16, 3:02 pm, Laurent PETIT laurent.pe...@gmail.com

Re: DockLayoutPanel inside a ScrollPanel

2010-06-16 Thread Stefan Bachert
The layout panels are made to avoid scrolling. They must have a fixed size. The latter sentence is not completly true. A LayoutPanel does not calculate its size from children. Especially it does not grow when the children grow. A Layoutpanel needs to be told which size it has. The

CompileReport Explicit Eclipse instructions

2010-06-16 Thread Dan Billings
Hi- I seem to be unable to figure out how to generate a GWT report in Eclipse. Under Debug Configurations for Web ApplicationIt seems to me that it should be in the Program arguments section. However, when I do that I get this: Unknown argument: -compileReport Google Web Toolkit 2.0.0 DevMode

using buttons - attaching Command objects?

2010-06-16 Thread Magnus
Hi, is the following possible: 1) Having one ClickHandler for several Buttons. 2) Associating a Command object to each Button. 3) Knowing which Command object belongs to the clicked Button? I want something like this: Button btn_1 = new Button (B1); Button btn_2 = new Button (B2); Button

Re: CompileReport Explicit Eclipse instructions

2010-06-16 Thread Chris Conroy
On Wed, Jun 16, 2010 at 12:39 PM, Dan Billings debil...@gmail.com wrote: Hi- I seem to be unable to figure out how to generate a GWT report in Eclipse. Under Debug Configurations for Web ApplicationIt seems to me that it should be in the Program arguments section.  However, when I do that

Re: using buttons - attaching Command objects?

2010-06-16 Thread Jaroslav Záruba
On Wed, Jun 16, 2010 at 6:47 PM, Magnus alpineblas...@googlemail.comwrote: Hi, is the following possible: 1) Having one ClickHandler for several Buttons. @UiHandler({deleteButton, deleteButton2}) void onDelete(ClickEvent e) { } i don't know the rest :( 2) Associating a Command object to

Re: CompileReport Explicit Eclipse instructions

2010-06-16 Thread Dan Billings
Thanks so much! On Jun 16, 11:53 am, Chris Conroy con...@google.com wrote: On Wed, Jun 16, 2010 at 12:39 PM, Dan Billings debil...@gmail.com wrote: Hi- I seem to be unable to figure out how to generate a GWT report in Eclipse. Under Debug Configurations for Web ApplicationIt seems to

Pass a Java Object between to Opener Window

2010-06-16 Thread keyvez
Hi, I am trying to pass a custom Java object to the another window to which I have a reference using $wnd.opener. When I call $wnd.opener.callback(); or $wnd.opener.callback('string'), it works, however, when I pass $wnd.opener.callback(@com.package.Class::staticField), the staticField is

Re: using buttons - attaching Command objects?

2010-06-16 Thread Magnus
Thank you, I found the rest: subclassing Command. Magnus On Jun 16, 6:59 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: On Wed, Jun 16, 2010 at 6:47 PM, Magnus alpineblas...@googlemail.comwrote: Hi, is the following possible: 1) Having one ClickHandler for several Buttons.

Re: GWT and CSS

2010-06-16 Thread Magnus
Hi Sven, I think that's an issue for me. When I use addStyleName with padding/ margin, it has no effect. I guess it's overwritten. However, copying the standard.css sounds not nice to me. Isn't there another (programmatical) solution? Magnus On Jun 16, 1:35 pm, Sven sven.ti...@googlemail.com

Re: parsing library for the client side

2010-06-16 Thread Sripathi Krishnan
Hi Laurent, You actually have an interesting idea, something I have been thinking about for a different context for sometime. I haven't used ANTLR before, I prefer JAVACC. When I analysed javacc generated code, most of it was plain java that GWT could easily convert to Javascript. The only

Re: GWT and CSS

2010-06-16 Thread Jaroslav Záruba
Be sure to check your html-element in some inspecting tool: Development Tools in Chrome, Firebug in FF. You might find out that your style-rule (color: red;) gets applied but then gets overridden. (Meaning the element actually bears the class-name you added to it.) In that case you would see the

Re: net.sf.gilead.pojo.java5.LightEntity - inherit a required module

2010-06-16 Thread Decly
I found the same problem upgrading from gilead 1.2 to 1.3 (to solve the Unknown entity: null bug). I solve it replacing the import: import net.sf.gilead.pojo.java5.LightEntity; with: import net.sf.gilead.pojo.java5.legacy.LightEntity; -- You received this message because you are subscribed to

Re: GWT and CSS

2010-06-16 Thread Danny Goovaerts
Magnus, standard.css is added after your style sheets are loaded. Unless your style definitions are more selective that the definitions in standard.css, the definitions in standard.css take precedence. There are to possible solutions - make your selectors more precise(googleon css priority for

GWT-RPC via JSONP?

2010-06-16 Thread Chris Lercher
Hi, would it be possible to somehow wrap a GWT-RPC in a JSONP call? I mean, at the end of the day, GWT-RPC also just sends a string in an HTTP POST message (along with some headers), so theoretically it should be possible to use that String as a JSON string, maybe alongside the headers to form a

Re: New book, ESSENTIAL GWT

2010-06-16 Thread Frederic Conrotte
Can you summarize what kind of new information this book gives in comparison with previous books ? On 16 juin, 17:32, FKereki fker...@gmail.com wrote: Hi! I'm quite proud to be able to announce I wrote a book for Addison- Wesley, called ESSENTIAL GWT. The book is available online

Re: New book, ESSENTIAL GWT

2010-06-16 Thread Andrés Cerezo
Can you give another advise about app engine + gwt? Thanks. 2010/6/16 Frederic Conrotte frederic.conro...@gmail.com Can you summarize what kind of new information this book gives in comparison with previous books ? On 16 juin, 17:32, FKereki fker...@gmail.com wrote: Hi! I'm quite

Re: GWT-RPC via JSONP?

2010-06-16 Thread Chris Lercher
Okay, thinking about it, maybe this is a stupid idea. Since I can send only an URL (and not a POST body) with a JSONP call, I guess, the URL probably can't take very long strings... On Jun 16, 9:27 pm, Chris Lercher cl_for_mail...@gmx.net wrote: Hi, would it be possible to somehow wrap a

Re: GWT-RPC via JSONP?

2010-06-16 Thread Sripathi Krishnan
No, it won't. 1. GWT RPC exclusively uses POST. JSONP uses a script tag, which is essentially a GET request. You can't make a POST request using a script tag. 2. RPC adds custom http headers to the request (X-GWT-Permutation, or something like that). You cannot setup custom http

Re: GWT-RPC via JSONP?

2010-06-16 Thread Chris Lercher
Hi Sri, I mean of course, that there would have to be a component (e.g. Servlet) on the server side, that re-translates the get request, and then calls the RemoteServlet (or something underlying), as if a usual GWT-RPC request had been issued. Se we would basically use JSONP as a tunnel. [The

Re: GWT-RPC via JSONP?

2010-06-16 Thread Sripathi Krishnan
Just did some digging in, and I *think* it is possible with some restrictions. The restrictions being - - No support for request headers - Reduced error handling. For example, a 404 cannot be detected easily... The basic idea is to use DeRPC infrastructure because it already returns

Re: New book, ESSENTIAL GWT

2010-06-16 Thread Jim Douglas
Frederic -- You can find summary information on Amazon: http://www.amazon.com/gp/product/product-description/0321705149 And you can read chapter 1 here: http://my.safaribooksonline.com/9780321705631 On Jun 16, 12:31 pm, Frederic Conrotte frederic.conro...@gmail.com wrote: Can you summarize

GWT Developer mode plugin for Safari does not work

2010-06-16 Thread István Szoboszlai
Hello, The developer mode plugin for safari stopped working a while ago. I am using a Mac. The symptom is, that when I point my browser to the url given by devmode in eclipse, safari simply comes up with the please download devmode plugin. Doesn't matter how many times I reinstall the plugin, it

Re: GWT 2.03 add Ssl conector Embebed Jetty

2010-06-16 Thread sergio vonknorring
Hi Stefan Yeah my GrandFather Born in Germany , But Now I Live in SouthAmerica Well about the connector Ssl, Finally i Just Decompiled and change the Source Of the class com.google.gwt.dev.shell.jetty.JettyLauncher Adding this lines of code SslSocketConnector sslConnector = new

UiBinder Code spliting

2010-06-16 Thread Andre Freller
Hi all, I'm trying to adopt the UiBinder approach but it appears to me that it is interfering with code spliting. The only post I could find about this is this one:

Re: GWT-RPC via JSONP?

2010-06-16 Thread Chris Lercher
That was fast - awesome post. It sounds feasible, and I'm considering to use it. Still wondering, if it would be significantly slower than plain GWT-RPC? The sending limit of 2kB Client-Server will be enough for at least most of my queries - I must still evaluate, if it's enough for absolutely all

Re: UiBinder Code spliting

2010-06-16 Thread Jaroslav Záruba
I'm currently only reading through, but it might be also of your interest: http://code.google.com/webtoolkit/articles/mvp-architecture-2.htmlhttp://code.google.com/webtoolkit/articles/mvp-architecture-2.html#code_splitting On Thu, Jun 17, 2010 at 12:06 AM, Andre Freller an...@freller.com.brwrote:

Re: History and server call.

2010-06-16 Thread Sky
Hey Tristan. I am somewhat familiar with MVP frameworks as I've worked on projects using MVP in IT but I've never dealt with place services/ managers, local caches or event buses. Caches and event buses I can at least imagine them cuz those words say a lot in themselves, but I have no idea what

Re: GWT and CSS

2010-06-16 Thread Sky
!important doesn't work to override font-family style. GWT's standard.css has font-family defined for body, table td, select, so I just wrote my own definition in my .css file for those same elements and used my own fonts. That was the only way to gain control again. Before I did that, the only

Re: parsing library for the client side

2010-06-16 Thread Sky
Man, that just sounds kickass! Infinitely better than writing your parser code twice in two different languages and any time you fix a bug or add functionality needing to do it twice. Man, if that works that smoothly you guys will be sooo happy! Isn't that just exciting! woot :) On Jun 16, 2:06 

Re: Pass a Java Object between to Opener Window

2010-06-16 Thread Sky
I'm not really sure... but you could try passing the static field directly into the native method onWindowClosing and then pass it into the callback method... Sorry I can't help more than that... :( On Jun 16, 12:21 pm, keyvez key...@gmail.com wrote: Hi, I am trying to pass a custom Java

Re: GWT-RPC via JSONP?

2010-06-16 Thread Sripathi Krishnan
I think a quick PoC should answer your questions, but here is what I think - Still wondering, if it would be significantly slower than plain GWT-RPC? No reason for it to be slower than regular RPC. Thinking about it, you should be able to use the regular RPC payload wrapped in a JSONP style

GWT or SmartGWT and Oracle - Stored procedures

2010-06-16 Thread kensai yanesha
Hello, I am new to GWT at all. My approach is to have an editable grid on the client side and one or more tables on the database side (Oracle in my case). Could someone post really working project with all files which supports all 4 standard operations (select, insert, update, delete)? In my case

gwt-gdata with contacts photo sample

2010-06-16 Thread james northrup
has anyone figured out the magic to use th gwt-data emulation libs or any gwt code of any sort to grab contact photos from the m8 feed? would love to have a look Jim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Sessions and GWT

2010-06-16 Thread fmod
Hi, I need to re-implement the classic login page. And I'm a bit lost with all the alternatives. The communication with the server is with RPC. Until now the flow I was using was: - User enters login and pass [client sends them in plain text to the server] - Server validates and generate a session

[gwt-contrib] Re: Fix for issue 516 (issue612802)

2010-06-16 Thread rjrjr
Can you make sure that contrib is cc'd in the issue settings? http://gwt-code-reviews.appspot.com/612802/diff/1/2 File user/src/com/google/gwt/user/client/ui/Panel.java (right): http://gwt-code-reviews.appspot.com/612802/diff/1/2#newcode231

[gwt-contrib] Re: Fix for issue 516 (issue612802)

2010-06-16 Thread markovuksanovic
http://gwt-code-reviews.appspot.com/612802/diff/1/2 File user/src/com/google/gwt/user/client/ui/Panel.java (right): http://gwt-code-reviews.appspot.com/612802/diff/1/2#newcode231 user/src/com/google/gwt/user/client/ui/Panel.java:231: private static native void eraseDom(Element element) /*-{ I

[gwt-contrib] Re: Fix for issue 516 (issue612802)

2010-06-16 Thread rjrjr
http://gwt-code-reviews.appspot.com/612802/diff/1/3 File user/test/com/google/gwt/user/client/ui/RootPanelTest.java (right): http://gwt-code-reviews.appspot.com/612802/diff/1/3#newcode51 user/test/com/google/gwt/user/client/ui/RootPanelTest.java:51: public void testClearWithDomErasure() { I

[gwt-contrib] Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, ... (issue625801)

2010-06-16 Thread amitmanjhi
Reviewers: Ray Ryan, Description: Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, and valuestore modules. Review by: rj...@google.com Please review this at http://gwt-code-reviews.appspot.com/625801/show Affected files: M

[gwt-contrib] Re: Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, ... (issue625801)

2010-06-16 Thread Ray Ryan
LGTM On Wed, Jun 16, 2010 at 10:57 AM, amitman...@google.com wrote: Reviewers: Ray Ryan, Description: Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, and valuestore modules. Review by: rj...@google.com Please review this at

[gwt-contrib] [google-web-toolkit] r8263 committed - Added a warning to the javadoc of each src file and to package.html in...

2010-06-16 Thread codesite-noreply
Revision: 8263 Author: amitman...@google.com Date: Wed Jun 16 08:14:54 2010 Log: Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, and valuestore modules. Review at http://gwt-code-reviews.appspot.com/625801 Review by: rj...@google.com

[gwt-contrib] Deleted HasPages, HasValueMap, and ValueListBox since they are not being used. (issue619802)

2010-06-16 Thread amitmanjhi
Reviewers: Ray Ryan, Description: Deleted HasPages, HasValueMap, and ValueListBox since they are not being used. Review by: rj...@google.com Please review this at http://gwt-code-reviews.appspot.com/619802/show Affected files: D bikeshed/src/com/google/gwt/user/client/ui/HasPages.java D

[gwt-contrib] Re: Deleted HasPages, HasValueMap, and ValueListBox since they are not being used. (issue619802)

2010-06-16 Thread rjrjr
LGTM http://gwt-code-reviews.appspot.com/619802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

  1   2   >