Re: MVP : model and duplicate

2010-07-07 Thread Gal Dolber
I think you should avoid duplicate the model objects. Find the way to share them between all you application or cut off one layer :P 2010/7/7 SimonM simon.manqu...@gmail.com Hi, I have some troubles with MVP : as I have understood, the model should just be business objects which are present

Re: -XdisableClassMetadata compiler flag - Was [Re: Hiding fully qualified class name sent to the browser]

2010-07-07 Thread Gal Dolber
-XdisableClassMetadata cut off from the compiled code all class metadata as SomeInstance.getClass().getName(); - this won't be available *But I am not sure that it will completely remove the classes names from the compiled code, cause it also uses them on rpc calls * 2010/7/7 moorsu

Re: -XdisableClassMetadata compiler flag - Was [Re: Hiding fully qualified class name sent to the browser]

2010-07-07 Thread Gal Dolber
Good to know! thanks! 2010/7/7 Thomas Broyer t.bro...@gmail.com On 7 juil, 15:03, Gal Dolber gal.dol...@gmail.com wrote: -XdisableClassMetadata cut off from the compiled code all class metadata as SomeInstance.getClass().getName(); - this won't be available *But I am not sure

Re: Eclipse plugin suggestion

2010-07-04 Thread Gal Dolber
This is right, what we really need is Google to open source the plugin, but they don't want to 2010/7/4 Robert Hanson iamroberthan...@gmail.com The plugin is great, but every time I create a new application I need to go through the project and delete all of the example code. Perhaps there can

Re: GWT Gmail API

2010-06-28 Thread Gal Dolber
http://code.google.com/apis/contacts/ :) 2010/6/28 charlie charlie.f...@gmail.com 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 ? --

Re: Hello.. A gift!!!

2010-06-28 Thread Gal Dolber
what the hell 2010/6/28 Lei Zhen zl13354...@gmail.com Dear friend, One of my good friend is having his birthday celebration very soon,and I bought a digital camera for him as a birthday gift at an international trade company www.snnsn2.com ,I received the goods today,it has very good

New open source eclipse plugin for UiBinder validation

2010-06-26 Thread Gal Dolber
Here is a new eclipse plugin I made for gwt's UiBinder. My goal was to implement the validation, autocompletion and quickassist for widgets fields. Right now the only feature working is the validation. I couldn't find a way to hook the autocompletion and quickassist into google's UiBinder

Re: UIBinder Benefits?

2010-06-21 Thread Gal Dolber
Beside of how easier its to write layouts in xml instead of java and the fact that you can easily embed css, images and other resources, if you use uiBinder with HTMLPanel you will get the best effortless performance with gwt. 2010/6/20 spierce7 spier...@gmail.com thanks :-) On Jun 20, 9:39

Re: Best way to Deserialize JSON String to Java Object

2010-06-18 Thread Gal Dolber
I think the best you can do is a generator that creates an overlay for that pojo and a utility class to convert a json string to the pojo. The interface will look like this: public interface Json2PojoPOJO { POJO fromJson(String json); } And the steps will be: 1. Create an POJOOverlay from

Re: Best way to Deserialize JSON String to Java Object

2010-06-18 Thread Gal Dolber
since GWT-RPC can simply send the POJO and handle all the messy bits for him. Simple is better... On Fri, Jun 18, 2010 at 9:26 AM, Gal Dolber gal.dol...@gmail.com wrote: I think the best you can do is a generator that creates an overlay for that pojo and a utility class to convert a json

Re: DockLayoutPanel inside a ScrollPanel

2010-06-15 Thread Gal Dolber
You need to set the docklayoutpanel's height and width. 2010/6/14 Elben Shira elbensh...@gmail.com Hi, I have a layout defined by: - ... - ScrollPanel - DockLayoutPanel - north - west - center - east The problem is that the dock layout panel is cut off from

Re: UIBinder, Refresh and binding

2010-05-25 Thread Gal Dolber
If you are looking for a two lines solution, this is the wrong place... But still what you want to do its possible.. take a look at the UiBinder generator code and make your own binder 2010/5/25 Artem nikulche...@gmail.com Hi! I am really enjoin using of UIBinder! But still some of my code

Re: MMLc: a Tool to convert HTML in GWT widgets

