Re: GWT Serialization

2012-10-15 Thread Manuel Carrasco Moñino
What you want is easy to do using requestbuilder + autobeans. Autobeans are thought to handle json string representations and convert them to javaobjects, they work in server and client sides and are full testable. http://code.google.com/p/gwt-autobean-binding/

Re: GWT Junit Test

2012-10-15 Thread Manuel Carrasco Moñino
It seems you dont have defined the rpc servlet in the com/TestGreeting.gwt.xml used for testing If you want to take a look how a rpc test looks like you could take a look to the example test generated by webAppCreator: /path_to_gwt_sdk/webAppCreator -maven -noant -out hello com.example then

Re: RequestFactory in a offline Szenario?

2012-10-15 Thread Ümit Seren
I have a question not directly related to the offline functionality. Is there any good reason to use a UI class (LoadingIndicator) directly in the OfflineAwareRequestTransport class instead of just using an event (LoadingIndicatorEvent) on the global event bus and let the application handle

Re: Googlebot dissing my GWT app

2012-10-15 Thread rhodebump
That meta tag did the trick. Thanks very much On Friday, October 12, 2012 8:52:32 AM UTC-4, rhodebump wrote: I will give that a shot (adding the meta tag). I did not think that was nessary since all my links on that page did use the hash bang syntax. Thanks very much. If this works,

Re: @sprite for background-image only?

2012-10-15 Thread rhodebump
Awesome, i will give it a shot! Thanks On Monday, October 8, 2012 8:06:38 PM UTC-4, Thomas Broyer wrote: On Monday, October 8, 2012 11:58:05 PM UTC+2, rhodebump wrote: Hello, I am trying to use the @sprite annotation to help reduce my image downloads. I have the following css, which

TextInputCell: Tab not working properly in IE9

