New blog post: Data Binding in GWT

2010-03-06 Thread Trung
I've written a new blog post regarding Data Binding in GWT. http://www.gdevelop.com/w/blog/2010/03/06/data-binding-in-gwt/ -- 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: How to style HorizontalPanel

2010-03-06 Thread Chris Lercher
Hi, I don't immediately know a solution, just an explanation: I added cellspacing=0 and cellpadding=0 to your pure HTML layout's table element, and I get the same effect. The problem is, that the text input element gets a width of 100% + 3 pixels border (+ maybe additionally some padding). This

Use of com.google.gwt.jsonp.client.JsonpRequestBuilde and compiler error message

2010-03-06 Thread a...@syd
Hi, all, I have tried to use the said class in my GWT project. When I tried to compile the code, I got this error message: No source code is available for type com.google.gwt.jsonp.client.JsonpRequestBuilder; did you forget to inherit a required module? It is not obvious from the doc if I need

Re: Cookie

2010-03-06 Thread Fran
It work!! Thanks Chad! On 5 mar, 01:46, Chad chad...@gmail.com wrote: Fran, Try putting an L after at least one of the numbers in parentheses: nowLong = nowLong + (1000L * 60 * 60 * 24 * 30); // 30 dias HTH, Chad On Mar 4, 4:25 pm, Fran fra...@gmail.com wrote: I cant write a cookie

Need DialogBox with close icon in caption bar

2010-03-06 Thread dhoffer
Could someone send me a code example of how to add a close icon/button to the GWT dialog box? Or if there is a open source library that does this that would be fine too. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Need DialogBox with close icon in caption bar

2010-03-06 Thread dhoffer
I should have mentioned that I need this for GWT 2.0, not sure if that's any different. (I notice this question posted on the web various places but most/all have user comments saying it didn't work, etc. Hopefully someone has some code known to work with gwt 2.0.) Thanks! On Mar 6, 7:10 am,

Re: Inconsistant Debug-mode URL Causing Considerable Grief

2010-03-06 Thread Jeff Chimene
Hi: If you want the initial URL to contain a hash mark, such a value will have to be in the initial url. Yes, you have to type it in. Won't your users also have to enter that query parameter? Subsequent calls to the server from the client rely on the GWT.getModuleBaseUrl() method; which returns

Re: (Almost) Standards mode / Quirks mode