2010-05-24 Thread Gal Dolber
THanks! 2010/5/24 Duong BaTien duong.bat...@gmail.com Congrats: Will MMLc support GWT Rich Text and client, soon to be open source by Google Wave client? Will that be a beginning of massive templates designed by UI designers and assembled by user? Duong BaTien DBGROUPS and BudhNet On

Re: Debugging generated classes

2010-05-15 Thread Gal Dolber
Add this parameter to the luncher: -gen /{SomeDir} Then when you step through the code and get into the generated class press Attach source and select the {SomeDir} 2010/5/15 Stefan Bachert stefanbach...@yahoo.de Hi, is there a way to debug through generated classes? How to supply the

Re: Let users build a user interface in the browser

2010-05-14 Thread Gal Dolber
I am working on that. My idea its to get an interface like DashCode. This is what I got: - List of all widgets (even created by the user) - You can insert the widgets - You see the real composite while you add widgets - You can select a widget and edit his properties in a property

Re: Unnormal behavior while using native redirect-Methode?

2010-05-11 Thread Gal Dolber
try this (in java): Window.Location.blabla 2010/5/10 malibubu webmas...@mailball.de Hi @all... I'm calling my EntryPoint using the URL http://localhost:8080/testdesk/. I've implemented the following native Method to redirect to another page: static native void redirect(String

Re: GWT and Objectify

2010-05-08 Thread Gal Dolber
Annotations just work on gwt... there is nothing to emulate 2010/5/8 Dalla dalla_man...@hotmail.com Hi all I´m trying to understand how to use Objectify with GWT. In the features list you can read Objectify entities can be used in GWT without the need for Data Transfer Objects. Sounds

Re: What is the largest GWT program anyone is running?

2010-05-07 Thread Gal Dolber
I think 500kb (on each splitted part) is the limit for a decent experience. 2010/5/7 Sripathi Krishnan sripathikrish...@gmail.com 1. Adwords is not a monolithic GWT compile; it is made up of multiple GWT modules. 2. Google Wave seems a single GWT module, but is sluggish. Maybe its

Re: Question about GWTEvent.Type

2010-05-06 Thread Gal Dolber
You can make a generic Event and it will work on a HandlerManager. For an example see ValueChangeEvent? in gwt source code. 2010/5/6 Thomas Broyer t.bro...@gmail.com On May 6, 3:05 pm, Julio Faerman jfaer...@gmail.com wrote: Hello, Is it possible to define event subtypes ? I would like

Re: How can we use cases can utilize Java generics to replace the use of Object instances.

2010-05-06 Thread Gal Dolber
You can define an empty interface and make it serializable so the ArrayListYourInterface will be serializable. Then be sure that every object you want to put into that collection implement that interface. 2010/5/4 Love Yao wmainl...@gmail.com The class java.lang.Object is not serializable,

Re: Alternatives for gwt?

2010-05-05 Thread Gal Dolber
did you tried the native ones? or doing it yourself? 2010/5/5 flyingb...@gmail.com flyingb...@gmail.com I am wondering are there good alternative libraries like smartgwt/gxt. I am looking for better libraries to code with if there are any. -- You received this message because you are

Re: Resizing DockLayoutPanel child.

2010-05-02 Thread Gal Dolber
package com.google.gwt.user.client.ui; import com.google.gwt.user.client.ui.DockLayoutPanel.Direction; import com.google.gwt.user.client.ui.DockLayoutPanel.LayoutData; /** * Dock layout util. */ public final class DockLayoutUtil { /** * Set layout. * @param widget Widget *

Re: Layouting pages based on tables vs CSS layouts

2010-04-21 Thread Gal Dolber
Here is a new approach implemented with divs: code.google.com/p/google-web-toolkit/issues/detail?id=4844can=4 http://code.google.com/p/google-web-toolkit/issues/detail?id=4844can=4It is a linearLayoutPanel and you can use as horizontal or vertical. If you combine it with the docklayoutpanel and

Re: session.setAttribute in GWT

2010-04-19 Thread Gal Dolber
This is not an gwt question. Are you talking about Appengine? If so, session attributes are allowed. But they must be Serializables. 2010/4/18 davids dudishe...@gmail.com Hi we had a problem setting the user attribute into the session: if you want to use for Session support, ENABLE it in

HorizontalLayoutPanel (no tables)

2010-04-10 Thread Gal Dolber
Goals: - No tables, divs only - No javascript execution on browser resize - Predictable: all children have the same size unless you set the size of a child manually - Can set the size of a child in % or PX(here you get the proportional %: pxWidth * 100 / fatherOffsetWidth) - Margin, Padding and

Re: Irony: GWT Showcase demo does not work with Chrome

2010-04-08 Thread Gal Dolber
me too 2010/4/8 Katharina Probst kpro...@google.com It works for me - I have Chrome 5.0.342.9 on Mac OS X ... kathrin On Wed, Apr 7, 2010 at 10:33 PM, Unconquered newintellect...@gmail.comwrote: With the latest Chrome, running on Mac OS X, the Google Web Toolkit Showcase of Features at

Re: Two generator questions

2010-03-21 Thread Gal Dolber
decided to rework my generated class to use method injection instead of constructor injection and it seems to work very well! Cheers, Philippe On Mar 20, 7:31 pm, Gal Dolber gal.dol...@gmail.com wrote: Ok, To view the generated class compile with -gen

Re: Two generator questions

2010-03-20 Thread Gal Dolber
Ok, To view the generated class compile with -gen /somepathonyourdisk, another tip to debug a generated class: include in your lookup entries the folder where the generated classes are and you will be able to step through the generated code. And to use gin into your generated class I didn't

Re: Extending UI-Binder

2010-03-11 Thread Gal Dolber
It should be... I have seen the custom parsers on the gwt source, but I didn't see if is there any extension system to declare one of your own. You can still do this: g:HorizontalPanel g:HTML SVG rect ... / circle ... / /SVG /g:HTML /g:HorizontalPanel 2010/3/11 Jan Ehrhardt

Re: Creating nice forms using gwt

2010-03-07 Thread Gal Dolber
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 https

Re: Image getAltText() and setAltText()

2010-03-07 Thread Gal Dolber
Image i = new Image(...); i.getElement().setAttribute(alt, Your alternate text); String yourAlternateText = i.getElement().getAttribute(alt); 2010/3/6 PKolenic pkole...@gmail.com I found it a bit of a hassle also not having those methods. However I do much of my work with UiBinding, so I

Re: How to use com.google.gwt.dev.util.collect.HashMap

2010-03-07 Thread Gal Dolber
I think thats the override that make the magic when it compiles to javascript... 2010/3/2 Heidarzadeh heidarzad...@gmail.com Thank you Gal Dolber. But if I have to use java.util.HashMap! I can't understand why they have created com.google.gwt.dev.util.collect.HashMap !? What is the usage

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

Re: How to use com.google.gwt.dev.util.collect.HashMap

2010-02-27 Thread Gal Dolber
Just use java.util.HashMap 2010/2/27 Heidarzadeh heidarzad...@gmail.com Hi When I want to use com.google.gwt.dev.util.collect.HashMap , I get this error : No source code is available for type com.google.gwt.dev.util.collect.HashMapK,V; did you forget to inherit a required module? I

Re: our company is considering to use GWT

2010-02-23 Thread Gal Dolber
The response time doesn't matter cause it is open source, so you can fix the bugs and compile. Anyway the response time its pretty fast. In general this is what happen: 1. Found a bug 2. Search it and it has been reported already 3. Update the svn 4. Compile 5. Get back to work

Re: extract HTML from view

2010-02-23 Thread Gal Dolber
Widget.getElement().getInnerHTML() 2010/2/23 Henry HO djhenr...@gmail.com hi, i have a view that is made from a composite-flow panel - 2 grids. it's basically a shopping cart receipt view. is it possible to extract all the HTML from the view? i would like to take the HTML and reproduce it

Re: Why does GWT use UserAgent Sniffing?

2010-02-22 Thread Gal Dolber
You can write your own properties detection to do it. But can't you see the what you are telling means compile 100+ different versions of the page if you evaluate individual properties? The way gwt do it give you 6 versions only, one for each browser... Also, why should you care about browser

Re: Digest for google-web-toolkit@googlegroups.com - 21 Messages in 14 Topics

2010-02-05 Thread Gal Dolber
I checked it out... its ok :P It is an awesome tool! that interface builder concept it is amazing... we should send an email to the guys of instantions to see if they go ahead and make a similar editor for uibinder :P 2010/2/5 Sky myonceinalifet...@gmail.com No one is going to click on that

Re: Hiding server-side code from the client?

2010-02-05 Thread Gal Dolber
Yes... I just had a case of that... now I understand your problem 2010/2/5 Axel Rauschmayer aurausc...@googlemail.com The problem is that the GWT compiler will complain about server-only classes that the dual code uses. -- You received this message because you are subscribed to the Google

Re: Newbee CSS questions

2010-02-05 Thread Gal Dolber
You can... ..copy the entire theme and customized it. or ..overlap the css classes that you want to customize in a css and include it (on each Widget there is a description of what css classes it uses) 2010/2/5 dhoffer dhoff...@gmail.com How can I make some simple changes to the CSS GWT 2.0

Re: Hiding server-side code from the client?

2010-02-04 Thread Gal Dolber
I am 99% sure that if you don't use the method on the client the GWT compiler will erase it. Regards 2010/2/4 Axel Rauschmayer aurausc...@googlemail.com Use case: a data object has some methods that only the server needs. I'm currently using my own tool to create patched versions of a class

Re: upgrade gwt 1.5 to 1.6 help!!

2010-02-04 Thread Gal Dolber
I recommend you to go straight to GWT 2.0. Just update the SDK and find the deprecated's in your code. The biggest problem you can have is with the ImageBundle, now you have to use ClientBundle. Also I don't remember if the Listeners - Handlers transition was before of after 1.6 ... Anyway... you

Re: Source code availability to the GWT Compiler

2010-02-04 Thread Gal Dolber
Yes.. the GWT compiler needs to have available the java source code to work 2010/2/4 Micah mkwhita...@gmail.com I currently have a GWT app that I'm looking to break into separate modules. The build system is currently Maven2 and utilizing the gwt- maven-plugin[1]. When reading over the

Re: importing contacts using GWT

2010-01-25 Thread Gal Dolber
http://code.google.com/apis/contacts/ 2010/1/25 Martin Trummer martin.trum...@24act.at take a look at oAuth http://oauth.net/ On 24 Jan., 13:02, Qais qgma1...@gmail.com wrote: hey everyone; i am trying to import contacts from : 1- Gmail 2- other social media accounts (Hotmail, Yahoo,

Re: Geolocation without Gears?

2009-12-18 Thread Gal Dolber
All modern browser support html 5 Geolocalization API. So you dont need gears. http://dev.w3.org/geo/api/spec-source.html 2009/12/17 Eric Ayers zun...@google.com Unfortunately, when there is no match for the IP address, the google.loader.ClientLocation property will be null. If you've got the

Re: Unittesting a Generator ?

2009-12-17 Thread Gal Dolber
I am asking myself the same. I couldn't find any way to do that, but you can always test the generated one. There is another tip: If you compile the project and specify the -gen argument to the compiler, then execute the project on debug mode and attach to the project the gen directory like

Chrome and firefox oophm plugin

2009-11-26 Thread Gal Dolber
Is there any reason why the google chrome plugin is so slow compared to the firefox? And what about firefox crashes? I have two choices: 1- Firefox runs faaast but, it crashes 2- Chrome runs sloow but it is stable -- You received this message because you are subscribed to the Google Groups

Re: GWT Developer Plugin works only sometimes

2009-11-25 Thread Gal Dolber
And you also need to update the eclipse plugin. http://dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-1.2rc1.zip :) 2009/11/25 Gal Dolber gal.dol...@gmail.com Hey, GWT 2.0 rc2 just got out! :) 2009/11/25 Yozons Support on Gmail yoz...@gmail.com RC2? That's not yet been announced

Re: GWT Developer Plugin works only sometimes

2009-11-25 Thread Gal Dolber
Hey, GWT 2.0 rc2 just got out! :) 2009/11/25 Yozons Support on Gmail yoz...@gmail.com RC2? That's not yet been announced as available. Is it now? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Chrome extension with gwt

2009-11-25 Thread Gal Dolber
I'd like to share this project I made, is just proof of concept, but it has some interesting things, Greetings! http://code.google.com/p/gwt-gae-bookmarks/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

<    1   2   3   4