Re: Partial bean validation

2011-02-08 Thread Mihail Lesikov
hm, I have the same issue. -- 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 email to google-web-toolkit+unsubscr...@googlegroups

Re: Cannot get Eclipse to follow getting started page

2011-02-08 Thread Henkie
OK, I found the problem myself. There is a permission issue here. I've give my user full control of the eclipse folder. I then launched eclipse as Administrator, uninstall and re-installed the GWT plugins. This work! On Feb 8, 10:12 am, Henkie wrote: > Hi, I'm using Windows 7 64 bit, JDK 1.6.0_23

add click handler to horizontalPanel in gwt

2011-02-08 Thread wingdings
how do i add click handlers to horizontalPanel ? it worked with the use of addDomHandler() but i had to downgrade GWT version for some other reasons , and GWT 2.0.4 doesnt support it i used to do it like this horizontalPanel.getWidget(1).addDomHandler(someClickHandler,ClickEvent.getType()); //or

Passing command line arguments to browsers launched from the "Development Mode" view

2011-02-08 Thread Rod Bailey
Hi Folks, I seem to recall that in a previous version of the GPE it was possible to specify arguments to be passed to the browser you were launching from the "Development Mode" view. As best as I can remember, when you right-clicked on the URL in the "Development Mode" view, selected "Open with >

Re: ScrollPanel not taking the full height (100%)

2011-02-08 Thread Lazo Apostolovski
Wrap the child in -- 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 email to google-web-toolkit+unsubscr...@googlegroups.com. F

refresh page problem in gwt

2011-02-08 Thread harry
i m developing a website for mobile but problem was:- 1st time all the content we get in our browser. but after refreshing the page all the content and data we get from database is not visible.event not a single content we can visible on the page. page is jst empty in website. -- You received th

Re: OOPHM memory leak?

2011-02-08 Thread Jim Douglas
http://code.google.com/p/google-web-toolkit/issues/detail?id=4923 On Feb 8, 8:27 pm, Sky wrote: > This is an old thread, but I'm experiencing a similar out of memory error > using the GWT 2.1 and AppEngine 1.40. This happens when the javaw.exe > exceeds 512mb. > > I have -Xmx512m set. I must have

Re: how to add scroll bar in flowpanel ?

2011-02-08 Thread Hemang shah
hey thanks but i can't find anything from this will u please elaborate? i used scrollpanel in gwt it work nicely in desktop browser but it doesn't even apear in mobile browser. it display some of the content only but not appear scrollbar.. pls if u know than help On Tue, Feb 8, 2011 at 11:31 AM, h

Re: OOPHM memory leak?

2011-02-08 Thread Sky
This is an old thread, but I'm experiencing a similar out of memory error using the GWT 2.1 and AppEngine 1.40. This happens when the javaw.exe exceeds 512mb. I have -Xmx512m set. I must have set that a long time ago because I don't remember doing that. But if I reload my app around 15 times I

Re: GWT MVP vs GXT MVC

2011-02-08 Thread Jeff Larsen
GWT does support databinding. Check out editors. http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html And for doing MVP with regards to GXT, you can inject your presenter back into your view and then have various events call methods on the presenter. -- You received this messag

GWT MVP vs GXT MVC

2011-02-08 Thread drew
Hello, GWT as of now currently doesnt support Data Binding for views in MVP by which we could directly attach Model Objects to Views. I started with GWT but now looking forward to GXT since it allows data binding. Kindly help me with on how MVP could be used for GXT? Since I really like MVP approa

Re: GWT DevMode : logging to a log file

2011-02-08 Thread Thomas Broyer
I understand it as that you cannot use the class FileHandler in your client code, which doesn't mean you cannot use it in your logging.properties configuration files when launching DevMode. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

loading a property file from the backend with RequestBuilder?

2011-02-08 Thread Ed
I am trying to load a property file from the backend file system. I load the file with the RequestBuilder but then need to parse it to create a Map. Any idea how to do that? or is there already gwt code out there doing that (can't find it do). Thanks -- You received this message because you are

Re: [gwt-contrib] Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Ray Ryan
It's not so much about missing features (although it will be nice to be allowed to use and emulate features that were added to the language more than four years ago). It's more about being in step with the rest of Google's code base. Having to keep an eye out for 1.6'ism creeping in has been a non-

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Jim Douglas
Incidentally, every GWT presentation at Google IO 2010 was done on a Mac: http://www.google.com/events/io/2010/sessions.html#GWT On Feb 8, 1:58 pm, Y2i wrote: > Jim, I think when they referred to *easy access* they meant something like > *sudo > apt-get install java6-sdk* :-) -- You received

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Y2i
Jim, I think when they referred to *easy access* they meant something like *sudo apt-get install java6-sdk* :-) -- 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: GWT DevMode : logging to a log file

