How to modify the height and width of the button in ActionCell

2012-12-21 Thread tong123123
In ActionCell, a button is automatically generated and I want to change the button height and width, but I found that there is no addStyleName, setCellStyle or etc to write css to modify the generated button height and width, any method to do it? -- You received this message because you are

if change css, need restart the server?

2012-12-21 Thread tong123123
my css is placed in structure like public my.css client xxx.java shared xyz.java server zzz.java I try to modify the css and then close the development mode and restart it, but the css effect is still not seen. Everytime I change css, I need restart server, is this a easier way to

Re: How to modify the height and width of the button in ActionCell

2012-12-21 Thread tong123123
using Column.setCellStyleNames(xxx); I can modify the button size by .xxx button{ height: 10px; width: 20px; } but I still cannot modify the size of the font in the button, any method to change the font size of the button? I try .xxx{ font-size:10px; } or .xxx button{

Re: Hit detection for GWT canvas - which strategy for drawings?

2012-12-21 Thread Philippe Lhoste
On 20/12/2012 15:15, Dean S. Jones wrote: Of course, as Umit says, there are other FREE Frameworks that have figured it out, like Lienzo, that take care of it all for you, http://www.emitrom.com/lienzo Hey, I didn't know this one! Looks cool. Thanks for sharing. (Even if I discovered you are

Re: how to set the width of each widget in horizontalpanel?

2012-12-21 Thread Thomas Broyer
setCellWidthhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/CellPanel.html#setCellWidth(com.google.gwt.user.client.ui.Widget, java.lang.String) ? On Friday, December 21, 2012 9:31:14 AM UTC+1, tong123123 wrote: as shown in the figure, if I add a

Re: Clearing Browser cache for upadated deployments

2012-12-21 Thread Marco
http://seewah.blogspot.de/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/u2JGxvMGRgwJ. To

Re: client-side validation with request factory

2012-12-21 Thread kim young ill
thanx, is there a list somewhere about (un)supported annotations ? i just figured out @size(min=, max=) doesnt seem to work either, if at the end u have to mix to much custom-validation code with validation-api, i'd better not using it thanx On Thu, Dec 20, 2012 at 6:29 PM,

Re: using autobeans in a gwt-rpc call

2012-12-21 Thread Cenk Oguz
Requestfactory is more for CRUD style operations. Don't think it makes sense in our app as most operations are rpc in nature. Will probably go with using regular POJOs in this case. Thx! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: if change css, need restart the server?

2012-12-21 Thread RyanZA
It could be something with your setup. Using normal GWT dev mode with firefox, I can change my compiled GWT .css (css resource), hit F5 in the browser, and I see the css changes right away. If you are using css in your WAR folder, your browser may be caching it. Try hit shift+f5 On Friday,

Re: Error processing @WithTokenizers, cannot find type

2012-12-21 Thread RyanZA
It appears to depend on the compiled GWT code to find the correct class - but it runs before the compilation step. So new classes don't appear until it successfully compiles. eg. You create a new .java class and add it to the tokenizer. Try to compile and it will fail. Remove the annotation

Re: CellTable Filtering on client-side Based On ListBox Selection

2012-12-21 Thread Alex opn
What's the problem or did I just miss it between the code? :) Am Donnerstag, 20. Dezember 2012 17:09:12 UTC+1 schrieb VB: I have a CellTable with 3 columns, and 1 ListBox that is supposed to provide a drop down of possible filter values. i want to drive the filtering of the celltable rows,

Re: using autobeans in a gwt-rpc call

2012-12-21 Thread Xi
gwt-rpc call needs concrete class type to do the serialization. So the generated autobean proxy won' t be serialized. If you do want to send your autobean object to server side, you need to use com.google.gwt.http.client.RequestBuilder (client side) to send the encoded string to server side,

Re: Mehrbenutzerfähigkeit der Serverseite / Multiuserability serverside

2012-12-21 Thread Lukasz Plotnicki
Hi Sascha, this depends on your server-side code and architecture. You need to provide more information to give us an opportunity to help you. What should your application do? In general, the server-side of an GWT app behave accordingly to the normal session-pattern (as the GWT-RPC services

Re: if change css, need restart the server?

2012-12-21 Thread Steve
I've been experiencing a similar problem in both FF and Chrome. The problem has always been there with Chrome, but FF started a month or two ago. In FF I've got the Web Developer Toolbar extension installed. Right click on webpage, goto the web developer menu, CSS menu, then reload CSS.

Re: Clearing Browser cache for upadated deployments

2012-12-21 Thread Thomas Broyer
On Friday, December 21, 2012 12:03:30 PM UTC+1, Marco wrote: http://seewah.blogspot.de/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html See also https://developers.google.com/web-toolkit/doc/latest/DevGuideCompilingAndDebugging#perfect_caching (which is also linked from

SASS Compiler

2012-12-21 Thread Joonas Lehtinen
Vaadin 7.0.0b11 released yesterday includes a GWT linker for the built in SASS compiler. This means that you can use SCSS in addition to CSS in your GWT projects - just as you would be using CSSResource. Take a look at howto blog post:

Re: using autobeans in a gwt-rpc call

2012-12-21 Thread Thomas Broyer
On Friday, December 21, 2012 1:17:08 PM UTC+1, Cenk Oguz wrote: Requestfactory is more for CRUD style operations. That just plain wrong. The early drafts of RF were indeed CRUD-oriented, but the released versions never were, particularly with ValueProxy-s added in 2.1.1 (something like a

Re: SASS Compiler

2012-12-21 Thread Thomas Broyer
On Friday, December 21, 2012 4:56:24 PM UTC+1, Joonas Lehtinen wrote: Vaadin 7.0.0b11 released yesterday includes a GWT linker for the built in SASS compiler. This means that you can use SCSS in addition to CSS in your GWT projects - just as you would be using CSSResource. Take a look at

Re: if change css, need restart the server?

2012-12-21 Thread Joshua Godi
Sometimes two refreshes will pick up CSS changes for me. But a word of advice, convert your CSS to use ClientBundle, that way it GWT will make it available on compile, so just a simple refresh will fix it. There are many tutorials on how to use ClientBundle properly. On Friday, December 21,

RequestFactory, ValueProxy support for Email, Link, User

2012-12-21 Thread Avanish Raju
Hi GWT team, I've just started migrating from GWT-RPC to RequestFactory, and noticed that even when using ValueProxy to wrap the datastore objects, they aren't supported. For e.g, I created a UserProxy and a LinkProxy: import com.google.appengine.api.users.User; import

Best way to use webfonts in GWT?

2012-12-21 Thread RyanZA
The GWT CSS (clean.css, chrome.css, etc) all have a ton of the following: .gwt-TextBox { font-family: Arial Unicode MS,Arial,sans-serif; } What is the best way to overwrite these strange classes with a webfront family, so that it will conflict as little as possible with future GWT

Re: Best way to use webfonts in GWT?

2012-12-21 Thread Jens
I have done the 2nd option. If you want to keep all the little images of the clean theme you should inherit CleanResources.gwt.xml instead of Clean.gwt.xml so that the images will be copied to your war directory but no CSS will be included in your host html page. After that you only have to

jsni - overlay types - js arrays Java API

2012-12-21 Thread Sebastián Gurin
Hi all. I'm porting some javascript libraries to GWT and in this thread I hope I can share and learn best ways of accessing Js native arrays from java language. I try to add the minimun overhead so I'm using GWT's JsArray, JsArrayMixed, JsArrayString, etc for referencing arrays whenever I

Re: server support

2012-12-21 Thread El Mentecato Mayor
GWT is mostly a client-side library, so any server you want. The only restrictions depend on the client-server communication method you want to use. GWT comes with basically three ways of doing that; 1) RequestBuilder, which you can use to transfer any format (text, xml, JSON) or style

Re: GWT Cells - Unnecessary headache?

2012-12-21 Thread Stephen Haberman
I have been using the cell widgets for a while now and am having trouble understanding their purpose. Well, as you say, the purpose is performance. Thoughts? Personally I avoid cell-based widgets until I really, really need them, and then push back on putting anything in the cells except

Re: SASS Compiler

2012-12-21 Thread Stephen Haberman
This is more a reply to the linked blog entry but I'll post it here: I don't think supporting SASS in ClientBundle requires any change in GWT proper; you only need to use something other than CssResource (e.g. a SassResource interface) with its own ResourceGenerator (linked to the

Re: SASS Compiler

2012-12-21 Thread Jens
Huh, that sounds pretty cool. I didn't realize adding custom resources to ClientBundle would be that easy. Thanks for the insight. As an example: http://retina.teknonsys.com/ -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: SASS Compiler

2012-12-21 Thread Thomas Broyer
Well, that's already what I proposed a while back for plugging Closure Stylesheets and thus bring CSS3 support to GWT. Le 21 déc. 2012 21:33, Stephen Haberman stephen.haber...@gmail.com a écrit : This is more a reply to the linked blog entry but I'll post it here: I don't think supporting

Re: SASS Compiler

2012-12-21 Thread Stephen Haberman
As an example: http://retina.teknonsys.com/ Also cool--thanks! - Stephen -- 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, send

image manipulation in core GWT

2012-12-21 Thread Aldin Habibović
Hi guys, Is there widget in GWT for achieving slide show like this one: slide showhttp://www.nitinh.com/static/SlideShow/mootools.html Any ideas how to implementing this slide show? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

gwt show value of texbox

2012-12-21 Thread vector
i need to show the value inserted into texbox i create this code public void onModuleLoad() { TextBox textValue = new TextBox(); textValue.getSelectedText(); final String index = textValue.getValue().toString(); Button button = new Button(button, new

Re: Still problems with com.google.gwt.core.client.GWTBridge

2012-12-21 Thread Ara Yapejian
I'm also seeing this, has their been any updates or anyone know of a fix? This happened trying to upgrade my jars to gwt 2.5 On Monday, November 5, 2012 1:15:43 PM UTC-5, daniel9x wrote: Hey Bauna, How exactly would I implement that jar to my project in Eclipse? I try adding it to the

Re: Protocol Buffers for GWT: Issue 2649

2012-12-21 Thread Darren Robinson
I just starred both issues. I really hope to see support for this issue also. I would much prefer to use Protocol Buffers over JSON or XML for web applications. Protocol Buffers are so much more elegant. -- You received this message because you are subscribed to the Google Groups Google Web

Re: gwt show value of texbox

2012-12-21 Thread Goktug Gokdogan
You should read the value from TextBox after button is clicked: public void onModuleLoad() { final TextBox textValue = new TextBox(); Button button = new Button(button, new ClickHandler() { public void onClick(ClickEvent event) { Window.alert(You

Re: Protocol Buffers for GWT: Issue 2649

2012-12-21 Thread Goktug Gokdogan
GWT's built-in library space is already bloated and getting harder to maintain. Inside GWT, we need to do less but do better. And good thing is, a lot of stuff doesn't need to be baked in; like the protocol buffers; it is a valuable feature but I personally don't see GWT having it as a first class

Re: image manipulation in core GWT

2012-12-21 Thread Goktug Gokdogan
You can achieve this and similar transitions with just CSS3. Take a look at http://css3.bradshawenterprises.com/cfimg/ On Fri, Dec 21, 2012 at 1:48 PM, Aldin Habibović habibovic.al...@gmail.comwrote: Hi guys, Is there widget in GWT for achieving slide show like this one: slide

Re: Still problems with com.google.gwt.core.client.GWTBridge

2012-12-21 Thread Thomas Broyer
On Friday, December 21, 2012 6:40:24 PM UTC+1, Ara Yapejian wrote: I'm also seeing this, has their been any updates or anyone know of a fix? Please refer to the issue linked in the first post in this thread. This happened trying to upgrade my jars to gwt 2.5 We'll release 2.5.1 soon

Re: jsni - overlay types - js arrays Java API

2012-12-21 Thread Thomas Broyer
On Friday, December 21, 2012 8:39:34 PM UTC+1, Sebastián Gurin wrote: Hi all. I'm porting some javascript libraries to GWT and in this thread I hope I can share and learn best ways of accessing Js native arrays from java language. I try to add the minimun overhead so I'm using GWT's

Re: Protocol Buffers for GWT: Issue 2649

2012-12-21 Thread Thomas Broyer
On Saturday, December 22, 2012 2:50:00 AM UTC+1, Goktug Gokdogan wrote: GWT's built-in library space is already bloated and getting harder to maintain. Inside GWT, we need to do less but do better. And good thing is, a lot of stuff doesn't need to be baked in; like the protocol buffers;

Re: image manipulation in core GWT

2012-12-21 Thread Stevko
Have you seen this simple slideshow from IO2011 written entirely in html/css http://html5slides.googlecode.com/svn/trunk/template/index.html#1 Write out html using GWT and letting CSS do the heavy lifting. On Friday, 21 December 2012 13:48:16 UTC-8, Aldin wrote: Hi guys, Is there widget in