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 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 above)? > > -- > You r

Re: UmbrellaException containing JavaScriptException

2011-01-01 Thread cmarsh...@avenue100.com
After writing code to catch the UmbrellaException and log it's stack trace this problem was caused by the PlaceController invoking the setWidget with a null widget. The code I wrote extending LayoutPanel did not check for this and invoked the LayoutPanel.add() method with the null widget. Modifyi

Re: "Autobean frozen" problem when reusing editors

2011-01-01 Thread Mike Guo
I am trying to reproduce this in a small example. However, it seems that this does not happen, when the ListEditor manages a list of LeafValueEditors, which is not the case in my application. I am a little bit confused about the whole LeafValueEditor-concept. Should my ListEditor always be comp

Multiple leftover fragments with a tree of code split points?

2011-01-01 Thread Ed
I am about to migrate 3 gwt app's to one gwt app. All gwt app's contain code split points, and I want to connect them with 3 code split points. I am a bit concerned about the left over fragment. From the documentation I understand that I only have one leftovers code fragment, which isn't very idea

Re: Multiple editors for the same object

2011-01-01 Thread Mike Guo
Editor can be flexible, it can be embedded, assembled and multiple editors for the same object is also possible. but first of all you have to organized it clearly, the key is separate the data from a view. -- You received this message because you are subscribed to the Google Groups "Google Web

How to disable a custom widget and its click handlers