2012-10-15 Thread Bhumika Thaker
Hello, I need a tabbing in celltable. So, I have applied a tabIndex to TextInputCell by using template and create edit textbox wrapper. It is not working properly in IE9. Code: public class NTGridEditTextCell extends TextInputCell{ interface Template extends SafeHtmlTemplates {

Re: How to add scroll vertically in celltable?

2012-10-15 Thread Tomek Kańka
W dniu niedziela, 14 października 2012 17:32:52 UTC+2 użytkownik Andrei napisał: Use DataGrid instead of CellTable. or put CellTable in ScrollPanel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

HTML without a DIV

2012-10-15 Thread JeanV
I need to attach pure HTML to a FlowPanel and do not want to the HTML item to be surrounded by div or span - I'm basically using a third-party library that will dynamically look for items (a, img, p and others) within my panel and will break if it encounters a div or span. I've looked around

Re: HTML without a DIV

2012-10-15 Thread JeanV
and I cannot use UIBinding as this is a list of multiple items generated dynamically by a for loop. Need to also create h1 without putting it in a div On Monday, October 15, 2012 5:19:07 PM UTC+2, JeanV wrote: I need to attach pure HTML to a FlowPanel and do not want to the HTML item to be

Re: AutoBean polymorphism support

2012-10-15 Thread Andrea Boscolo
Thanks, you confirmed my suspicions. Are you saying I can use Splittable to achieve polymorphism? How? Have you ever tried? Of course I can somehow get rid of polymorphism in my classes, but I'd rather do not. On Saturday, October 13, 2012 1:41:46 PM UTC+2, Thomas Broyer wrote: No, AutoBean

Re: HTML without a DIV

2012-10-15 Thread Abraham Lin
One possibility is to replace the FlowPanel with an HTML widget, generate a SafeHtml instance containing your raw HTML, and then call the #setHTML method. You could also build the markup using the DOM API, though that will almost certainly be slower and more verbose. GWT adds wrapper DIV/SPAN

Re: Firefox 16 GWT Plugin

2012-10-15 Thread Thad
On Friday, October 12, 2012 7:07:21 PM UTC-4, Thomas Broyer wrote: ... MissingPlugin page has been updated for Firefox 16: http://gwt.google.com/samples/MissingPlugin/MissingPlugin.html This is working for me with openSUSE 12.2 32-bit and Windows 7 64-bit. Thank you. -- You received

TextInputCell: Tab not working properly in IE9

2012-10-15 Thread Andrei
Try setKeyboardSelectionPolicy(KeyboardSelectionPolicy.DISABLED) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dxb9XhmIm3QJ. To post to this

Re: How to override CellTable css

2012-10-15 Thread Nagesh Salunke
While using this i am getting No source code is available for type Resources.CellTableResources; did you forget to inherit a required module? Help.. On Sunday, 28 November 2010 20:05:07 UTC+5:30, savilak wrote: That is correct, you also need the following: CellTableResource resource =

How to (locally) disable method pruning by the GWT compiler?

2012-10-15 Thread erik
Hey everyone, I'm currently researching ways to implement communication between two separate GWT modules within a host page. I know it's generally possible using JSNI, exporting of Java functions (via gwt-exporter or manually) and overlay types (JavascriptObject and so on). However, due to

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-10-15 Thread Benjamin Possolo
Reverting to Chrome 21 worked for me but the fact that Google Chrome auto-updates means I always have to use this browser and I can never quit the browser either. This is so stupid. Google, please allow users to easily disable auto-update for christ's sake. Its ridiculous that we always have to

Re: GWT 2.5 RC2 Is Here!

2012-10-15 Thread manoj kumar
Hi, I started having a problem in 2.5.0 RC2 while using TabLayOutPanel using UIBinder and selecting a default layout programatically. I keep getting the following exception. Caused by: java.lang.AssertionError: Index out of bounds at

Re: GWT Serialization

2012-10-15 Thread Manikanda raj S
Hi Manolo, Thanks for the links. But i have been using GWT RPC in my Application for quite some time and it would be a pretty big work to migrate all those from GWT-RPC Serialization to Autobeans or json databinding. That's why i specifically asked for GWT Serialization externally. Any ideas on

Grid with td rowspan=2

2012-10-15 Thread qinyc
I'm maintaining code to display a g:Grid. How could I generate code like this: td rowspan=2 using either UIBinder or JSNI? (No FlexTable) Thank you. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

GWT Forum Moderation Policy

2012-10-15 Thread Bhaskar Janakiraman
Please note, we have a light-weight moderation policy in effect currently: posts from new members are moderated for spam and recruiting email before being posted. Please use the google-web-toolkit-employmenthttps://groups.google.com/forum/#!forum/google-web-toolkit-employment forum to post

Re: GWT RPC synchronic calls

2012-10-15 Thread Sebastián Gurin
just published some notes about how getting started with syncproxy and eclipse + google plugin for testing GWT services synchronously: http://cancerberonia.blogspot.com/2012/10/testing-gwt-service-classes.html -- You received this message because you are subscribed to the Google Groups Google

How to intercept this event : A click on a ScrollPanel's scrollbar ?

2012-10-15 Thread regnoult axel
Hello, I do not how to intercept a click on a scrollbar.I can intercept a wheel event, but I need to solve the case where the user would do a click on the scrollbar. I am using a scrollPanel, could you tell me how to acheive this ? Thanks you, Regards, -- You received this message

Re: How to (locally) disable method pruning by the GWT compiler?

2012-10-15 Thread Manuel Carrasco Moñino
AFAIK there is no a standard way to say the compiler which classes/methods leave in your js code except from using them, apart from obfuscate names, the compiler will remove any single method you dont use in your code, and even it could inline certain method calls. Said that, I think a way to

Re: GWT Serialization

2012-10-15 Thread Manuel Carrasco Moñino
So, I dont follow you. If you want to generate serialized strings in server side, you have to maintain the dependence with gwt rpc there, so why dont continuing using rpc-servlets, actually they serialize/deserialize to strings, and the same in the client side. As you say CORS works well with RPC.

[gwt-contrib] Re: Add java.lang.reflect.Type to GWT. (issue1855803)

2012-10-15 Thread skybrian
We have no plans to support reflection in client-side code. What problem are you trying to solve? http://gwt-code-reviews.appspot.com/1855803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add java.lang.reflect.Type to GWT. (issue1855803)

2012-10-15 Thread jat
http://gwt-code-reviews.appspot.com/1855803/diff/1003/user/super/com/google/gwt/emul/java/lang/reflect/Type.java File user/super/com/google/gwt/emul/java/lang/reflect/Type.java (right):

[gwt-contrib] Re: Add java.lang.reflect.Type to GWT. (issue1855803)

2012-10-15 Thread Brian Slesinsky
I'm not sure this is worth doing. It's not just a matter of approving the change; the Class class is handled specially in GWT and it would take me a while to prove that it's safe. Also, this doesn't seem like a particularly good design practice to support. Shared code should work on both client

Re: [gwt-contrib] Re: Add java.lang.reflect.Type to GWT. (issue1855803)

2012-10-15 Thread Ray Cromwell
If you really want to do this, I'd advocate just shadowing the class put super-sourcing your own implementation of java.lang.Class. Probably adding an empty method that always returns null is safe, because it'll just be promoted to a global static function and inlined as 'null', e.g.