2011-02-08 Thread karthik reddy
I just took a look at the documentation at http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html and it seems like FileHandler is not supported . There is a line in the documentation that seems to indicate this: The following classes are not emulated at all: ErrorManager and Logg

Re: TabLayoutPanel, content widget is hidden after select tab

2011-02-08 Thread Jeff Larsen
That is the right way to get the doctype set to standards mode. Have you inspected your widgets with firebug to see if stuff is there but hidden or if it isn't even getting attached to the DOM? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: TabLayoutPanel, content widget is hidden after select tab

2011-02-08 Thread vkrejcirik
How should I change doctype? I have this in my main html page:

Re: TabLayoutPanel, content widget is hidden after select tab

2011-02-08 Thread Jeff Larsen
Have you changed the doctype to standards mode? -- 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 email to google-web-toolkit+un

TabLayoutPanel, content widget is hidden after select tab

2011-02-08 Thread vkrejcirik
I use TabLayoutPanel. I create 3 tabs and fill it with HTML widgets. Code: private TabLayoutPanel tab = new TabLayoutPanel(2, Unit.EM); ... tab.add(new Label("test"), "thirth"); tab.add(new HTML("fourth"), "fourth"); tab.add(new HTML("fifth"), "fifth"); When I select some tab, page is empty. P

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Jim Douglas
That comment is a bit out of date. Java 6 was released for Intel Macs running Leopard on April 29, 2008. I've been using Java 6 on this MacBook Pro as my primary development system since October 2008. On Feb 8, 12:37 pm, Thomas Broyer wrote: > I bet internal infrastructure, and maybe Mac OS X (

Re: GWT DevMode : logging to a log file