2011-01-01 Thread Matthew Hill
Hi. I'm making a custom button widget. This button has a setEnabled method. When the button is disabled, clicking on the button must do nothing. How do I achieve this behavior? I've tried adding a Click Handler like so, to no avail: @Override public void onClick(ClickEvent event) { if (!isEn

Re: Happy New Year

2011-01-01 Thread Duong BaTien
Happy New Year to all participants in GWT, GAE and Objectify. On Fri, Dec 31, 2010 at 12:33 PM, Jeff Schwartz wrote: > Happy New Year to you all! > > -- > *Jeff Schwartz* > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post t

Re: Eclipse 3.7 and GWT plugin

2011-01-01 Thread Mark Renouf
Hi, I just happened across this thread because I'm testing Eclipse 3.7M4 and attempted to install GPE. I'm really glad you guys are on top of this now. I completely understand that it's too much effort to begin supporting Milestone builds. However, an RC build would be greatly appreciated, when

Re: iTunes-type display widget

2011-01-01 Thread jaybose
Great, do you have an example? The GWT showcase doesn't have anything like this. I looked and looked, didn't see any pure GWT demos that had this. On Jan 1, 3:22 am, Gal Dolber wrote: > Sure, you can do that with the new CellTable. > > Best > > > > On Sat, Jan 1, 2011 at 2:18 AM, jaybose wrote

Re: I18N - How to set locale per code?

2011-01-01 Thread andrew_d_mackenzie
I'd like to add my 2cents to the original question. Is there no other way to change locale than adding parameter to url and doing a refresh? -- 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-t

Re: iTunes-type display widget

2011-01-01 Thread Gal Dolber
http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellSampler On Sat, Jan 1, 2011 at 1:24 PM, jaybose wrote: > Great, do you have an example? > > The GWT showcase doesn't have anything like this. > I looked and looked, didn't see any pure GWT demos that had this. > > > On Jan 1, 3:22 am, G

Re: Transactions in Request Factory

2011-01-01 Thread Daghan
I have the same problem... I am going to google a solution but if I can't find one, I'll try to return a boolean for my persist() calls and try to delete the entities manually even they don't all succeed I guess I am just saying that I'll be mimicing the transaction logic on the client side... I

Re: Happy New Year

2011-01-01 Thread gopal bhalala
Happy New Year to all Best Regards & Thanking you, Gopal Dhanjibhai Bhalala On Sat, Jan 1, 2011 at 9:27 PM, Duong BaTien wrote: > Happy New Year to all participants in GWT, GAE and Objectify. > > > On Fri, Dec 31, 2010 at 12:33 PM, Jeff Schwartz > wrote: > >> Happy New Year to you all! >> >>

Re: Transactions in Request Factory

2011-01-01 Thread Y2i
This is interesting. Could you please share a more specific example? I haven't run into this problem yet. When I need to update multiple entities, I enable their parent for editing and then persist the parent. The children are persisted transitively, as described below: http://code.google.com/w

Re: Any clues on why my gwt project's compilation is so slow?

2011-01-01 Thread Thomas Broyer
It might be this: http://code.google.com/p/google-web-toolkit/issues/detail?id=5773 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group,

Re: requestfactory don't allow appengine parent relationship ?

2011-01-01 Thread Thomas Broyer
On Friday, December 31, 2010 12:18:44 AM UTC+1, Simon Majou wrote: > > I am using GAE and when I create an entity having parents with Request > Factory, I get this exception: > > com.googlecode.objectify.NotFoundException: No entity was found matching > the key: Key{kindClassName=com.pipo.MyEnt

Re: uibinder widget creation time

2011-01-01 Thread Thomas Broyer
FYI, what initializes the emailAddressBox field is not initWidget (which has nothing to do with UiBinder), but createAndBindUi. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@google

Re: session in gwt

2011-01-01 Thread Thomas Broyer
And both RemoteServiceServlet and RequestFactoryServlet have a getThreadLocalRequest static method... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe

Re: Transactions in Request Factory

2011-01-01 Thread Y2i
Ok, it looks as if I ran into this problem too. A parent has a lot of children. I query a few children using some criteria instead of accessing them through a relationship. Can I edit 2 children and persist them using a single request? Any advice on how to deal with this would be greatly apprec

Re: Happy New Year to the GWT team

2011-01-01 Thread Thomas Lefort
Yep, Prospero Ano Nuevo from Spain! keep on expanding GWT in 2011! It's great! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send e

Re: Use of GWT (+ JTS) + JPA + Postgis

2011-01-01 Thread Thomas Lefort
Hi Thanks for your reply, The point is I have created a map based web application using and retrieving Spatial data (Points, Polylines and Polygons) from a PostGis database. I developed it using PHP/JS and it quickly got unmanageable. So I decided to switch to JEE (at least the servlet container s

Re: How to disable a custom widget and its click handlers

2011-01-01 Thread rjcarr
If you are adding multiple handlers to your button then there isn't a propagation ... they are all sibling actions. So, what you're trying to do wouldn't work. I'm fairly sure the 'onBrowserEvent()' method is the initial event handling method. You would need to override this in your custom butto

Re: WebSocket support in GWT

2011-01-01 Thread rjcarr
I'm pretty sure websockets is an HTML5 feature that needs to be supported in the browser. Since it isn't yet well supported it likely isn't worth spending the time implementing it in GWT. If you're looking to implement push notifications then it is fairly trivial to do in GWT. I'm sure if you se

Re: How to disable a custom widget and its click handlers

2011-01-01 Thread Matthew Hill
That worked brilliantly. Thanks! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googl

Re: iTunes-type display widget

2011-01-01 Thread jaybose
Gal, I was not clear. I'm asking about displaying images, as in the way the album art is displayed in the following link. http://picasaweb.google.com/onyeje.bose/12302010#5557097507546443826 On Jan 1, 11:34 am, Gal Dolber wrote: > http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellSa

Request results with different resulting columns

2011-01-01 Thread jeremy rose
I'm using RequestFactory. My Proxy and Locator are mapped to a DTO. Things are fine until I start subclassing my DTO to contain more or less fields of the underlying JPA entity.For example, I change some of the static methods in my Locator to return BasicDTO which is a superclass of FullDTO wi

Re: Request results with different resulting columns

2011-01-01 Thread jeremy rose
I changed my approach to use ValueProxy for the related subsets of columns instead of inheritance and this seems to be working. That is, instead of FullDTO extending SimpleDTO, FullDTO has a SimpleColumnsSet which is a value object for a subset of columns I want to retrieve together. I'd still be

Re: onResize issue with IE 7

2011-01-01 Thread mike b
Thanks for posting such good information. I started to apply your code snippet to my project, but I have one additional problem: StackLayoutPanel. It uses a LayoutPanel internally, so I can't call forceLayout on that. Any ideas there? I'm about to download gwt source so that I can modify

checkbox in celltable header

2011-01-01 Thread Vagner Araujo
http://snipt.net/araujo921/checkbox-in-gwt-celltable-header -- * Vagner Araujo O PLANETA É O MEU PAÍS, E A CIÊNCIA É A MINHA RELIGIÃO ! INDO AO INFINITO E ALÉM... !! [image: logo.gif] * -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" grou

Re: onResize issue with IE 7

2011-01-01 Thread mike b
Doh! Looks like the above mentioned Issue link supplies a native javascript method to call the forceLayout(). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To un

Having multiple semi-autonomous .html pages vs single page with multiple Places ?

2011-01-01 Thread zixzigma
Hello Everyone, normally GWT apps are consisted of only one HTML page. this html page loads one or more scripts. User navigation is through manipulating the history tokens/Places. what if someone decided to implement the approach below: instead of having only one HTML page for entire application

Re: iTunes-type display widget

2011-01-01 Thread Matthew Hill
That's called CoverFlow. No, there isn't a built-in widget like that. You'd have either to find one on the internet or make your own. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...

Re: session in gwt

2011-01-01 Thread junaid
can you please provide me some example of this ,i ve searched it but didnt found any ,if you can please provide thanks On Sat, Jan 1, 2011 at 8:58 PM, Thomas Broyer wrote: > And both RemoteServiceServlet and RequestFactoryServlet have a > getThreadLocalRequest static method... > > -- > You recei

Re: problem while saving entity with collection while using RequestFactory :"sideEffects":{"DELETE"

2011-01-01 Thread Smithimage
Has anyone had any progress in regard to this issue? I am my self experiencing something similar (using 2.1.1) Thanks! On Nov 19 2010, 3:47 pm, will0 wrote: > Hi > > I'm having the same problem. I have a class named Survey which > contains a list of SurveyReplicates (see code below).  My app ed

Re: GWT with JPA located in a separate project

2011-01-01 Thread paxdei
Hello, you will probably need a separate gwt.xml module definition that points to the source package of your pojos I use to do it this way: 1. Create a Pojo.gwt.xml in your gwt project/org/mysite/core that contains a tag 2. In your main module definition, inherit this new org.mysite.core.Pojo

Re: Events not firing or caught, though handlers created successfully

2011-01-01 Thread paxdei
I suspect that the button widget is not properly added to the widget tree through parentHasWidgets.add(buttonWidget) Doing something like parentDomElement.appendChild(buttonWidget.getElement()) will display the button correctly but without any dom events being registered. regards On 31 Dez. 2010

Re: I18N - How to set locale per code?

2011-01-01 Thread paxdei
Static string internationalization means that the gwt compiler generates extra permutations for every locale/browser combination, and changing the locale on the client means replacing the currently loaded permutation with a different one, so I guess there is no other way. Anyway, you should be abl

Force RequestFactory to use different base url

2011-01-01 Thread Rohit Ghatol
Hi All, I am trying to use RequestFactory (http://code.google.com/webtoolkit/ doc/trunk/DevGuideRequestFactory.html) in my GWT Application. This application would be hosted at xyz.com (actually its embedded inside an Android client and loaded by Android's WebView using file://assets/ApplicationScaf

Re: session in gwt

2011-01-01 Thread leonardo britez
I needs a example, please. --- El dom, 1/2/11, junaid escribió: De: junaid Asunto: Re: session in gwt A: google-web-toolkit@googlegroups.com Fecha: domingo, 2 de enero de 2011, 12:15 am can you please provide me some example of this ,i ve searched it but didnt found any ,if you can please pro

Re: Activity vs Presenter division of responsibility for Data Access/Server communication ?

2011-01-01 Thread Y2i
On Dec 31 2010, 8:17 pm, zixzigma wrote: > Lets say we have an Activity which has a number of WidgetPresenters. > [*] > > who should be responsible for using RequestFactory for server > communication ? > is it the responsibility of Activity or the Presenters ? I follow the guidelines described

Re: session in gwt

2011-01-01 Thread Y2i
In any of your methods implemented by a sub-class of RemoteServiceServlet, just call HttpSession session = getThreadLocalRequest().getSession() On Jan 1, 9:46 pm, leonardo britez wrote: > I needs a example, please. > --- El dom, 1/2/11, junaid escribió: > > De: junaid > Asunto: Re: session i

Is there a way to avoid the colon(:) sign in a Place's prefix ???

2011-01-01 Thread karthik reddy
.#prefix:token Vs ...#prefix I am trying to achieve the latter. Is there a way to do it??? Making prefix empty using @Prefix("") does not seem to cut it. FYI: The new google groups UI which seems to have to been built using GWT, is success