Re: For UIBinder,how to react event when creating UI based on HTML?

2011-04-08 Thread Gal Dolber
The difference between Widget and UiObject is that a Widget can handle events and a UiObject can't On Fri, Apr 8, 2011 at 4:28 AM, Alex Luya alexander.l...@gmail.com wrote: sinkEvents() and onBrowserEvent() only work for Widget,so How can I get UIObject react event? -- You received this

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-08 Thread Gal Dolber
why would you want to render 10 rows? :) On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 stephan.beu...@googlemail.comwrote: @Sky Nice idea to include resizing on mouse dragging. Any implementation available? I checked out the ScrollTable from incubator, but it's too slow (rendering with

Re: TextBox KeyPressEvent doesn't function in Firefox 4

2011-04-07 Thread Gal Dolber
Try with KeyDown/KeyUp instead On Thu, Apr 7, 2011 at 10:38 AM, Gabriel Volpe volpegabr...@gmail.comwrote: Eg. txtPwd.addKeyPressHandler(new KeyPressHandler() { @Override public void onKeyPress(KeyPressEvent event) { if (event.getCharCode() == KeyCodes.KEY_ENTER) { btnLogin.click(); }

Re: Post about creating a Facebook app with Google App Engine and Google Web Toolkit in Java

2011-04-04 Thread Gal Dolber
Nice post, thanks! On Mon, Apr 4, 2011 at 4:18 PM, erezmazor erezma...@gmail.com wrote: Hi, I wrote a post about a how to write an introductory Facebook app with Google App Engine and Google Web Toolkit using Eclipse with the Google plugin. You can find it in my blog:

Re: Testing performance: widgets vs elements+bubble, widgets win?

2011-04-03 Thread Gal Dolber
I made the tests on macos, I will try a micro benchmark. Thanks! On Sun, Apr 3, 2011 at 6:12 AM, Thomas Broyer t.bro...@gmail.com wrote: Have a look at the commit log for http://code.google.com/p/google-web-toolkit/source/detail?r=9925 Also, System.currentTimeMillis() (which uses (new

Re: Howto: Optimising RPC

2011-03-30 Thread Gal Dolber
Another two optimizations on the compiler (the first one affects gwt-rpc): -XdisableClassMetadata EXPERIMENTAL: Disables some java.lang.Class methods (e.g. getName()) -XdisableCastChecking EXPERIMENTAL: Disables run-time checking of cast operations On Tue, Mar 29, 2011 at 12:53 PM,

Re: Alguien de Argentina?

2011-03-30 Thread Gal Dolber
Hola Gabriel, ahi te escribi por mail. Tan pocos argentinos en la lista? On Wed, Mar 30, 2011 at 8:19 AM, Gabriel volpegabr...@gmail.com wrote: Yo soy de Bs. As. cuál es el motivo de la pregunta? Saludos! On 29 mar, 21:24, Gal Dolber gal.dol...@gmail.com wrote: el chiste? On Tue, Mar

hudson + soyc trend?

2011-03-30 Thread Gal Dolber
Where anyone able to plug hudson with a Soyc Trend? like the Checkstyle plugin? It will be great to control that metrics over time. Thanks -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received this message because you

Alguien de Argentina?

2011-03-29 Thread Gal Dolber
-- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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

Re: Alguien de Argentina?

2011-03-29 Thread Gal Dolber
el chiste? On Tue, Mar 29, 2011 at 9:16 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: jajaj 2011/3/29 Gal Dolber gal.dol...@gmail.com -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received

Re: Howto: Optimising RPC

2011-03-28 Thread Gal Dolber
Nice post, thanks. I am having a problem code-splitting my rpc classes and dependencies when using the command pattern. Even if I only load the login screen, if it uses any command rpc it forces my apps to load all of them. I am testing some solutions at the moment, any thoughts on that? On Mon,

Guit Release. Version 1.6

2011-03-22 Thread Gal Dolber
v1.6 (With support for GWT 2.2)http://code.google.com/p/guit/wiki/ReleaseNotes?ts=1300828172updated=ReleaseNotes#v1.6_%28With_support_for_GWT_2.2%29 - Deleted all deprecated binders and generator - @AutoFocus support for presenters - @ForceEvent to add any event to any widget -

Re: Compiled GWT JS size handwritten JS size?

2011-03-15 Thread Gal Dolber
I have been working with gwt for more than 2 years now and I can't imagine a page where I won't use gwt. If you really try you may find some cases where handwritten js produce a smaller page than gwt. It is also probable than in the small size of that cases the difference won't matter. But I

Re: DropDown Button

2011-03-14 Thread Gal Dolber
This is what I am using, you can put anything inside the PopupButton and it will be the popup content. /** * How to use: * j:PopupButton ui:field=settings text=Tools ▼ g:HTMLPanel visible=false div class=P5a href=#!settingsSettings/a/div div class=P5a href=#!logoutLogout/a/div

Re: DropDown Button

2011-03-14 Thread Gal Dolber
that looks pretty ugly in the email, here is the pastebin http://pastebin.com/rqgZk9D0 On Mon, Mar 14, 2011 at 5:28 PM, Gal Dolber gal.dol...@gmail.com wrote: This is what I am using, you can put anything inside the PopupButton and it will be the popup content. /** * How to use

Re: Hyperlink: Why the anchor element is nested into a div ?

2011-03-12 Thread Gal Dolber
I don't know the why, but you can use InlineHyperlink instead. On Sat, Mar 12, 2011 at 1:17 PM, Simon M si...@majou.org wrote: I am curious to know. -- 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: ScriptElement to be shown in popupPanel

2011-03-12 Thread Gal Dolber
What are you trying to do? You can try: popup.addAttachHandler(new AttachHandler() { void onAttach() { // Do your scripting here } }); On Sat, Mar 12, 2011 at 2:15 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi, The src of an script return a form as UI and i want this UI

Re: ScriptElement to be shown in popupPanel

2011-03-12 Thread Gal Dolber
it to main html document then it works fine showing the UI on html. But i need to show it in a popup rather than html page. I hope it is now more clear. Thanks On Sun, Mar 13, 2011 at 2:18 AM, Gal Dolber gal.dol...@gmail.com wrote: What are you trying to do? You can try

Re: How to access ui:image programmatically

2011-03-10 Thread Gal Dolber
@UiField ImageResource icon_check; On Fri, Mar 11, 2011 at 3:41 AM, Kathiravan Tamilvanan kat...@gmail.comwrote: I have defined my image resources in the ui binder as follows ui:image field='icon_check' src=../images/icon_check.png / I can use this inside the ui binder file successfully.

Re: View-Presenter Interaction Patterns in Google Web Toolkit (GWT)

2011-03-02 Thread Gal Dolber
The official UiBinder docs are valid for guit, the ui.xml part is 100% valid but the java part of the docs is not, you can easily translate it. http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html *@UiField - @ViewField* The difference between this two is that a @UiField can be of

Re: View-Presenter Interaction Patterns in Google Web Toolkit (GWT)

2011-03-01 Thread Gal Dolber
Guit doesn't use any of those patterns. In guit mvp is like uiBinder (only two files, one ui.xml and one java). *Login.ui.xml (this is what you already know):* !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder

Re: UiBinder doesn't autocomplete anymore in Eclipse

2011-02-24 Thread Gal Dolber
If you open the .ui.xml file with the UIBInder Template Editor instead of the WindowBuilder Editor it works ok. Right click - Open with - UIBInder Template Editor On Thu, Feb 24, 2011 at 3:25 PM, jhudon jameshu...@gmail.com wrote: Where can we track this issue or get a completion ETA? -- You

Re: UIBinder changing element attributes

2011-02-23 Thread Gal Dolber
Every attribute is turned into a setter. The HTML Widget do not have a setClass method, but you can use styleName or width g:HTML g:HTML ui:field=header styleName=window-header width=50px/g:HTML g:HTML ui:field=content styleName=window-content/g:HTML /g:HTML On Wed, Feb 23, 2011 at

Re: Feedback Requested: Preview of new GWT Style Theme

2011-02-22 Thread Gal Dolber
Look at the buttons On Tue, Feb 22, 2011 at 5:26 PM, Evan Ruff evan.r...@gmail.com wrote: John, Did I speak too soon? Looking at the two showcases, they appear identical in my browser: http://gwt-showcase-clean.appspot.com/#!CwCheckBox

Re: Feedback Requested: Preview of new GWT Style Theme

2011-02-17 Thread Gal Dolber
+1 for me. IE support is still important, but I don't see how the final user gets benefit from emulated roundedCorners/shadows/gradients when he probably only using IE (so he will never tell the difference) and the extra markup ends up slowing down the app. This problem gets ever worst when the

Re: GWT-2.2.0 - UiBinder

2011-02-16 Thread Gal Dolber
UiBinder doesn't have to support extgwt. The problem is that extgwt doesn't support uiBinder. On Wed, Feb 16, 2011 at 2:39 AM, neps nepolian...@gmail.com wrote: Is the gwt-2.2.0 uibinder have the support to external sources like Extgwt versions. or has anyone solved it already..? -- You

GwtDesigner questions

2011-02-12 Thread Gal Dolber
I just starting to use gwt designer, and I having a few problems: 1. I cannot find a way to include an external css file that my app uses into the uibinder editor, so I see only the inner styles of my uibinder. 2. Is the inner UiBinder class really required? Guit uses uibinder's

Re: Gin, SingleInstanceProvider?

2011-02-05 Thread Gal Dolber
());// A SingleProvider returns always the same instance } On Thu, Feb 3, 2011 at 7:40 PM, Gal Dolber gal.dol...@gmail.com wrote: Thanks On Thu, Feb 3, 2011 at 7:02 PM, zixzigma zixzi...@gmail.com wrote: I am not sure if this helps, but there is a feature called Binding Annotations, you can use

Re: Gin, SingleInstanceProvider?

2011-02-03 Thread Gal Dolber
Yes, I know about singletons. This is not the case. What I am talking about is delayed instantiation. In most of my current use cases the binded object aren't singletons. On Thu, Feb 3, 2011 at 5:03 AM, Ryan Mehregan ryan...@gmail.com wrote: yes, it is totally unnecessary. 1- you can annotate

Re: Gin, SingleInstanceProvider?

2011-02-03 Thread Gal Dolber
No idea why you answer 3 times the same, but please read again my question. I am using providers. As I already imagined gin doesn't have what I need. I was looking for other solutions people were using. What I need is: A provider of a non-singleton class that return always the same instance. I

Re: Gin, SingleInstanceProvider?

2011-02-03 Thread Gal Dolber
If I inject a provider on 2 different classes I expect them to return a different instance, but each provider must return the same one. class A { @Inject public ProviderC p; // p.get() returns always the same instance } class B { @Inject public ProviderC p; // p.get() returns

Re: Gin, SingleInstanceProvider?

2011-02-03 Thread Gal Dolber
Sorry, the example should be with SimpleInstanceProvider, not with Provider On Thu, Feb 3, 2011 at 6:05 PM, Gal Dolber gal.dol...@gmail.com wrote: If I inject a provider on 2 different classes I expect them to return a different instance, but each provider must return the same one. class

Re: Gin, SingleInstanceProvider?

2011-02-03 Thread Gal Dolber
Thanks On Thu, Feb 3, 2011 at 7:02 PM, zixzigma zixzi...@gmail.com wrote: I am not sure if this helps, but there is a feature called Binding Annotations, you can use BindingAnnotation to differentiate the Provider used in Class A, from the one used in Class B.

Gin, SingleInstanceProvider?

2011-02-02 Thread Gal Dolber
I writing over and over again the same code: @Inject public ProviderFoo provider; private Foo foo; Foo assertFoo() { if (foo == null) { foo = provider.get(); } return foo; } Basically I inject a provider to delay the object instantiation, but in most cases I only need one

Re: Text property on app engine and TextArea on the client side [GWT]

2011-02-02 Thread Gal Dolber
I think it will be better to use String, but if you really want to use Text you can borrow some code from slim3 http://code.google.com/p/slim3/source/browse/trunk/slim3/src/main/java/com/google/appengine/api/datastore/Text_CustomFieldSerializer.java to do it. Best On Thu, Feb 3, 2011 at 3:51 AM,

Re: Two parallel asynchronous rpc calls possible?

2011-01-27 Thread Gal Dolber
Yes, it is possible, every rpc call is asyc, so if you call two rpc methods one after the other they'll be executed in parallel. In general it is better to batch the parallel methods in one rpc call. On Thu, Jan 27, 2011 at 1:41 PM, joe kolba joekolb...@gmail.com wrote: Why not just make one

Re: Two parallel asynchronous rpc calls possible?

2011-01-27 Thread Gal Dolber
one of numerous use cases that I can think of that could benefit from using parallel async calls. Jeff On Thu, Jan 27, 2011 at 11:46 AM, Gal Dolber gal.dol...@gmail.com wrote: Yes, it is possible, every rpc call is asyc, so if you call two rpc methods one after the other they'll be executed

Re: Best pattern for handling app engine datastore errors when using GWT RemoteService

2011-01-11 Thread Gal Dolber
I only let pass user-defined exceptions to the client. Best On 1/11/11, Jeff Schwartz jefftschwa...@gmail.com wrote: What do you think is the best code pattern for servlet and client when dealing with app engine datastore errors using GWT RemoteService? Do you catch the errors in your servlets

Re: GWT sometimes reinventing the wheels

2011-01-11 Thread Gal Dolber
Gwt didn't support java logging since recently, cause some limitations on the compiler. I agree with you on the uibinder + i18n, that could be much simpler. I am using apt on guit to make that simpler

Re: GWT 2.1 compiler takes 45-50 minutes to compile with multi-language support tags

2011-01-11 Thread Gal Dolber
Your normal compilation produces in general 6 permutations (safari, gecko, gecko1.8, opera, ie6, ie8). with 3 locales you get 6 * 3 = 18 permutations and the number of permutations affects directly to the compilation time. Is your normal compilation time 15 minutes? On 1/11/11, Jeff Larsen

Re: Question regarding Activites, Places, Dependeny Injection and complex layouts.

2011-01-08 Thread Gal Dolber
Guit have built-in gin support. You should try it Best On Sat, Jan 8, 2011 at 6:11 AM, Max thebb...@gmail.com wrote: + 1 Frank, do you find out the answer finally? On 1月3日, 下午5时41分, Frank Bølviken frank.bolvi...@gmail.com wrote: Noone has anything to add on this subject? This should

Move a pojo to the serve side package (RCP)

2011-01-07 Thread Gal Dolber
Slim3 recently got Appengine core data types emulation for gwt rpc support(still on trunk). Not sure what persistence layer you are using. But if you need to work with Book on the client and want to use gae Text type, I think the only solution is to make it gwt compatible. Best On Friday,

Re: Move a pojo to the serve side package (RCP)

2011-01-07 Thread Gal Dolber
to work with Book typed gae Text in the client. When you say: The only solution is to make it gwt compatible. Can you please explain to me how to make it gwt compatible. Thank you in advanced. -- Ces. On 7 January 2011 18:17, Gal Dolber gal.dol...@gmail.com wrote: Slim3 recently got

Re: are GWT 2.1.1 Activities expensive to create/instantiate ?

2011-01-07 Thread Gal Dolber
In theory: no. The heavy part is the view. If you instantiate 150 activities without instantiating the views you wont have problems. The best you can do is benchmark it. Best On Sat, Jan 8, 2011 at 12:11 AM, zixzigma zixzi...@gmail.com wrote: Are GWT 2.1.1 Activities expensive to create ?

Re: is it possible to instantiate an object from its class type on demand ?

2011-01-07 Thread Gal Dolber
Gwt doesn't support that. GWT.create() only works with class literals. If you know what classes you'll need you can write a method like this: T T instantiate(ClassT clazz) { if (clazz.equals(Foo.class)) { return new Foo(); } else if (clazz.equals(Foo2.class)) {

Re: Best Design Pattern for widgets

2011-01-07 Thread Gal Dolber
mmm... 1. Use Composite! 2. Reduce to the minimum the number of widgets that compose your new widget (Bulk html rendering + top level event capturing). 3. Learn all you can from native gwt widgets. 4. Make good use of interfaces [HasText, HasHTML, Foccusable.. everything you can

Re: oadmap of gwt

2011-01-07 Thread Gal Dolber
I think this is the only roadmap you'll find: http://code.google.com/p/google-web-toolkit/issues/list?can=2q=milestone=Plannedcolspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars Best On Sat, Jan 8, 2011 at 1:01 AM, dadada ytbr...@gmail.com wrote: Hi all, does anybody know where

Re: [gwt-contrib] Enterprise CellTable Questionnaire

2011-01-05 Thread Gal Dolber
so happy to hear that! On Wed, Jan 5, 2011 at 6:55 PM, John LaBanca jlaba...@google.com wrote: https://spreadsheets.google.com/viewform?formkey=dEx3b0M4cHdSbG5Pd29KSjZxVnFnU3c6MQGWT Contributors - In the next couple of months, the GWT team will create add enterprise features to the

Re: is there a class that implements HasWidgets extends FocusWidget

2011-01-04 Thread Gal Dolber
You can also wrap a FlowPanel into a FocusPanel. On Tue, Jan 4, 2011 at 2:54 PM, Y2i yur...@gmail.com wrote: A Widget.addDomHandler() method may be what you are looking for. You can register a handler for com.google.gwt.event.dom.client.ClickEvent. On Jan 4, 9:43 am, Joe Hudson

Tutorial 2: Unit testing with guit

2011-01-04 Thread Gal Dolber
http://www.youtube.com/watch?v=QjJ25A08sOY -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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: Tutorial 1: Getting started with guit framework. 2:30 minutes video

2011-01-03 Thread Gal Dolber
to learn how to use MVP but have been having some trouble getting it setup. On Jan 2, 3:37 pm, Gal Dolber gal.dol...@gmail.com wrote: http://www.youtube.com/watch?v=S_u7CkU_NnI -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit

Re: How to get a widget from another panel

2011-01-03 Thread Gal Dolber
Some code will help On Mon, Jan 3, 2011 at 11:07 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: Well, assuming both panels are in the same web application, save the widget in a global variable, and access that when you want information. Greg On Jan 3, 8:49 am, Néstor Boscán

Re: Tutorial 1: Getting started with guit framework. 2:30 minutes video

2011-01-03 Thread Gal Dolber
No, sorry, my spoken english sucks... no that I write very good :) .. I am from Argentina On Mon, Jan 3, 2011 at 11:41 AM, Falcon msu.fal...@gmail.com wrote: Out of curiosity, is there supposed to be audio? On Jan 2, 2:37 pm, Gal Dolber gal.dol...@gmail.com wrote: http://www.youtube.com

Tutorial 1: Getting started with guit framework. 2:30 minutes video

2011-01-02 Thread Gal Dolber
http://www.youtube.com/watch?v=S_u7CkU_NnI -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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: iTunes-type display widget

2011-01-01 Thread Gal Dolber
Sure, you can do that with the new CellTable. Best On Sat, Jan 1, 2011 at 2:18 AM, jaybose onyeje.b...@gmail.com wrote: http://picasaweb.google.com/onyeje.bose/12302010#5557097507546443826 Does anyone know if GWT already has a way to display cells the way iTunes does (see image in link

Re: iTunes-type display widget

2011-01-01 Thread Gal Dolber
this. On Jan 1, 3:22 am, Gal Dolber gal.dol...@gmail.com wrote: Sure, you can do that with the new CellTable. Best On Sat, Jan 1, 2011 at 2:18 AM, jaybose onyeje.b...@gmail.com wrote: http://picasaweb.google.com/onyeje.bose/12302010#5557097507546443826 Does anyone know if GWT already has

Re: SafeHtmlUtils

2010-12-31 Thread Gal Dolber
You just need to keep the copyright headers. Best On Sat, Jan 1, 2011 at 12:58 AM, jaybose onyeje.b...@gmail.com wrote: I'd like to copy/borrow the contents of the GWT's SafeHtmlUtils for a new class of my own. Does anyone have a link describing how I'm supposed to properly attribute

Re: Can I generate a call to GWT.create(...) within generated code

2010-12-29 Thread Gal Dolber
A generated code can have GWT.create calls. Can you post the error output? On Wed, Dec 29, 2010 at 5:55 PM, cbdave dave.bun...@gmail.com wrote: I am writing a generator for a template that will be invoked during the GWT.create() call, is it possible for me to have the generator subsequently

Re: Annotation Processing for GWT using javax.annotation.processing. Alternatives, Compile tips ?

2010-12-28 Thread Gal Dolber
Guaw! great project On Tue, Dec 28, 2010 at 7:54 AM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, December 28, 2010 3:10:01 AM UTC+1, zixzigma wrote: I have defined a custom annotation in my GWT app, and have annotated my classes with it. I would like to process it and generate

Re: Annotation Processing for GWT using javax.annotation.processing. Alternatives, Compile tips ?

2010-12-28 Thread Gal Dolber
Thomas, where you been able to use lombok with gwt code? I getting error while running (or compiling) on every call to a generated method. [ERROR] [testapp] - Line 61: The method getMarketing() is undefined for the type Unit On Tue, Dec 28, 2010 at 8:16 AM, Gal Dolber gal.dol...@gmail.com wrote

Re: Annotation Processing for GWT using javax.annotation.processing. Alternatives, Compile tips ?

2010-12-28 Thread Gal Dolber
Thanks!! On Tue, Dec 28, 2010 at 9:05 AM, Thomas Broyer t.bro...@gmail.com wrote: Yes we do. You have to add the generated sources output dir to your classpath for GWT to see them, and make sure GWT doesn't see the original source files (either by putting them later on the classpath, or

Re: Dropping support for ie6?

2010-12-27 Thread Gal Dolber
I don't know about dropping ie6, but Microsoft is really promoting ie9 all over the web. I feel we'll really need that support.. http://code.google.com/p/google-web-toolkit/issues/detail?id=5125colspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars On Mon, Dec 27, 2010 at 5:54 AM, Peter

Re: Attach a ClickHandler to a CellTable row

2010-12-27 Thread Gal Dolber
You need to use a SingleSelectionModel. SingleSelectionModel mySelectionModel = new SingleSelectionModelMode(); table.setSelectionModel(mySelectionModel); mySelectionModel.addSelectionChangeHandler(mySelectionChangeHandler); On Mon, Dec 27, 2010 at 9:04 AM, Matias matiassu...@gmail.com

Re: Can Flash communicate with GWT?

2010-12-24 Thread Gal Dolber
Flash can communicate with js, so the answer is yes. I never did it before, but you can use any flash2js communication method with jsni. On Fri, Dec 24, 2010 at 7:34 AM, BogdanB buta.i.bog...@gmail.com wrote: Hy, How can I return a value or set a parameter at the end of a flash movie and

Re: best way to implement label for

2010-12-22 Thread Gal Dolber
g:HTMLPanel label for=nameName/label gwt:Textbox ui:field=name name=name /g:HTMLPanel On Wed, Dec 22, 2010 at 2:51 PM, Uberto Barbini ube...@ubiland.net wrote: Hi I have this in my uibindings: gwt:Label gwt:Textbox ui:field=name and they are translated as: div class=gwt-Label.. input

Re: best way to implement label for

2010-12-22 Thread Gal Dolber
PD: I think there is no Widget with underline label implementation On Wed, Dec 22, 2010 at 3:00 PM, Gal Dolber gal.dol...@gmail.com wrote: g:HTMLPanel label for=nameName/label gwt:Textbox ui:field=name name=name /g:HTMLPanel On Wed, Dec 22, 2010 at 2:51 PM, Uberto Barbini ube

Re: rest / json command pattern implementation project

2010-12-21 Thread Gal Dolber
Looks nice! I'll check it out On Tue, Dec 21, 2010 at 6:58 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: On Tue, Dec 21, 2010 at 11:27 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: ... I am not sure if anybody is interested, but I released an alpha version

KeyFactory.keyToString() and KeyFactory.stringToKey() emulation for gwt

2010-12-21 Thread Gal Dolber
Is there any safe way of emulating those methods? I looked into the implementation(sorry), and doesn't look very nice: public static String keyToString(Key key) { if(!key.isComplete()) { throw new IllegalArgumentException(Key is incomplete.); }

Re: Last eclipse plugin update bugs

2010-12-21 Thread Gal Dolber
I finally discover where the problem came from!! It is coming from GwtDesignerPlugin. After uninstalling all works ok. Sorry about the bad advertising... On Mon, Dec 20, 2010 at 5:47 AM, Gal Dolber gal.dol...@gmail.com wrote: Had to split my projects in two... one for the main code and one

Re: Last eclipse plugin update bugs

2010-12-20 Thread Gal Dolber
Had to split my projects in two... one for the main code and one for the tests :S. I still don't understand why the plugin's code isn't open source, I will love to put hands on it On Mon, Dec 20, 2010 at 5:01 AM, Thomas Broyer t.bro...@gmail.com wrote: Oh, you're right, it's not fixed in 1.4.1

Re: Exposing my GWT API via web/RESTful service - can it be done (easilyish)?

2010-12-20 Thread Gal Dolber
You can manage to use gwt's serialization with rest. Checkout this post: http://timepedia.blogspot.com/2009/04/gwt-rpc-over-arbitrary-transports-uber.html On Mon, Dec 20, 2010 at 8:13 PM, zixzigma zixzi...@gmail.com wrote: I am interested in the very same thing. So far my questions have left

Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
After the last update of Google's eclipse plugin I am getting GWT Markers on all my projects: {{{ com.guit.junit.GuitTest can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path

Re: Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
,com.google.gwt.eclipse.oophm,1.4.0.v201010280102 On Sun, Dec 19, 2010 at 11:48 AM, Gal Dolber gal.dol...@gmail.com wrote: After the last update of Google's eclipse plugin I am getting GWT Markers on all my projects: {{{ com.guit.junit.GuitTest can not be found in source packages. Check the inheritance

Re: Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
Ok... already updated most of the projects. The problem seems to be in the jre test of gwt code (located on different source folder but same package *.client.*). On Sun, Dec 19, 2010 at 11:55 AM, Gal Dolber gal.dol...@gmail.com wrote: I tried to revert my eclipse configuration and got

Re: Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
I am on: Google Plugin for Eclipse 3.6 1.4.1.v201012170127 com.google.gdt.eclipse.suite.e36.feature.feature.group On Sun, Dec 19, 2010 at 1:00 PM, Thomas Broyer t.bro...@gmail.com wrote: It was the case for me with GPE 1.4.0, but no longer with the 1.4.1 version. Which version are you using?

Re: Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
One more note on this. The problem is actually obvious. In my gwt jre tests I use utility classes that aren't on any client package, cause that code never runs on the browser. What I need is a way to disable that check. On Sun, Dec 19, 2010 at 1:20 PM, Gal Dolber gal.dol...@gmail.com wrote: I

Re: Retrieve original Widget object from bubbled event ?

2010-12-07 Thread Gal Dolber
This should do it: Object source = event.getSource(); if (source instanceof RadioButton) { RadioButton w = (RadioButton) source; } On Tue, Dec 7, 2010 at 4:57 AM, Ed post2edb...@gmail.com wrote: How do I retrieve the orginal Widget object from a bubbled event that started the event? I

Re: Retrieve original Widget object from bubbled event ?

2010-12-07 Thread Gal Dolber
Sorry, I read quickly. Here is one possible solution(using html instead of Widgets): g:HTMLPanel input type=radio name=group1 value=Milk Milkbr input type=radio name=group1 value=Butter checked Butterbr input type=radio name=group1 value=Cheese Cheese /g:HTMLPanel Element e =

Re: Retrieve original Widget object from bubbled event ?

2010-12-07 Thread Gal Dolber
This time I did read.. you can find a way to obtain the widget from my last post. There is no magical event.getOriginBubbledWidget() method On Tue, Dec 7, 2010 at 8:50 AM, Ed post2edb...@gmail.com wrote: I think you are still reading too quickly I am looking for the widget and not his

Re: Retrieve original Widget object from bubbled event ?

2010-12-07 Thread Gal Dolber
In the case I wrote you won't be using Widgets.. they are just Elements, so there is no widget to extract. What exactly do you need to do? If you need to get information from the clicked radio you can put extra attributes to the element and get them with getAttribute as said before. If you need

Re: Retrieve original Widget object from bubbled event ?

2010-12-07 Thread Gal Dolber
The effective part of using event bubble is not using widgets... Anyway, if you don't have more than 20 radios I don't think you'll fell the improvement On Tue, Dec 7, 2010 at 11:37 AM, Ed Bras post2edb...@gmail.com wrote: Yes, but that's not very efficient, that's why you use event bubbling...

Re: Retrieve original Widget object from bubbled event ?

2010-12-07 Thread Gal Dolber
http://www.youtube.com/watch?v=7x4hun_Kqks On Tue, Dec 7, 2010 at 12:23 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: Well if it works then there is no problem, right :)? I think you are over complicating you implementation. You should be abstracting the various parts of a page into

Re: New google code project : gwt-table-to-excel ... Excel export made easy

2010-12-06 Thread Gal Dolber
Great job! thanks On Mon, Dec 6, 2010 at 9:43 AM, Francois Wauquier wok...@gmail.com wrote: Hi I am pleased to share this project to facilitate excel export : http://code.google.com/p/gwt-table-to-excel/ Francois Wauquier -- You received this message because you are subscribed to the

Re: StackLayoutPanel and IE8 issue

2010-11-25 Thread Gal Dolber
try this: slp.setSize(100%, 100%); On Thu, Nov 25, 2010 at 6:13 AM, massimo malvestio massimo.malves...@gmail.com wrote: Hi all! I've been palying around with StackLayoutPanel, when I noticed this strange behaviour: StackLayoutPanel slp = *new* StackLayoutPanel(Unit.*PCT*);

Re: StackLayoutPanel and IE8 issue

2010-11-25 Thread Gal Dolber
sorry, I take that back.. can't see the problem On Thu, Nov 25, 2010 at 12:24 PM, Gal Dolber gal.dol...@gmail.com wrote: try this: slp.setSize(100%, 100%); On Thu, Nov 25, 2010 at 6:13 AM, massimo malvestio massimo.malves...@gmail.com wrote: Hi all! I've been palying around

Re: Plans for GWT incubator

2010-11-17 Thread Gal Dolber
Great news! On Wed, Nov 17, 2010 at 3:57 PM, John LaBanca jlaba...@google.com wrote: *If you do not use the GWT incubator, you can ignore this email.* GWT Community - The plan for the GWT incubator is to replace PagingScrollTable with Enterprise CellTable in GWT 2.2 (hopefully Q1 2011),

Re: GWT Designer Libraries

2010-11-12 Thread Gal Dolber
Building widgets its really easy, I like to use pure gwt On Fri, Nov 12, 2010 at 10:48 PM, Roger Studner rstud...@gmail.com wrote: Well.. a quick bit of objective (having used all 3) opinions. It is simple: 1) don't use GWT-EXT. 2) GXT is a pure java solution, and the only one of the 3. 3)

Re: Entire Site in GWT?

2010-11-09 Thread Gal Dolber
Checkout http://code.google.com/p/guit-ajax-crawler/ for Ajax crawlability On Tue, Nov 9, 2010 at 10:19 AM, Nicolas Antoniazzi nicolas.antonia...@gmail.com wrote: For our project we use Tomcat / Postgresql on server side. It works great. The hardest part is to be able to configure maven (if

Re: How to use JSONObject with common code shared between client and server

2010-11-09 Thread Gal Dolber
The best you can use in the client to handle json are Overlays. http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOverlay.html On Tue, Nov 9, 2010 at 7:17 PM, Kashif kashifshaikh...@gmail.com wrote: Hi everyone, I have a class that I want to share both with client and server

Re: How to use JSONObject with common code shared between client and server

2010-11-09 Thread Gal Dolber
on client and server. The whole point of using JSONObject is that I have a java API that I can use to marshall/unmarshall DTO objects regardless if I'm sending them from client to server or vice versa. On Nov 9, 9:29 pm, Gal Dolber gal.dol...@gmail.com wrote: The best you can use

Re: How to use JSONObject with common code shared between client and server

2010-11-09 Thread Gal Dolber
Sorry, under com.google.gwt.json.client On Tue, Nov 9, 2010 at 11:49 PM, Gal Dolber gal.dol...@gmail.com wrote: So you need to use: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/index.html?overview-summary.html On Tue, Nov 9, 2010 at 10:48 PM, Kashif kashifshaikh...@gmail.com

Re: Show Hide Reorder Columns like adwords UI

2010-11-07 Thread Gal Dolber
Are you using the new CellWidgets? If so, you can add and remove columns... with those functions you will be able to do it. Best On Sun, Nov 7, 2010 at 3:16 PM, ycol y...@hotmail.com wrote: Anybody? Seems like the basic features one would require for a data based application. On Nov 6,

Re: Fyi: Client side high performance computing project

2010-11-06 Thread Gal Dolber
I have to say that this is one of the greatest ideas I've ever heard. The best of lucks with it! On Thu, Nov 4, 2010 at 7:09 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: Hi, OUR IDEA: We want to make web browsers and their javascript engines to act as part of the largest

Re: Redirect into a hash-style URL causes a reload in IE

2010-11-05 Thread Gal Dolber
Thanks, I didn't even try to find a solution. It's incredible how I hate ie more and more every day On Fri, Nov 5, 2010 at 11:12 AM, Andy pula...@gmail.com wrote: We just ran into this and hopefully if you come across this I can save you from having to go through the same painful day of

Re: Wave styled widgets

2010-11-01 Thread Gal Dolber
Wave + Firebug + lots of time will do it On Mon, Nov 1, 2010 at 8:06 AM, gopal bhalala gopalbhal...@gmail.comwrote: Hi to all, Any suggestion please... Best Regards Thanking you, Gopal Dhanjibhai Bhalala On Sun, Oct 24, 2010 at 10:21 PM, Deepak Singh

Re: ANN: Visual GUI Designer in web browser

2010-10-28 Thread Gal Dolber
Nice! I worked on the same idea a time ago, will love to contribute with you. If you interested add me to gtalk. Best On Thu, Oct 28, 2010 at 10:28 PM, Trung gwtdevelo...@gmail.com wrote: Hi all, We have a Visual GUI Designer application running in web browser (work fine in Firefox, Chrome,

Re: gwt : eclipse : dev mode : U nable to find anguage.gwt.xml in your classpath

2010-10-23 Thread Gal Dolber
Did you include gwt-language.jar in your classpath? On Sat, Oct 23, 2010 at 6:19 PM, Prashant Bhate prashant.bh...@gmail.comwrote: Hi, I am trying to use gwt-language.jar, have added it to gwt.xml inherits name='com.google.gwt.language.Language' / as specified in

Re: Please anyone from google on this

2010-10-22 Thread Gal Dolber
Please? Any information on this is appreciated On Wed, Oct 20, 2010 at 1:56 PM, Gal Dolber gal.dol...@gmail.com wrote: http://www.google.com/support/forum/p/Web+Search/thread?tid=47496ffe5ea01d39hl=en I notice that it works ok on gwt's showcase. Thanks -- Guit: Elegant, beautiful

Please anyone from google on this

2010-10-20 Thread Gal Dolber
http://www.google.com/support/forum/p/Web+Search/thread?tid=47496ffe5ea01d39hl=en I notice that it works ok on gwt's showcase. Thanks -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received this message because you are

Re: 2.1 Documentation

2010-10-12 Thread Gal Dolber
Thanks a lot! On Tue, Oct 12, 2010 at 12:38 AM, Goby chris.ky.le...@gmail.com wrote: http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html http://code.google.com/webtoolkit/doc/trunk/DevGuideUiCellWidgets.html On Aug 16, 9:58 am, Bayard Randel

<    1   2   3   4   >