Re: GWT 2.5 Cell rendering using uiBinder + image

2012-11-06 Thread Thomas Broyer
On Monday, November 5, 2012 10:38:09 PM UTC+1, Evgeniy Bogdanov wrote: On Monday, November 5, 2012 7:14:15 PM UTC+2, Thomas Broyer wrote: On Monday, November 5, 2012 4:23:56 PM UTC+1, Evgeniy Bogdanov wrote: Hi, Is there an any example - how to add image into Cell with UiBinder? There

Re: Change text of buttonCell in celltable

2012-11-06 Thread Thomas Broyer
On Monday, November 5, 2012 7:53:59 PM UTC+1, Deepak Singh wrote: Let's say you have some object that stores pending requests. To make things simple, let's use a SetHotelSearchDTO: final SetHotelSearchDTO pendingRequests = new HashSetHotelSearchDTO(); ColumnHotelSearchDTO, String bookCol =

Re: GWT 2.5 RC2 EntityProxy Validation

2012-11-06 Thread Thomas Broyer
On Monday, November 5, 2012 9:31:30 PM UTC+1, Jens wrote: Ouch! Totally forgot that you have to return the proxy on client side :( Well in that case you probably have to duplicate your validation annotations or implement the proxy interface in your entity as mentioned above. I would go

Re: GWT 2.5.0 backwards compatibility

2012-11-06 Thread Jordi Planadecursach Soler
Seems accetable to me, I think we'll give it a try. I keep you updated of the issues. Thanks for your answers, Jordi On Tue, Nov 6, 2012 at 4:59 AM, Colin Alworth niloc...@gmail.com wrote: There is one known issue that is affecting some users who update from GWT 2.4.0 to GWT 2.5.0

Re: GWT 2.5 RC2 EntityProxy Validation

2012-11-06 Thread Jens
Sounds like the rescue ;-) Indeed that works. -- J. Am Dienstag, 6. November 2012 10:13:59 UTC+1 schrieb Thomas Broyer: On Monday, November 5, 2012 9:31:30 PM UTC+1, Jens wrote: Ouch! Totally forgot that you have to return the proxy on client side :( Well in that case you probably have

GWT app crashing on iOS 6

2012-11-06 Thread Óscar Frías Barranco
Hello. Our GWT application crashes when running on an iPad with iOS 6.0.1. This is not related to the POST caching issue because we already added Cache-Control and Expires headers to GWT RPC replies and now they are not cached. We have debugged the app by adding Window.alert() calls and we

Re: iOS 6 Bug: Safari caches POST requests

2012-11-06 Thread Óscar Frías Barranco
Hello. We just override the method onAfterResponseSerialized from RemoteServiceServlet in the RPC services implementation and this fixes this issue: @Override protected void onAfterResponseSerialized(String serializedResponse) { HttpServletResponse response =

Absolute paths for ui:image in UiBinder

2012-11-06 Thread Adolfo Panizo Touzon
Hi all, I've seen there is a solution for ui:style herehttp://code.google.com/p/google-web-toolkit/issues/detail?id=7230;, but does someone know if there is a solution for ui:image, at least planned?? Thanks, Adolfo. -- El precio es lo que pagas. El valor es lo que recibes. Warren Buffet --

Re: GWT 2.5 Cell rendering using uiBinder + image

2012-11-06 Thread Evgeniy Bogdanov
Great! Didn't know that there could be several arguments in render method and all of them are matching parameters with exact the same name in uiBinder file. Actually found in documentation: https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder#Rendering_HTML_for_Cells (*UiBinder

Re: GWT 2.5 RC2 EntityProxy Validation

2012-11-06 Thread Chris Lercher
On Tuesday, November 6, 2012 10:13:59 AM UTC+1, Thomas Broyer wrote: Couldn't you simply override the methods and refine the return type? (Java has covariant return types) interface Employee { Employee getBoss(); } interface EmployeeProxy extends Employee, EntityProxy {

Re: gwt authorization in uibinder

2012-11-06 Thread Ümit Seren
It's not going to work. How should the client have a notion of server side authorization definitions? You will probably have to transmit the permissions to the client and deal with hiding/showing controls manually. But always make sure that you also protect/check your backend service calls.

How to invoke a service by url in the browser?

2012-11-06 Thread Milton Lima
Hi, Does anyone know how to invoke the service by URL in the browser using GWT? What does this annotation: @ RemoteServiceRelativePath (Service) thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: gwt authorization in uibinder

2012-11-06 Thread Joseph Lust
Like Ümit said, you can pass the authorizations provided by your Spring Security UserDetailsService to the frontend via an RPC or similar. Then you can decide in your presenters whether to show an element or not. If you want, you can store all your authorizations as an Enum and then you could

KeyPress handler does not working for chrome browser

2012-11-06 Thread lucky
Hi, i have added keypress handler for get textbox. its working for Mozilla browser but its not working for chrome browser. could any one help me on this. Thanks, Lucky -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: KeyPress handler does not working for chrome browser

2012-11-06 Thread Juan Pablo Gardella
Use KeyUpEvent. Keypress is not fully crossbrowser. 2012/11/6 lucky lucky.begum...@gmail.com Hi, i have added keypress handler for get textbox. its working for Mozilla browser but its not working for chrome browser. could any one help me on this. Thanks, Lucky -- You received this

Re: KeyPress handler does not working for chrome browser

2012-11-06 Thread Thomas Broyer
On Tuesday, November 6, 2012 5:05:55 PM UTC+1, Juan Pablo Gardella wrote: Use KeyUpEvent. Keypress is not fully crossbrowser. More accurately, keypress is only about printable characters, in all *but* Mozilla, where it's fired for each and every key event. Additionally, Mozilla fails to

GXT Canvas: What is the format to define a Font?

2012-11-06 Thread netCob
Hi, I'm trying to use the* com.google.gwt.canvas.client.Canvas Context2d setFont *(String fontString) method, but I didn't found any specification for the font string format. I tried getFont(), and I get 10px sans-serif... But for instance how set a Arial bold font? Thanks netCob -- You

Re: Built in GWT Widgets that require Constructor Arguments

2012-11-06 Thread Victor Lu
I have tried your suggestion, but it still doesn't work. There is no setResources method in Tree widget. @UiField(provided=true) is fine to work. 在 2011年5月18日星期三UTC+8下午9时09分04秒,Thomas Broyer写道: You have to use resources='{res}' to reference your res variable. -- You received this message

Re: GWT 2.5 GA is Here!

2012-11-06 Thread Dzmitry Paulenka
Hi. I was wondering what is the difference between source branches releases/2.5 and tags/2.5.0 in GWT svn repository? Particularly, why does maven version corresponds to releases/2.5 and not tags/2.5.0, as tags/2.5.0 seems to contain more recent changes. Is tags version available for addition

TreeItem not expanding on ensureSelectedItemVisible()

2012-11-06 Thread Alaukik Aggarwal
I have a tree like following: Tree - Root-1 + Child-1 (with a composite widget. On clicking +, the widget is shown that has a bunch of labels, textbox etc) + Root-2 + Root-3 Child-1 is added like: Widget child-1; root-1.addItem(child-1); Child-1 is a composite widget containing bunch

[ERROR] Unable to load class 'com.google.gwt.validation.rebind.GwtSpecificValidatorGenerator'

2012-11-06 Thread Jack Daniels
Guys, could you please help me understand why I cannot compile my old project ? It worked with 2.4. Here is the error I get Loading inherited module 'com.test.courierApp.AdminPanel' Loading inherited module 'com.google.gwt.user.User' Loading inherited module

Re: Change the mouse pointer

2012-11-06 Thread Paulo Martins
This post has been made a long time ago, but I found a nice solution and I hope that this helps many guys with the same problem. if (showWait) RootPanel.get().getElement().getStyle().setCursor(Style.Cursor.WAIT); else RootPanel.get().getElement().getStyle().setCursor(Style.Cursor.AUTO); This

Re: GWT app crashing on iOS 6

2012-11-06 Thread Óscar Frías Barranco
Hi again. We have found that compiling with -XenableClosureCompiler hides the problem or at least mitigates it. I have no idea about what Closure Compiler does to GWT generated javascript but apparently it is hiding iOS6 browser issues. Oscar El martes, 6 de noviembre de 2012 11:15:10

ImageBundle + PNG transparency + GWT 2.3

2012-11-06 Thread Jose María Zaragoza
Hello: I'm using GWT 2.3 and I've read that ImageBundle manages in a right way the IE5+ issue about PNG transparency ? Is it right ? Respect about others images not bundled ( background images in CSS ) , what do you recommend to fix this question ? Thanks and regards -- You received

Re: GXT Canvas: What is the format to define a Font?

2012-11-06 Thread Jens
It's the same as the CSS font syntax. http://www.w3.org/TR/2010/WD-2dcontext-20100624/#text -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Toggle Visibility of a Sidebar Element

2012-11-06 Thread Manuel
Hey, I try to toggle the visibility of a Element. But I dont get a resizing done :( I use a DockLayoutPanel: In the WEST I got a Sidebar. In the CENTER I got a Frame... I made the Sidebar invisible via: DOM.setStyleAttribute(SideBar.getElement(), display, none); But the CENTER dont take the

Re: Change text of buttonCell in celltable

2012-11-06 Thread Deepak Singh
Hi Thomas, I did something like that, boolean normalButtonClicked = false; // class variable ColumnHotelSearchDTO, String bookCol = new ColumnHotelSearchDTO, String(new ButtonCell()) { @Override public String getValue(HotelSearchDTO object) { return normalButtonlicked ? Loading… : Normal;;

Re: Toggle Visibility of a Sidebar Element

2012-11-06 Thread Alberto Mancini
Hi, actually this should work class MyDockLayoutPanel extends DockLayoutPanel { public MyDockLayoutPanel(Unit unit) { super(unit); } public void resizeWidget(Widget w, double newSize) { //XXX ensure it is a widget added to this this layoutpanel

Re: Toggle Visibility of a Sidebar Element

2012-11-06 Thread Andrea Boscolo
Actually DockLayoutPanel implements AnimatedLayout thus it has direct animation support. You simply need to use setWidgetSize(widget, size) and call animate() (if necessary). Or even simpler use setWidgetHidden(widget) with gwt = 2.5. On Tuesday, November 6, 2012 10:01:55 PM UTC+1, Manuel

Re: Problem with SuggextBox as table cell

2012-11-06 Thread jorge vasquez
Hi Christian Pelster ,I watched your code , because I need implement some similar and I could solved your problem , you should modify the method updateViewData some like this: private String updateViewData(final Context context, final Element parent, final ViewData viewData, final

GWT v2.4.0 Welcome Page in Hosted Mode AsyncCallback throws ClientSerializationStreamReader

2012-11-06 Thread Jerry George
Hi, I get the following error, com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.eval(Ljava/lang/String;)Lcom/google/gwt/core/client/JavaScriptObject; I am not sure how to trace this error. I am pretty new to GWT. *POM Dependency * dependency groupIdcom.google.gwt/groupId

Re: Deploy Module Button in Eclipse Juno (GWT SDK 2.5)

2012-11-06 Thread Guy Kroizman
Hi, sorry for raising the the dead. but I am looking for this too. though I am missing the button entirely. I have Juno on Windows 7 with Google Plugin for eclipse, Google Web Toolkit SDK 2.5, GWT Designer core, Editor and GPE. Anyone knows how I can get this button? On Friday, September 21,

Re: GWT 2.5 GA is Here!

2012-11-06 Thread Brian Slesinsky
In theory, they should be the same or very similar. What differences do you see? - Brian On Tuesday, November 6, 2012 3:48:47 AM UTC-8, Dzmitry Paulenka wrote: Hi. I was wondering what is the difference between source branches releases/2.5 and tags/2.5.0 in GWT svn repository?

Re: GWT v2.4.0 Welcome Page in Hosted Mode AsyncCallback throws ClientSerializationStreamReader

2012-11-06 Thread Jerry George
I checked the libraries in build path, I had two versions of GWT on it. That was the reason for the error. The pom was coded right. Library Stack: GXT 2.2.5 with GWT 2.5.0. Works perfect .. till now ;) *Solution:* Changed ${gwtVersion} = 2.5.0 and removed unnecessary libraries from build

Read file from /war folder?

2012-11-06 Thread markww
Hi, I have a text file in my war folder: /war |---notes |--- myfile.txt How can I read the contents of myfile.txt from my client code? Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view