Re: Strange bug with Editor and context.create() (With code example)

2012-02-19 Thread Redhuan Daniel Oon
Thomas Broyer t.broyer@... writes: On Friday, June 3, 2011 2:45:15 AM UTC+2, pjulien wrote:UserProxy editable =request.edit(request.create(UserProxy.class));That's your problem right there.  You don't call RequestContext#edit()on the proxy that's returned from RequestContext#create It

GWT Version 1.7 and eclipse compatibility

2012-02-19 Thread Chris
Can 1.7 be run with eclipse 3.7 (indigo)? When I install the 3.7 plugin, our project breaks. 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-toolkit@googlegroups.com. To unsubscribe

CssResource question: Can I add complete rules from a stylesheet to another within a css class without rewriting it partly?

2012-02-19 Thread kiiu.rib
Hi there, I want to use CssResource for our project. I already built some cool things with that n1 stuff. Now I came across a question I couldn't find an answer in a satisfactory manner by myself. I try to explain what I want to do. My project organisation looks like the following:

Making RPC call from a Web Worker

2012-02-19 Thread Paul
I have a working web worker and I am trying to make an RPC call from it, without success (RPC works fine in non-worker code). I have found some technical instructions http://code.google.com/p/infobarn/wiki/TechnicalInstructions which relate to using RPC in a web worker. I have covered all their

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

2012-02-19 Thread agzamovr
I also noticed that -strict flag should not be used for GWT compiler. Compiler prints error message but code works well... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: No type for token

2012-02-19 Thread Masteriti
I have the same exact issue while expanding my test project to incorporate simple @Embedded value type. I have a simple Person entity with a few property fields (name, phone) I set up and got it to do all basic crud operations without any problems. I added an Address POJO as an additional

Not able to see GWT Designer view..

2012-02-19 Thread victor maisnam
Hi, I am new to GWT.. I have Eclipse 3.7 with GWT SDK 2.4.0 installed. I have successfully installed: 1) GWT Designer Core 2) GWT Designer Editor 3) GWT Designer GPE 4) WindowBuilder Core 5) WindowBuilder CSS Support 6) WindowBuilder XML Core Problems: 1) I am not able to see the Designer view

Re: Not able to see GWT Designer view..

2012-02-19 Thread Eric Clayberg (Google)
1) GWT Designer is an Editor, not a View. It won't just appear unless you open either a GWT Java or UiBinder file using the GWT Designer Editor. I would recommend reviewing the GWT Designer docshttp://code.google.com/webtoolkit/tools/gwtdesigner/index.html . 2) Based on your description, you

Re: Offline support for mobile devices

