Re: Cannot parse value: res.xxx as type ImageResource

2010-06-27 Thread giannisdag
Thank you for your reply, but I can't understand what do you suggest. If I remove the code in uibinder that calls g:Image, then my code works fine, I don' t have to change it the way you are showing, if I get it right. To be more presice, I will paste the entire code of my ui.xml !DOCTYPE

Re: Cannot parse value: res.xxx as type ImageResource

2010-06-27 Thread giannisdag
Also, if I write: div id=langMenug:Image ui:field='myImage' /g:Image /div and then access it programmatically: @UiField Image myImage; public helloWorld() { initWidget(uiBinder.createAndBindUi(this));

Re: How to embed GWT widget in any webapplication

2010-06-27 Thread Jaroslav Záruba
I don't understand. You can write/output the markup script.../script with whatever technology you choose to. Once you have your module ready and compiled place the script-element into any HTML-page. The modules are written in Java though. On Sun, Jun 27, 2010 at 7:03 AM, nalina nandini

eclipse + pyjamas + dev mode

2010-06-27 Thread mariyan nenchev
Hi, if there are people who have experience with pythonpyjamas, could you please tell me is it possible to use hosted/dev mode with pyjamas? And How server side integration is done in pyjamas (RPC?)? Regards. -- You received this message because you are subscribed to the Google Groups Google

Re: Events from SelectionCell in CellTable - GWT 2.1 M1

2010-06-27 Thread saklig
Which class has the addValueUpdateHandler ? On Jun 25, 4:08 pm, Paul Stockley pstockl...@gmail.com wrote: Can't you just add a ValueUpdater handler to see when the selection changes? On Jun 25, 4:27 am, saklig d3andr...@gmail.com wrote: After a couple of tries Ive managed to write

Re: Flash of Unstyled Content

2010-06-27 Thread Kris
Cheers Thomas. Yeah, I appreciate I might be making a rod for my back here. If ClientBundle were the only GWT feature I were planning to use, and there was another spriting solution with proper i18n support, I might well take another route. As it is, I'll think I'll cautiously look into writing

how to use GIN ?

2010-06-27 Thread yves
Hi Everybody, I've read the the official tutorial at http://code.google.com/p/google-gin/wiki/GinTutorial, but I still doesn't understand how to use GIN (as it is mainly based on Guice that I don't know) and how it could help me :-( Sorry for the tutorial writer :-) I'm currently developping

Re: Cannot parse value: res.xxx as type ImageResource

2010-06-27 Thread Thomas Broyer
On 27 juin, 08:15, giannisdag pascoua...@gmail.com wrote: Also, if I write: div id=langMenug:Image ui:field='myImage' /g:Image /div and then access it programmatically:         @UiField Image myImage;         public helloWorld() {                

Re: call average inside eval()

2010-06-27 Thread Thomas Broyer
On 27 juin, 00:12, bhomass bhom...@gmail.com wrote: I am using a native method to call eval() on a valid javascript statement.         private String[] evalscript(String javascript, String format){                 return evalJavascript(javascript, format).toString().split(,);         }

Re: how to control the pixel sizes of a Grid?

2010-06-27 Thread andreas
Hey, maybe this can help you: http://groups.google.com/group/google-web-toolkit/msg/f59a0c87d0cf300e On 27 Jun., 07:23, Magnus alpineblas...@googlemail.com wrote: Hi, I need a Grid with the following simple requirements: - 10 * 10 cells - inner 8*8 cells (form a chess board):   rows

Re: Error Using My Own Widgets in UIBinder

2010-06-27 Thread Thomas Broyer
On 27 juin, 00:16, spierce7 spier...@gmail.com wrote: Hey, I'm trying to convert my layout to UI Binder because my current layout is a bit laggy. It's giving me an error though: [ERROR] [scheduler] In g:DockLayoutPanel unit='EM', g:north must contain a widget, but found my:WeeklyHeader I

How to simplify your GwtEvent classes and have fun doing it!

2010-06-27 Thread Paul Schwarz
When using the EventBus, for each event type in your system you will create a Class (a GwtEvent) and an Interface (the corresponding EventHandler). It is a bit of a nuisance maintaining two java files for each event. So I propose to simplify it by having one abstract event class and then ONLY ONE

Re: Serialization Problem

2010-06-27 Thread Ahmed Shoeib
hi Sebastian Rothbucher , i founded the problem in returning arrayList of object from Member Class i replaced this with Array one dimension of Member Class ans this problem solved do you have any comment about why there is not available to return arrayList thanks for reply .. best

Re: Events from SelectionCell in CellTable - GWT 2.1 M1

2010-06-27 Thread Paul Stockley
use the setFieldUpdater(fieldUpdater) on the Column class On Jun 27, 6:28 am, saklig d3andr...@gmail.com wrote: Which class has the addValueUpdateHandler ? On Jun 25, 4:08 pm, Paul Stockley pstockl...@gmail.com wrote: Can't you just add a ValueUpdater handler to see when the selection

Re: Error Using My Own Widgets in UIBinder

2010-06-27 Thread spierce7
Still finding a similar error: [ERROR] In g:DockLayoutPanel unit='EM', g:north must contain a widget, but found my:WeeklyHeader ui:field='header' I am allowed to use my own widgets right? Again, not really sure what to do... Everything looks right... Am I supposed to have some code in the

Re: how to deploy GWT application in Apache + mod_jk

2010-06-27 Thread roji
Hi mihaido. Your question is not a GWT question, but an Apache/mod_jk/tomcat integration one, you should read up on them (you can start here http://tomcat.apache.org/connectors-doc/generic_howto/quick.html). Here are a few points... mod_jk, through its config directive JkMount, makes Apache

Re: How to simplify your GwtEvent classes and have fun doing it!

2010-06-27 Thread Thomas Broyer
A few comments On 27 juin, 13:53, Paul Schwarz paulsschw...@gmail.com wrote: When using the EventBus, for each event type in your system you will create a Class (a GwtEvent) and an Interface (the corresponding EventHandler). It is a bit of a nuisance maintaining two java files for each

Re: Cannot parse value: res.xxx as type ImageResource

2010-06-27 Thread giannisdag
Could it simply be that in the code originally posted you're referencing res.bedroom instead of res.bathroom? (as a side note, shouldn't your @Source reference design/images/ photos/bedroom.jpg, i.e. without the xel/villaView1/client/ part?) Thank you, for this observation, I did a lot of

Re: Cannot parse value: res.xxx as type ImageResource

2010-06-27 Thread giannisdag
Also I checked this, it isn' t a problem, I just use the automated method of eclipse, and eclipse adds the absolute path to clientbundle (as a side note, shouldn't your @Source reference design/images/ photos/bedroom.jpg, i.e. without the xel/villaView1/client/ part?) -- You received this

Re: how to use GIN ?

2010-06-27 Thread olivier nouguier
hi Google to gwt-presenter HIH On Sun, Jun 27, 2010 at 12:51 PM, yves yves.ko...@gmail.com wrote: Hi Everybody, I've read the the official tutorial at http://code.google.com/p/google-gin/wiki/GinTutorial, but I still doesn't understand how to use GIN (as it is mainly based on Guice that

Re: how to use GIN ?

2010-06-27 Thread yves
Olivier, Thanks for the link. If I try to summarize my problem : Which are the conventions that are implicitly used by GIN to bind classes ? I've already seen gwt-presenter, but it didn't helped me to understand how to transform my code to such code : public class AppModule extends

scrollable area in SplitLayoutPanel

2010-06-27 Thread Vik
Hie I am using SplitLayoutPanel and the content area i want to be scrollable. Right now it comes of fixed width. Any idea on what property to set to make it scrollable when there are more contents then this area? Please advise Thankx and Regards Vik Founder www.sakshum.com

Re: problem running StockWatcherTest if the project is created directly from Eclipse without ant build?

2010-06-27 Thread JosephLi
I didn't find a solution to my problem. But after looking more into the tutorial and the MVP pattern that we should be using with GWT helps building plain Junit test cases, I don't think I be needing GWTTestCase in near future. Joseph On Jun 26, 1:44 pm, JosephLi joseph.l...@gmail.com wrote: I

Re: Use multiple html host pages

2010-06-27 Thread Luis Daniel Mesa Velasquez
http://codeherding.blogspot.com/ Create a new module for the other page and transfer state to it... Forward or redirect. On Jun 25, 5:15 am, Ho Jimmy jimmyyl...@gmail.com wrote: Hi, I would like to use multiple host pages for creating a GWT application. Since it is not quite possible to use

Re: A design pattern for widgets in the MVP - GIN - UiBinder paradigm.

2010-06-27 Thread felipenasc
You could take a look at gwt-platform ( http://code.google.com/p/gwt-platform/ ), a complete GWT MVP Framework. It does support a lot of features required by real applications (not Helloworld ones). Cheers Felipenasc On Jun 25, 3:16 am, drthink drgenejo...@gmail.com wrote: Large scale

GWT Incubator updates for deprecated APIs?

2010-06-27 Thread Jeroen Janssen
Hi, I have just started using the GWT incubator jarfile for the GWTCanvas widget and I noticed that there seem to be a couple of (DocumentRootImpl) deprecated calls in the GlassPanelImpl.java. It seems there are already (several) issues on the bugtracking for this problem. I was wondering if

gwt-spring-starter-app up to date?

2010-06-27 Thread cri
I just took a stab at using the gwt-spring-starter-app. The instructions for using it don't seem to create an app (in Eclipse) that looks like an app created by using a Google Web Application Project. For example, an app created by using gwt-spring-starter- app can't be invoked in development mode

GWT Popup is not centered

2010-06-27 Thread Ricardo.M
Hi, I use gwt popup to show some messages, but it is not displayed in the center of the display event if i call popup.center(). Actually it is not centered only the first time, if i close it and open it again every thing is ok, but not the first time. How to fix that? I tried using

Re: multiple pages

2010-06-27 Thread Ahmed Shoeib
i want to know how to manage pages navigation in other word how to load another page with GWT Component and remove the current component and support back next On Jun 20, 6:39 pm, Stefan Bachert stefanbach...@yahoo.de wrote: Hi Ahmed, with GWT you build a rich internet application. The concept

Re: how to use GIN ?

2010-06-27 Thread Thomas Broyer
On 27 juin, 19:39, yves yves.ko...@gmail.com wrote: Olivier, Thanks for the link. If I try to summarize my problem : Which are the conventions that are implicitly used by GIN to bind classes ? I've already seen gwt-presenter, but it didn't helped me to understand how to transform my

Re: Cannot parse value: res.xxx as type ImageResource

2010-06-27 Thread Thomas Broyer
On 27 juin, 00:07, giannisdag pascoua...@gmail.com wrote: Hi I am trying to use uibinder to add an image in my web page using clientbundle. Following the paradigm Using an external resource of the documentation Declarative Layout with UiBinder, I wrote the following:         ui:with

Re: Creating tr / td's with UiBinder, how?

2010-06-27 Thread Andrew Hughes
I don't want a div - as you point out this won't work... I would like to create a tr from UiBinder (with no div wrapping it). Cheers. On Sat, Jun 26, 2010 at 7:09 PM, Thomas Broyer t.bro...@gmail.com wrote: On 26 juin, 11:14, Andrew Hughes ahhug...@gmail.com wrote: What do you mean by

Re: Creating tr / td's with UiBinder, how?

2010-06-27 Thread Thomas Broyer
On 28 juin, 01:59, Andrew Hughes ahhug...@gmail.com wrote: I don't want a div - as you point out this won't work... I would like to create a tr from UiBinder (with no div wrapping it). But UiBinder internally uses a div to parse the HTML (see UiBinderUtil.fromHtml) Also, I didn't notice

Re: TabPanel - 100% height for client widget?

2010-06-27 Thread Nian Zhang
I think you need call pnl .setHeight(Window.getClientHeight()) method. -- 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

CSS Localization

2010-06-27 Thread Dan
Is it possible to localize the css in a CssResource so that during the translation phase of product development, css tweaks can be made to adjust for language specific spacing and formatting issues? if not, what's the current best practice to work around these issues? -- You received this

GWT Gmail API

2010-06-27 Thread charlie
Googling for this yields a lot of results that are not applicable for what I'm searching for. Is there a GWT Gmail API so that given an email and password, I can see a list of their contacts ? -- charlie/ -- You received this message because you are subscribed to the Google Groups Google