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

2010-06-16 Thread mmoossen
hi, Shedokan! does it matters? first the generated code is obfuscated so you wont find your class, ctor or var so easily. second the GWT compile optimizes a lot, so it could inline any use of your var and completely remove it. HTH Michael On Jun 16, 5:23 pm, Shedokan wrote: > Hello, > I am look

Re: Sessions and GWT

2010-06-16 Thread Frederic Conrotte
GWT and Spring Security work perfectly together. See this as a starter point: http://www.jroller.com/sjivan/entry/ajax_based_login_using_aceci http://java.dzone.com/articles/integrating-gwt-spring I advise you to use a classic HTML form for login, not a GWT based login dialog. On Jun 17, 7:19 am

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

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

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 me

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 wrote: > Hi, > > I am trying to pass a custom Java object to the anot

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 p

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 way

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 p

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.html On Thu, Jun 17, 2010 at 12:06 AM, Andre Freller wrote: > > Hi all, > > I

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

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: http://groups.google.com/group/google-web-toolkit/browse_frm/thread/cd3de21e9ea3ebcf/29cc98e4cb33d6dd?lnk=gst&q=runAsync+uibinder#2

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 SslSocketCo

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: 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 wrote: > Can you summarize what kind of new information

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 JSON

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 def

Re: GWT-RPC via JSONP?

2010-06-16 Thread Sripathi Krishnan
No, it won't. 1. GWT RPC exclusively uses POST. JSONP uses a

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 wrote: > Hi, > > would it be possible to somehow wrap a GWT-RPC in a JSONP call?

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 > Can you summarize what kind of new information this book gives in > comparison with previous books ? > > On 16 juin, 17:32, FKereki wrote: > > Hi! > > > > I'm quite proud to be able to announce I wrote 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 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 athttp://my.safaribook

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 J

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

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 t

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

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 wrote: > Hi Magnus, > > > So

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 wrote: > On Wed, Jun 16, 2010 at 6:47 PM, Magnus wrote: > > > Hi, > > > is the following possible: > > > 1) Having one ClickHandler for several Buttons. > > @UiHandler({"deleteButton", "deleteButton2"})

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 receive

Re: CompileReport Explicit Eclipse instructions

2010-06-16 Thread Dan Billings
Thanks so much! On Jun 16, 11:53 am, Chris Conroy wrote: > On Wed, Jun 16, 2010 at 12:39 PM, Dan Billings wrote: > > Hi- > > > I seem to be unable to figure out how to generate a GWT report in > > Eclipse. > > > Under "Debug Configurations" for "Web Application"It seems to me that > > it should

Re: using buttons - attaching Command objects?

2010-06-16 Thread Jaroslav Záruba
On Wed, Jun 16, 2010 at 6:47 PM, Magnus wrote: > 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 each Button. > > 3)

Re: CompileReport Explicit Eclipse instructions

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

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

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 Application"It 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 Dev

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 possibiliti

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 wrote: > Hello, > > I m

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: GWT applet problem

2010-06-16 Thread KenJi_getpowered
We simply add this code into a view String htm = "" + " " + " " + " " + ""; kind of ugly, but It works fine! On 16 juin, 13:50, Jaroslav Záru

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: 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=svn67&r=67&format=side&path=/trunk/war/Gae.html). kind regards, ingo On 16 Jun., 12:38, Thomas Broyer wrote: > On Jun 16, 9:03 am, ingo wrote: > > >

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 session

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 are

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 display

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 wrote: > Using the event bus may help > there.http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBe

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=p3&chs=250x100&chd=t:60,40&chl=Hello|World set this URL in Image in .setURL(ttp:// chart.apis.google.com/chart?cht=p3&chs=250x100&c

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 Date: Wed, Jun 16, 2010 at 6:33 AM Subject: GWT Print To: Google Web Toolkit Hi, I have been using the standard GWT printing m

Re: GWT applet problem

2010-06-16 Thread KenJi_getpowered
We simply add this code into a view String htm = "" + " " + " " + " " + ""; kind of ugly, but It works fine! On 16 juin, 13:50, Jaroslav Záru

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, 15 Here the time is in minute. Mike J. On Wed, Jun 16, 2010 at 9:44 AM, jhulford wrote: > The session interface has the method invalidate() in it to manually > force the session to expire. You can add so

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 cheers JZ On Wed, Jun 16, 2010 at 3:43 PM, Magnus wrote: > Hi, > > what does this mean: "Fixed in 2.1M1"? > > When will this fix be available to all? > > Thanks > Magnus > > On 11 Jun

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 Gren

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 wrote: > On 11 juin, 07:07, Magnus wrote: > > > Hello, > > > I found a strange problem under IE 7: > > > When I click on a menu item that opens a popup submenu, th

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 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' work, but I > need somet

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 into

Re: Updrage to 2.1M1 build a single permutation?

2010-06-16 Thread gcauchon
Anyone? On Jun 9, 11:01 am, gcauchon 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 I/O Twitter st

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: AsyncCallback - returning values to enclosing block

2010-06-16 Thread Magnus
Hi, thanks, the mechanism is still too new for me. Now, after debugging exactly what Thomas said (the return val was empty), I understand it. So one can never just fetch something from the server while being in a process where the server's result is needed. Good example! :-) Magnus On 16 Jun.,

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 exist

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

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 f

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 wrote: > On Jun 16, 9:38 am, PEZ wrote: > > > Hello, > > > I want to inform you all that I've "ported" PrettyTime (http:// > > ocpsoft.com/prettytime/) to GWT and packaged as

Re: AsyncCallback - returning values to enclosing block

2010-06-16 Thread Thomas Broyer
On Jun 16, 1:09 pm, Magnus 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 it that you don't unders

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

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

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/ doc/latest/De

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 s

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 S

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 wrote: > I said the easiest way to do it :) -- You received this mess

Re: Invoking GWT from outside the war

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

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

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 google-web-toolkit+unsubscr...@goog

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

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 = GWT.c

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 "inhe

Re: History and server call.

2010-06-16 Thread Thomas Broyer
On Jun 16, 3:52 am, Sky 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 have an object that is

Re: my app does not work in IE at all

2010-06-16 Thread Thomas Broyer
On Jun 16, 9:03 am, ingo 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 > dialog is hidden and the

Re: GWT client timestamps for humans

2010-06-16 Thread Thomas Broyer
On Jun 16, 9:38 am, PEZ 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 > > GWT-Relative-Time can

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

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 p

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 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, uwi_u wrote:

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 wrote: > I personally prefer to keep logic

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.com>wrote: > try adding a statement upload.setName(""); > after creation of object for FileUpload. > -- > Aditya > > > On Wed, Jun 16, 2010 at 1:24 PM, balachandra maddin

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

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

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 wrote: > What's PersonDTO? > > Magnus > > On 3 Jun., 22:36, Bruno Lopes wrote: > > Then on the server side for the LoginService > > > > public LoginResponse login(String username, String password) { > >

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();* * upl

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 FileUpl

Re: Problem with file upload

2010-06-16 Thread aditya sanas
try adding a statement upload.setName(""); after creation of object for FileUpload. -- Aditya On Wed, Jun 16, 2010 at 1:24 PM, balachandra maddina wrote: > 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 se

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

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

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: http://groups.google.com/group/google-web-toolkit/browse_frm/thread/58fd52f30d2277a0/b7e001cd47c5549b

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 (especiall

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 RootLayoutPanel,