2012-02-19 Thread Daniel Kurka
mgwt ( http://www.m-gwt.com ) has a gwt linker that automatically creates a manfiest for each device (each GWT permutation) see: http://code.google.com/p/mgwt/wiki/HTML5Manifest A working demo: http://mobilegwt.appspot.com/showcase/# Note: not the entire gwt app is cached only the relevant

PlaceChangeRequestEvent Interception

2012-02-19 Thread Arash
I am trying to utilize the place framework for user authorization based on the requested place and the user privileges. Let's say if user is not allowed to be taken to Editing a profile, I want to send him to the homepage. PlaceChangeRequestEvent seems to be a good candidate to intercept the

Re: PlaceChangeRequestEvent Interception

2012-02-19 Thread Thomas Broyer
You could treat the request place just as if it were the homepage place, without actually changing it (and/or changing it afterwards, to put it in sync with what you're displaying; rather than the other way around). If you're using activities, simply return the same activities you'd return for

Re: PlaceChangeRequestEvent Interception

2012-02-19 Thread Arash
Thanks for the quick response. ActivityMapper sounds like a proper point to implement authorization. -- 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: Example and source of how I like to build wigets and use unit testing on them

2012-02-19 Thread Alfredo Quiroga-Villamil
Found the site to be really useful; loved the event binding link. Great work! Thanks, Alfredo On Sun, Feb 19, 2012 at 3:47 PM, Brandon Donnelson branflake2...@gmail.comwrote: I made a small demo of how I like to build units or widgets in GWT. I also show how I test those units.

GWT tutorial, UiBinder Hello World with Eclipse from Ground-up

2012-02-19 Thread infovation Associates
Hello sir, posting this link here since i think many newbies will be here hoping to learn GWT. *GWT UiBinder Hello world with Eclipse from Ground-up (without generated GWT Sample code project), but here we wont cover installation of Chrome or Eclipse or GPE, since there are tons of good

Re: Example and source of how I like to build wigets and use unit testing on them

2012-02-19 Thread Brandon Donnelson
Thanks. :) Brandon -- 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/-/uQuyxPNvMGsJ. To post to this group, send email to

Re: how to auto set the width of a widget in VerticalPanel

2012-02-19 Thread Brandon Donnelson
It should be verticalPanel.setWidth(100%); But check to see if all the parent widgets are 100% too. Maybe you're trying to use another widget? I'll set a borders on the widgets to see what is going. verticalPanel.addStyleName(test1); and .test { border:1px solid #FF; } Hope that helps,

Re: No type for token

2012-02-19 Thread Brandon Donnelson
I've had that too, but I can't remember what I did. Try cleaning your project. Is the valueproxy object referenced in request context. like: http://code.google.com/p/gwt-examples/source/browse/trunk_2012/DemoGwtEditor/src/com/gonevertical/client/app/requestfactory/PeopleDataRequest.java (or

Re: How to identify if any values in screen is changed by user

2012-02-19 Thread Brandon Donnelson
Activities and Places has a method to do this in the presenter too. Link the presenter up with the Editors. Brandon Donnelson http://c.gwt-examples.com http://arcbees.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

backend support

2012-02-19 Thread yashujn
Hi, I created a form in which user can write any thing (Knowledge sharing kind of thing) and i want to save that into the backend . I dont have any idea about backend support with gwt plz guide me which database or file system is supported by gwt and how to start with backend

Re: Facebook Like button

2012-02-19 Thread Brandon Donnelson
Here are some ways I've done it: http://code.google.com/p/gwt-examples/wiki/demogwtshare Brandon Donnelson http://c.gwt-examples.com http://arcbees.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: how to show the button in simpepager

2012-02-19 Thread Patrick Tucker
It is a ClientBundle which is an interface that defines the location of images, CSS files, and what not. Google GWT ClientBundle, how to create one is pretty well documented. In your case, extend Resources and override anything that you want different. On Feb 2, 11:09 am, tong123123

Re: RequestFactory complexity (Frozen Beans et. all)

2012-02-19 Thread Brandon Donnelson
Here is an example of using Activities Places, RequestFactory and Editors. http://c.gwt-examples.com/home/ui/places I find RequestFactory is quite simple once you master the 3 classes you need to get stuff done. It's by far superior to RPC. Brandon Donnelson http://c.gwt-examples.com

Re: Places Activities - best practice of asynchronous data loading

2012-02-19 Thread Brandon Donnelson
Great points Thomas. Just an excellent way to say that rule of thumb! Brandon -- 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/-/7OrN4WAah4oJ. To

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

2012-02-19 Thread agzamovr
BTW, i use *requestfactory-client+src.jar* and * requestfactory-server+src.jar* which contains source files of this libraries. Without this sources requestfactory doesn't works. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: help with overlaying panels

2012-02-19 Thread Brandon Donnelson
Try a PopupPanel -- 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/-/eonFwhPVSCYJ. To post to this group, send email to

Read Only DateBox

2012-02-19 Thread Craig Mitchell
Hi, A DateBox can be set to setEnabled(false), however, it does not have a setReadOnly(true). And calling dateBox.getTextBox().setReadOnly(true) does not work. This is annoying, as browsers do nasty things to the text color when you disable the field (which CSS doesn't seem to be able to

smartGWT

2012-02-19 Thread musicalmighty
How to connect to the PostgreSQL using smartgwt? -- 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: Hibernate ClassCastException in GWT hosted mode only

2012-02-19 Thread Artem V . Navrotskiy
This is Hibernate 4.0.0+ bug: https://hibernate.onjira.com/browse/HHH-7084 -- 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