2010-03-06 Thread itsnotvalid
So which mode should we use? In view of future standards, HTML 5 would definitely standards mode (http://diveintohtml5.org/semantics.html) I am guessing that they are going to be all standards mode, however it seems that there is no way to detect which mode to use given just a widget. May be the

Clicking a GWT button from javascript?

2010-03-06 Thread ChristianP
Hi GWT'ers, I have a website which uses both GWT and regular javascript. In one case, I would like some javascript code to click a GWT button on the same page. That works pretty well in Safari, but not in Chrome. I'm using getElementById(...).click(); for clicking the button, but nothing happens

Re: How to style HorizontalPanel

2010-03-06 Thread ailinykh
Thank you, Chris! It makes sense. Honestly, I don't see any reason to use Gwt panels in UiBinder xml file. I put there regular html, added some padding to td. Now everything looks good. By the way, what is stylePrimaryName how it differs from styleName? Andrey -- You received this message

Re: How to style HorizontalPanel

2010-03-06 Thread Chris Lercher
On Mar 6, 6:07 pm, ailinykh ailin...@gmail.com wrote: Thank you, Chris! It makes sense. Honestly, I don't see any reason to use Gwt panels in UiBinder xml file. I put there regular html, added some padding to td. Now everything looks good. Oh yeah, that works, too :-) By the way, what is

Re: working with GWT and PHP in the development mode

2010-03-06 Thread mibtar
maybe you should just use firefox? are you using eclipse or netbeans? gwt php in eclipse: suppose your apache's webroot is c:\www and you created your project in c:\www\apps\ and your project name is mytest so your project is gonna have these directories: c:\www\apps\mytest\src

Re: Image getAltText() and setAltText()

2010-03-06 Thread PKolenic
I found it a bit of a hassle also not having those methods. However I do much of my work with UiBinding, so I just used an img tag and on the code side an ImageElement and was able to set the alt text. On Mar 5, 1:54 pm, Thad thad.humphr...@gmail.com wrote: These methods were announced with

Help! Using external Javascript file

2010-03-06 Thread Amey Sakhadeo
Hi, Ive got a JS file (test.js) located on a remote server (which not the same as the server where my app runs). This test.js contains a variable 'foo' that I need to access through GWT. For this, I first made an entry into my gwt.xml file which is something like this: script

help required on MenuBar

2010-03-06 Thread zbr
hi, I am trying to use a MenuBar with images on the left for the different menu Items. I looked at the doc concerning the use of ClientBundle etc, with no success at all! any help ? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Creating jar for gwt-canvas trunk version

2010-03-06 Thread amich...@gmail.com
Hello, I was wondering if you could tell me the procedure for creating a jar for gwt-canvas trunk version. Amir -- 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

Re: Reg:problem on reload

2010-03-06 Thread Isaac Truett
Raj, Because you're sending a new HTTP request for the current URL and re-parsing everything. What are you expecting to happen when you hit the refresh button? - Isaac On Fri, Mar 5, 2010 at 4:17 AM, raj raj.cowbo...@gmail.com wrote: hi Whenever i refresh the GWT

Best GWT canvas library for linear gradients?

2010-03-06 Thread amich...@gmail.com
Hello, Which GWT canvas library is best for linear gradients across as many browsers as possible? Amir -- 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

GWT Compiler extension points?

2010-03-06 Thread cretz
Are there any extension points in the GWT compiler? I don't need a custom code generator, but rather I want to add an extension point in GenerateJavaASTor some form of custom visitor on the AST. I was just curious if anyone knew if this was present before I use some AOP or javassist to add my own.

JsonpRequestBuilder and inherits?

2010-03-06 Thread a...@syd
Hi, all, When I tried to gwt compile my code, I got: Line 33: No source code is available for type com.google.gwt.jsonp.client.JsonpRequestBuilder; did you forget to inherit a required module? Do I need to add a line to the gwt.xml file? If so, what would that be? Cheers -- You received

Re: help required on MenuBar

2010-03-06 Thread mibtar
create an interface: public interface Resource extends ClientBundle{ @Source(theimage.png) ImageResource theimage(); } place the theimage.png file in the same package as the interface. to use the interface: Resource resource = GWT.create(Resource.class); //make the file menu MenuBar

GWT Modules Portal

2010-03-06 Thread Jrad
Howdy all, Consider a scenario in which we have some GWT apps (each contain some modules) on the same host. We are going to develop a portal-like (= concept of a UI viewpoint to our GWT modules NOT an Enterprise Portal) app on the same host that can gather all our GWT apps under the same theme and

FileUpload widget trouble

2010-03-06 Thread Victor Llorens
Hi all, I have a FileUpload and a Button in a GridPanel. Once Button is clicked I submit the form. Analyzing HTTP Traffic, I can see that Post data is void... no file is sent. Does some body know what could be the reason? I attach some info: POST /TFC_Server_unstable/AppReceiver HTTP/1.1

Creating nice forms using gwt

2010-03-06 Thread Vik
Hie I want to create a form in gwt with exact look and feel as http://www.sakshum.com/ui/page/DonorRegister.jsp Is it possible?: If yes please guide. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com -- You received this message because you are subscribed to the Google

Re: Creating nice forms using gwt

2010-03-06 Thread Gal Dolber
Take a look at this https://addons.mozilla.org/es-ES/firefox/addon/1843 and this http://www.google.com.ar/search?sourceid=chromeie=UTF-8q=css plus 20 minutes and its done 2010/3/7 Vik vik@gmail.com Hie I want to create a form in gwt with exact look and feel as

يريد/تريد خليل بولو الدردشة معك

2010-03-06 Thread خليل بولو
--- هناك رغبة من خليل بولو في البقاء على اتصال بشكل أفضل باستخدام أبرع منتجات Google الجديدة. فإذا كان لديك Gmail أو برنامج Google Talk من قبل، فانتقل إلى الرابط:

Re: Creating nice forms using gwt

2010-03-06 Thread Vik
Hie I know about using css and i have firebug with me. But how to create a equivalent layout in gwt using its components? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Sun, Mar 7, 2010 at 11:49 AM, Gal Dolber gal.dol...@gmail.com wrote: Take a look at this

[gwt-contrib] Add support for creating Grid elements using UiBinder.

2010-03-06 Thread Marko Vuksanovic
I have created a patch that enables user to create Grid and its child elements using UiBinder (issue 4705 - http://code.google.com/p/google-web-toolkit/issues/detail?id=4705). Something like... I have also submitted the patch for public code review - http://gwt-code-reviews.appspot.com/154810. So

[gwt-contrib] Re: Comment on LayoutDesign in google-web-toolkit

2010-03-06 Thread codesite-noreply
Comment by andimullaraj: Hi, this snipet public void onModuleLoad() { RootLayoutPanel rp = RootLayoutPanel.get(); TextBox tb = new TextBox(); rp.add(tb); rp.setWidgetTopHeight(tb, 0.0, Unit.PX, 50.0, Unit.PX);