Re: GWT Tutorial, and then ? How to learn reald world GWT development

2011-10-01 Thread Ashton Thomas
I wish Google would pay someone just to build sample apps (pick me, pick me!). The GWT community needs someone like Ryan Bates: http://railscasts.com/ Yeah, rails is a whole framework when GWT is nothing like that but samples that explain different things would help. The best thing about GWT se

Re: Create a VIEW layer for Widget and Composite

2011-10-01 Thread Paulo Coutinho
Hi. The problem is that i want put my "ui.xml" in a folder that is separated of ".java" files. Like a resources path or the "war" path. Can i put on WAR directory? Thanks man. 2011/10/1 benneq > You can simply put your .ui.xml file to another folder and tell > your .java file where it is: >

Re: RequestFactory and JSR 303 validator behavior customization

2011-10-01 Thread Thomas Broyer
While not made clear anywhere in the docs, I believe RF is designed around the idea that you'll use response objects to convey the success or error status. onFailure is more about unexpected exceptions. You can use a custom ExceptionHandler though to build the ServerFailure you'll receive in onF

Re: Is it possible to flush the sub-editor of a CompositeEditor ?

2011-10-01 Thread Jesse Hutton
If you have flushed the changes from the editor from your dialog form to your ChildObjProxy, you should just be able to call CellTable#redraw() on the instance used by your ListEditor to have the view refreshed. Jesse On Wed, Sep 28, 2011 at 10:46 PM, Eric Andresen wrote: > Hi Thomas, > You ar

Re: Create a VIEW layer for Widget and Composite

2011-10-01 Thread benneq
You can simply put your .ui.xml file to another folder and tell your .java file where it is: Here's a small code that will do it: @UiTemplate("RootUIDisplay.ui.xml") interface RootUIDisplayUiBinder extends UiBinder {} In words: You have to write an annotation for the UiBinder interface, to tell i

Re: Create a VIEW layer for Widget and Composite

2011-10-01 Thread Paulo Coutinho
Hi, I got do it. I create a file called: LoginForm.ui.xml for LoginForm.java And it works. But i need that this files are separated by theme folders or in a differente path from default. How i can do it? 2011/10/1 Paulo Coutinho > Hi, > > Im already have a GWT app with PHP and now i want

Copy all files to other place when build

2011-10-01 Thread Paulo Coutinho
Hi, I have a GWT app with PHP, but always that i change something in HTML or CSS and build the project this files are not copied to my PHP application path, but the code are copied (app.nocache.js), i have to change something to do it automatic instead of manual copy/paste? Please help me. -- A

Re: GWT Developer Plugin for Firefox 7

2011-10-01 Thread Fabricio Pizzichillo
me too 2011/10/1 emerix > Hello, > Would you mind sharing your xpi file ? I am on Ubuntu 64bit also and I am > having trouble compiling the plugin :-/ > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discu

Re: Best practices for security with GWT RPC

2011-10-01 Thread brad
First I would just say that it isn't really security on the client side. It is a purely aesthetic issue. You have to assume that the client side can see anything they want, unless you are conditionally loading UI code from the server side. The latter isn't terribly performant. So what you are r

GWT and TypedArray

2011-10-01 Thread David Given
So there's a new Javascript API, TypedArray. This provides efficient fixed-type arrays for primitive data types. For example, Int8Array stores only integers in the range -128..127. It occurs to me that these would be ideal for GWT's implementations of Java primitive object arrays. For example, the

Re: GWT Tutorial, and then ? How to learn reald world GWT development

2011-10-01 Thread Brandon@MediciGroup
I am struggling with EXACTLY the same sort of issue. The GWT dox are great, when viewed as separate small islands. The problem is they don't consistently interconnect with each other so they don't give you a solid "view" of what a well-architected GWT app looks like and how to build one from start

Re: ScrollPanel