2011-02-08 Thread Thomas Broyer
How about using java.util.logging? http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html -- 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

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Thomas Broyer
I bet internal infrastructure, and maybe Mac OS X (see "For developers that don't have easy access to Java 6 (such as developers using Mac OS X), the App Engine SDK is compatible with Java 5." at http://code.google.com/appengine/docs/java/gettingstarted/installing.html ) And to others, note tha

GWT DevMode : logging to a log file

2011-02-08 Thread karthik reddy
By default all the GWT.log(.) statements log to the console . (this is not desirable for me because there is no way for me to do a "Clear" on the logs periodically and that affects my capability to debug). So, I am trying to direct all my GWT.log(...) messages to a file which I can constant

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Jeff Schwartz
Java 5 is just s old lol. Java 6 makes me feel s young and Java 7 will make me feel like a kid again lol. On Tue, Feb 8, 2011 at 3:11 PM, Jeff Larsen wrote: > Also it is very cool to be able to put @Override on interface methods. > > -- > You received this message because you are subscr

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Jim Douglas
I'm curious about what is keeping you on Java 5? It reached final EOSL 16 months ago: http://java.sun.com/j2se/1.5/ On Feb 7, 11:47 pm, stuckagain wrote: > What features in Java 6 would be so fundamental to GWT that 1.5 becomes > deprecated ? -- You received this message because you are subsc

Re: ServiceLayerDecorator guides

2011-02-08 Thread khiem nguyen
what if the decryption stuff is also user/session-specific ? i read that rf caches locator-instances, will it be safe if i use getLocalTheadRequest() at locator-methods to get the session-stuffs for decrypting the data ? thanx On Tue, Feb 8, 2011 at 6:13 PM, David Chandler wrote: > Hi khiem, > A

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Jeff Larsen
Also it is very cool to be able to put @Override on interface methods. -- 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 email to

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Greg Dougherty
The other thing to remember is that if they claim to support Java 5, then they have to test against it. Given limited testing ability, where would you have them spend their resources: 1: Making sure Java 1.5 still works 2: Making sure Java 6 works even better? Greg On Feb 8, 1:47 am, stuckagain

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Greg Dougherty
Well, leaving aside the question of "why HAVEN'T you upgraded to Java 6", the various isEmpty () methods are quite cool, and wrth an upgrade just for that. Greg On Feb 8, 1:47 am, stuckagain wrote: > What features in Java 6 would be so fundamental to GWT that 1.5 becomes > deprecated ? -- You

Re: What is the correct way for CellTable cells to communicate ?

2011-02-08 Thread Greg Dougherty
What I do is make a change to the data for the row (the class T object), then tell the data provider to refresh. Greg On Feb 3, 11:10 pm, zixzigma wrote: > I have a CellTable. > > when an event occurs in Cell A, > I would like to take action and modify Cell B. > (user clicks on Cell A, I would l

Re: Separate Widgets & CSS+JS

2011-02-08 Thread Hilco Wijbenga
On 4 February 2011 14:03, Hilco Wijbenga wrote: > On 4 February 2011 11:21, Thomas Broyer wrote: >> GWT.getModuleBaseURL() + "my-image.png" ? > > Mmmh, yeah, something like that (GWT.getModuleName() + > "/my-image.png") works. But that means I'm changing the image's url at > runtime. I'd like to

Re: No Source code is available for type client.Utilityt, did you forget to inherit a required module?

2011-02-08 Thread NAARAYANA REDDY NANDIGAMA
Okay. Thank you. On Tue, Feb 8, 2011 at 10:38 AM, Hilco Wijbenga wrote: > On 8 February 2011 10:20, NAARAYANA REDDY NANDIGAMA > wrote: > > I am talking about two buttons having the same text message in java. > > private Button validateButtonOne = new Button(); > > private Button validateButtonTw

Re: To Google Team: Re: Celltable rows selection with focus

2011-02-08 Thread Deepak Singh
Hi Zix, Could you pls explain a bit more. Thanks Deepak On Tue, Feb 8, 2011 at 4:20 AM, zixzigma wrote: > don't you think this can be achieved by using selectionModel.setSelection > and selecting the first item from the current range ? > > -- > You received this message because you are subscrib

Re: To Google Team: Re: Celltable rows selection with focus

2011-02-08 Thread Deepak Singh
Hi John, Exactly i want what you said. To be more clear, i explain it with example. Say we have, CellTable table = new CellTable(); table.setSelectionModel(); I should be able to call the following line when the table gets focus table.getSelectionModel().setSelected(tableList.get('Row id

Re: No Source code is available for type client.Utilityt, did you forget to inherit a required module?

2011-02-08 Thread Hilco Wijbenga
On 8 February 2011 10:20, NAARAYANA REDDY NANDIGAMA wrote: > I am talking about two buttons having the same text message in java. > private Button validateButtonOne = new Button(); > private Button validateButtonTwo = new Button(); > validateButtonOne.setText("Validate"); > validateButtonTwo.setTe

Re: No Source code is available for type client.Utilityt, did you forget to inherit a required module?

2011-02-08 Thread NAARAYANA REDDY NANDIGAMA
I am talking about two buttons having the same text message in java. private Button validateButtonOne = new Button(); private Button validateButtonTwo = new Button(); validateButtonOne.setText("Validate"); validateButtonTwo.setText("validate"); buttonlisteners(validateButtonOne); buttonListene

Re: Do ValueProxies require EntityLocator ?

2011-02-08 Thread David Chandler
Hi zixzigma, See updated RF docs at http://code.google.com/webtoolkit/doc/trunk/DevGuideRequestFactory.html#valueProxies, also the section in the same doc on Server Implementations. /dmc On Mon, Feb 7, 2011 at 9:05 PM, zixzigma wrote: > Do ValueProxies require EntityLocator ? > > EntityProxies

Re: ServiceLayerDecorator guides

2011-02-08 Thread David Chandler
Hi khiem, As of 2.1.1, you can replace static findEntity() methods using a Locator and ServiceLocator. Updated RF docs are available at http://code.google.com/webtoolkit/doc/trunk/DevGuideRequestFactory.html. A locator method implemented in a separate Locator class could decrypt the entity and retr

Re: build GWT from source, only can do on Linux?

2011-02-08 Thread Qian Qiao
Sorry to resurrect this old thread, I'm having exactly the same issue, funny enough though, I'm doing it under linux with ant 1.8.1. Can anybody shed any light on this? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this grou

JsDate and DateBox widget

2011-02-08 Thread Javier
In my overlays I wrap a JavaScript Date object in a JsDate: public final native JsDate getDueDate() /*-{ return this["dueDate"]; }-*/; However when I want to use that date in a widget, say a DateBox, I need to set the value as a Java Date. I can create a Java Date from my JsDate and

Re: GWT+SpringSecurity - handling session-timeout

2011-02-08 Thread El Mentecato Mayor
A few suggestions about sign-in are already here although maybe they don't touch much about session expiration: http://code.google.com/webtoolkit/articles/dynamic_host_page.html About the redirect you mentioned getting lost, my educated guess is that most likely the redirection is working but you

Re: ScrollPanel not taking the full height (100%)

2011-02-08 Thread al
any one?? thank you. On Feb 8, 10:38 am, al wrote: > I am getting weird behavior of ScrollPanel. It shrinks the height to > some how ~50px. Here is my ui.xml. > >     //style > for setting height to 100% >       //style > for setting height to 100% >     >             >         enableMultipleFi

Re: BestPractice : Use of the Editor Framework with MVP (Place, Activity) and RequestFactory

2011-02-08 Thread Y2i
Thomas, thanks for the detailed response! I was actually re-using drivers for several edits (similar to Colin I guess), will be switching to your (and Expenses') approach. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g

Re: Why my app isn't getting the locale from the browser preferred languages?

2011-02-08 Thread Thomas Broyer
There's no way to accurately know the "browser preferred languages" on the client-side: http://code.google.com/p/google-web-toolkit/issues/detail?id=4228 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email t

ServiceLayerDecorator guides

2011-02-08 Thread khiem nguyen
hi, i'm using Proxy-Entity with Locator for a gwt-app & got into problems concerning this issue http://code.google.com/p/google-web-toolkit/issues/detail?id=5724 eg. i have several users, which retrieve data from DB, the data will be retrieve from db & decrypted before delivering back to user,

Cannot get Eclipse to follow getting started page

2011-02-08 Thread Henkie
Hi, I'm using Windows 7 64 bit, JDK 1.6.0_23, Eclipse 3.6.1. I have two issues: 1.) No Web Application Project My eclipse does not have an "Web Application Project" option, only static or dynamic web project. The static and dynamic web projects do not have google options as per getting started pag

Why my app isn't getting the locale from the browser preferred languages?

2011-02-08 Thread nacho
I'm using FF in Mac. I have "es-ar" as the only preferred language. I'm using i18n with Constants. I have this in my Module Descriptor And, i can't see my app in the "es" locale being the one selected as preferred in FF. But if I go to http://localhost:/?gwt.c

Re: Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Thomas Broyer
On Tuesday, February 8, 2011 3:34:19 PM UTC+1, Eric Andresen wrote: > > I see the same error message when inheriting from a generic class or > implementing an interface that uses generics. I don't see any documentation > forbidding that either. In the example below it works just fine if I >

Re: Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Thomas Broyer
See http://code.google.com/p/google-web-toolkit/issues/detail?id=5807 -- 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 email to

Re: EditTextCell - avoid escaping signs

2011-02-08 Thread John LaBanca
I created an issue to track this: http://code.google.com/p/google-web-toolkit/issues/detail?id=5993 We need to do some type of escaping because user values could include unsafe javascript code. However, the full SafeHtml escaping is too much. Thanks, John LaBanca jlaba...@google.com On Tue, Fe

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Y2i
You do. https://groups.google.com/d/msg/google-web-toolkit/ilF74wij-ZY/snzPlEHWB7IJ -- 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, s

EditTextCell - avoid escaping signs

2011-02-08 Thread Opal
Hi, I have a problem with EditTextCell. When the displayed value contains such sings: ' or " (e.g. 12" whatever) after onBlur event EditTextCell displays the following text: 12'' whatever. How to avoid such beahviour? It's very annoying. -- You received this message because you are subscr

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Travis Camechis
At some point in a project you have to move on, plus it hasn't been removed yet, just deprecated. On Tue, Feb 8, 2011 at 10:05 AM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > Well knowing that Java 7 is expected to be released mid > 2011

Re: Keyboard event issue with Minefield 4.0b10pre

2011-02-08 Thread Harold Comere
Hi all, Me again ... So, no idea on what is wrong with my piece of code under firefox 4.0 ? =/ Regards, Harold 2011/2/6 Harold Comere > Hi all, > > I have started two weeks ago to use GWT 2.1.1 and so have some newbie > issues, but i havnt found any answer in FAQs and tutotials so i m there !

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Christian Goudreau
Well knowing that Java 7 is expected to be released mid 2011, I think that it's just normal to deprecated older versions. Btw, I don't understand why people keep Gwt up to date, but not Java ? Way to go Gwt dev

Re: Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Jānis Ābele
After long session of trial and error I found out, that LocatorServiceLayer somehow uses base class or interface of specified Service. interface B extends A => A is used. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: Load/Display KML file in GWT Google Maps

2011-02-08 Thread Chad
Irene, I don't have a tutorial for you, but it is rather simple and straightforward. The process goes like this: GeoXmlOverlay.load(key, new GeoXmlLoadCallback() { @Override public void onSuccess(String url, GeoXmlOverlay overlay) { map.addOverlay(overlay);

Re: Load/Display KML file in GWT Google Maps

2011-02-08 Thread Eric Ayers
Summary: your KML dataset must be on a server visible on the Internet. Not having your kml resource visible to Google's servers is the problem people have most often when starting out. The KML functionality shown in the KML demo uses the Google Maps API to send the URL of the KML back to Google's

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Ümit
Do I need a new version of gin for this release? I am asking because I get following error if I try to compile a project which works fine with GWT 2.1.1 with the new release? java.lang.IncompatibleClassChangeError: Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expec

Re: Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Eric Andresen
I see the same error message when inheriting from a generic class or implementing an interface that uses generics. I don't see any documentation forbidding that either. In the example below it works just fine if I comment out the "implements ObjectWithException" code, but throws an error if I

Re: GWT with Hibernate and Oracle

2011-02-08 Thread Néstor Boscán
Oh Sorry Debashish I see that you're working with Google App Engine. I've worked with Google Web Toolkit and Hibernate for standalone applications, not applications that are deployed on Google App Engine. The link that you sent me is for Google Web Toolkit + Hibernate. I imagine that Google App En

Re: GWT with Hibernate and Oracle

2011-02-08 Thread Debashish
Hi Néstor, I have followed all the steps which required a Hibernate application to work. And this sample hibernate module is working fine without GWT as UI. However while connecting to any Database we need to put Driver class in the classpath and hibernate also requires the Classes12.jar or ojdbc

Re: Are user defined Serilizable objects supported as Request parameters?

2011-02-08 Thread Thomas Broyer
The update is that, as I said above, since 2.1.1, RequestFactory supports embedded obejcts (in the form of ValueProxy instead of EntityProxy). And the doc has recently been updated to reflect it, so you can follow the above link to find out more. There's nothing like "partial embedded objects" t

Re: Generator on server classes

2011-02-08 Thread ep
thumb of rules for generator: 1) only possible when using deferred binding ( i.e.: Foo foo = GWT.create(Foo.class) ) 2) your generator runs in pure VM so you're free to do whatever you want BUT the code you generate has to be translateable to JS, while generating you can also create additional res

Generator on server classes

2011-02-08 Thread jeffma...@jeffmaury.com
Hello, I am quite new to the Generator concept. I am wondering if it is possible for the Generator to be invoked on a server only class ? The idea is to develop a Generator that will generate client classes derived from server classes ? Thanks Jeff MAURY -- You received this message because you

Re: Deprecation of DockPanel

2011-02-08 Thread John LaBanca
@Viliam - DockLayoutPanel does require you to specify the sizes of all but the center widget. DockPanel is still useful in many cases, which is why we are going to undeprecate it. Thanks, John LaBanca jlaba...@google.com On Tue, Feb 8, 2011 at 3:22 AM, Viliam Durina wrote: > For DockLayoutPan

Re: Implementing Contacts List with 'mark as favorite' checkbox

2011-02-08 Thread John LaBanca
You can control selection by passing a DefaultSelectionEventManager with a custom EventTranslator as a second arg into setSelectionModel. It might look something like this: class MyEventTranslator extends EventTranslator() { public boolean clearCurrentSelection(CellPreviewEvent event) { r

Re: Force render of CellBrowser cell(s)

2011-02-08 Thread sevendays
I am performing aggregation calculations. So, when a child is updated, the aggregate value on its ancestors are also affected. Therefore after the calculation is complete I need to redraw all ancestors. I don't need to redraw descendants as I am only allowing the value to be updated on leaf nod

Re: BestPractice : Use of the Editor Framework with MVP (Place, Activity) and RequestFactory

2011-02-08 Thread Thomas Broyer
On Tuesday, February 8, 2011 3:18:46 AM UTC+1, Colin Alworth wrote: > > The only concerns I had were for events that might have already been wired > up, say from something implementing HasEditorDelegate, but it should be the > implementing class's responsibility to clear out old registrations..

Re: BestPractice : Use of the Editor Framework with MVP (Place, Activity) and RequestFactory

2011-02-08 Thread Thomas Broyer
On Tuesday, February 8, 2011 2:51:23 AM UTC+1, Y2i wrote: > > Thomas (and GWT team) > > If a view is a singleton (as recommended by MVP), are there potential > memory leaks with this approach? > Yes, but not related to the Editor framework (only to the fact that a singleton will still exist un

Partial bean validation

2011-02-08 Thread Lazo Apostolovski
Hello group. I use request factory to transfer entity, from client side to server site. Transfered entity should be validate and persisted. For entity validation I use JSR303 validation. But in different cases I need to validate different properties of the entity. JSR303 validation give opportu

Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Jānis Ābele
Hi, I couldn't find any documentation mentioning this. When I use service with overloaded methods I got: Feb 8, 2011 12:36:54 PM shared.CurrencyRequest com.google.gwt.requestfactory.shared.Request count() SEVERE: Method overloads found in type lserver.service.CurrencyDao named count: java.lang

Re: Do ValueProxies require EntityLocator ?

2011-02-08 Thread Thomas Broyer
Well, first, EntityProxy-s do not *require* Locator-s if you play by the "default rules". Similarly, ValueProxy-s do not require them either, unless you're not "following the default rules", which in this case sum up to having a zero-arg constructor (no ID, no version, hence no notion of "find"

Re: gwt-diagrams, can't draw connector properly

2011-02-08 Thread Anita Sharma
Hi Rohit, Please tell me the exact scenario so I can help it out. Anita On Sun, Feb 6, 2011 at 3:20 PM, rohit_kumar wrote: > Hi, > i am using gwt-diagrams to draw connection between two widgets. > But the connections are not drawn at proper positions. > i have verified the postion of connector

Load/Display KML file in GWT Google Maps

2011-02-08 Thread Irene
Hi all, I am developing a small project using GWT with embedded Google Maps. I have a KML file representing some 2D elements such as polylines and markers, so I would like to know if there is any way of loading these data from the GWT project and display it on runtime. I have found a Demo project

Re: Calling Window.getClientHeight() from Iframe returns wrong value

2011-02-08 Thread Oren
A fixed position is pretty problematic if the iframe has a large height value and the user is focused on the bottom of it (it will practically not show...). Is there a way to use the mouse postion? Re: FB API - I used this one: http://code.google.com/p/gwtfb/ Thanks, Oren. On Feb 8, 11:03 am, Th

ScrollPanel not taking the full height (100%)

2011-02-08 Thread al
I am getting weird behavior of ScrollPanel. It shrinks the height to some how ~50px. Here is my ui.xml. //style for setting height to 100% //style for setting height to 100% I am toggling (hide/show) between f

Re: Calling Window.getClientHeight() from Iframe returns wrong value

2011-02-08 Thread Thomas Lefort
This is an issue I never managed to solve in my FB apps, GWT or not. I am not even sure it is possible in fact. Let alone the simple fact that your iframe might be too far down the screen to even allow window centering. What I ended up doing is position the window centered in width and 100px down t

Re: Deprecation of DockPanel

2011-02-08 Thread Viliam Durina
For DockLayoutPanel you are not able to add children and let them take place as needed and leave the rest for the CENTER widget. In DockLayoutPanel you have to provide absolute width/height of east/west/ south/north widgets. We use standards mode and are still not able to move to DockLayoutPanel. O

Message disappeared?

2011-02-08 Thread oskar.kaver
Hi, I tried to post the below question a week ago but it still hasn't turned up on the forum. I received a copy of it but can't find it when I search the forum. Did I do anything wrong? Best regards Oskar -Ursprungligt meddelande- Från: goolie [mailto:oskar.ka...@teliasonera.com] Ski