2011-10-01 Thread Ashwin Desikan
you can change the style of the scrollbar, for all web-kit based browsers (chrome) you can use the following style. for example, I have a scrollable content with style as defined below. you can customize the scrollbar using ::-webkit-scrollbar .scrollableContent { overflow-x: auto;

CAS SSO

2011-10-01 Thread Brandon@MediciGroup
I'm working on a proof-of-concept in an effort to persuade my shop to move at least some of our development-efforts from other frameworks over to GWT. But one of the requirements is that our apps have to be able to authenticate against our CAS-server. I have tried mocking-up the web.xml similar t

Re: GWT Developer Plugin for Firefox 6

2011-10-01 Thread Tapas Adhikary
Firefox is talking about the version 10 by Nov 8,2011 (https://wiki.mozilla.org/Releases#Firefox_10) Whats the plan for the GWT dev plug-in development? Do you guys have any news on how this plug-in is going to cope up with this crazy release cycles of Firefox? -- You received this message

Issue with Overlay Types and JSON structure.

2011-10-01 Thread em3
Hi guys, I have a question about overlay types. I have a JSON with the following structure: "styles" : { "property1" : "value1", "property2" : "value2" } and I defined a method like: public final native JsMap getStyles() /*-{ return this.styles; }-*/ When I call the getStyles method

GWT Developer Plugin for Firefox 6.0.2

2011-10-01 Thread GWT Engineer
I was just forced to upgrade to Firefox 6.0.2. However, I'm unable to find a GWT Developer Plugin for Firefox 6.0.2. Where can I find it? 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 googl

Re: GWT Developer Plugin for Firefox 7

2011-10-01 Thread emerix
Hello, Would you mind sharing your xpi file ? I am on Ubuntu 64bit also and I am having trouble compiling the plugin :-/ Thanks! -- 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.goo

Re: RequestFactory and JSR 303 validator behavior customization

2011-10-01 Thread ungarida
My problem instead is the management of specific application runtime exception when I fire a request from client. For example FileNotFound on filesystem or DuplicateKey on db... How can I send a specific application error message throw RequestFactory framework? -- You received this message beca

Where does this Base64 Code in my output files come from?

2011-10-01 Thread benneq
Hi, I just wondered why my compiled files get bigger and bigger. Though I had a look inside the generated JavaScript code... I use ClientBundle with ImageResources for my icons. And I always thought that my application uses this generated composite .png file to render the images? I think I've neve

Adding widget to TabLayoutPanel tab

2011-10-01 Thread bryanb
Has anyone has any success in adding a widget, rather than simple text to a TabLayoutPanel tab ? (i.e using add(Widget child, Widget tab)) Something like this: TabLayoutPanel.add(new FlowPanel(), new CheckBox("blah")); TabLayoutPanel.add(new FlowPanel(), new Button("blah")); TabLayoutPanel.add(ne

Re: Any decent java.util.Calendar, Locale, TimeZone emulation?

2011-10-01 Thread Tom Carchrae
It does not exist and really makes me wonder. You may be interested in this http://code.google.com/p/datejs/ When I get a minute, I might write a GWT wrapper for it. Will that wrapper look like Calendar, most likely not. I have a deep hatred for Calendar. It is one of the abominations of Jav

Re: too much code: GWT Development with Activities and Places

2011-10-01 Thread Subhrajyoti Moitra
+1 for mvp4g. On Sat, Oct 1, 2011 at 3:18 PM, Rob wrote: > Hi, > > -> it would be interesting to see ... a full (albeit simple) > application in each framework. > > Take a look at this GWTP-based sample: > > -> http://gwt-cx.com/serendipity/Serendipity.html > > Cheers > Rob > > On Sep 29, 11:05

Re: too much code: GWT Development with Activities and Places

2011-10-01 Thread Rob
Hi, -> it would be interesting to see ... a full (albeit simple) application in each framework. Take a look at this GWTP-based sample: -> http://gwt-cx.com/serendipity/Serendipity.html Cheers Rob On Sep 29, 11:05 pm, Tom Carchrae wrote: > Mvp4g looks good, certainly more concise than GWTP.  W

Re: GWT 2.4 CellTable issue

2011-10-01 Thread Ionuț G. Stan
On Sep/30/2011 17:29, zip184 wrote: Downgrading to GWT 2.3 fixes the problem. I tried calling headerElement.setAttribute("style", "display: none") instead of removing the element, but that doesn't look the same (it still keeps a few pixels there). I'm aware that creating a CellTable and then ripp

Re: Any decent java.util.Calendar, Locale, TimeZone emulation?

2011-10-01 Thread David Given
On 01/10/11 10:15, maticpetek wrote: > Hello, > What about http://code.google.com/p/goda-time/ Thanks, but that doesn't emulate java.util.Calendar. -- ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ │ │ "Under communism, man exploits man. Under capitalism, it's just the │ opposite." ---

Re: Any decent java.util.Calendar, Locale, TimeZone emulation?

2011-10-01 Thread maticpetek
Hello, What about http://code.google.com/p/goda-time/ Regards, Matic -- GWT stuff twitter - http://twitter.com/#!/gwtstuff -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit htt

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-10-01 Thread Thomas Broyer
I don't remember if it matters or not (tried updating my project to 2.4 some time ago, haven't finished, and temporary tolled back) but is the .apt_generated in your build path? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view thi

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-10-01 Thread Jonas Zumkehr
When you run the application, you should get errors in the "Development Mode" or "Console" Tabs. Can you post them? You get there some good hints where to look for the problem. 2011/10/1 TULC > I had also assumed the verbose=false line wasn't necessary, but > unfortunately even with that option

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-10-01 Thread TULC
I had also assumed the verbose=false line wasn't necessary, but unfortunately even with that option I still get the same error. My steps are: - enable project specific settings (Java Compiler/Annotation Processing) - enable annotation processing - enable processing in editor - .apt_generated