Re: import common style rules?

2012-07-16 Thread Ed
Might it be an idea if the @ClassName annotation allows for an array of String value's (currently not possible)? This could solve the problems described above I think. Example: public interface WidgetStyle extends CssResource { @ClassName({"Bla", "General"}) String bla(); { } General will then

Re: Super Dev Mode: Is there a way to start the Super Dev Mode with a server other than the embedded Jetty?

2012-07-16 Thread Paul Robinson
On 14/07/12 19:34, Brian Slesinsky wrote: > > On Thursday, July 5, 2012 9:42:26 AM UTC-7, Thomas Broyer wrote: > > > > On Thursday, July 5, 2012 10:28:06 AM UTC+2, monkeyboy wrote: > > Thanks Thomas for the clarification. > I now understand that I must have two servers running

Re: GWT - dev environment ...

2012-07-16 Thread l.denardo
I'm also on Ubuntu since 10.10 with regular upgrades. Latest install is a 64 bit 12.04 + eclipse 3.7 indigo, no Unity (I prefer the traditional menus). I don't use WindowBuilder and GWT Designer, still I recommend having 8GB RAM to work without hassle, 4GB tend to get slow. Don't even think abo

Re: com.google.gwt.user.client.rpc.StatusCodeException: 12002 exception in IE8 (not Chrome or FF)

2012-07-16 Thread Wandile Chamane
i recieve same error any help would be greatly appreciated. On Monday, 9 January 2012 18:07:09 UTC+2, Ryan Groten wrote: > > We have a GWT 2.4 app that makes regular (every 5 seconds) async rpc calls > to request data from an httpd/tomcat web server. In Firefox and Chrome > everything works as

Re: GWT 2.4 AutoBean example not working

2012-07-16 Thread brent.r...@gmail.com
That worked. Thanks! We should get that added to the wiki documentation some how... On Monday, July 16, 2012 2:38:42 AM UTC-4, Thomas Broyer wrote: > > You need org.json classes in your class path. gwt-servlet-deps.jar > contains them if you need it. -- You received this message because you a

Re: GWT 2.4 AutoBean example not working

2012-07-16 Thread Thomas Broyer
On Monday, July 16, 2012 12:53:47 PM UTC+2, brent...@gmail.com wrote: > > That worked. Thanks! > > We should get that added to the wiki documentation some how... > It should no longer be a problem with 2.5.0-rc1, as org.json classes are now bundled into gwt-dev.jar. -- You received this mes

Show Iframe of html server that was uploaded to a server first

2012-07-16 Thread Saik0
Hi @all, i have created a html file within my gwt app and uploaded it to a server. As a callback i retriev the server url from this file. Now i wan't to display this html file into a iframe with the com.google.gwt.user.client.ui.Frame Widget. This Widget is a child of the DialogBox Widget. If

Official gwt git repository

2012-07-16 Thread Konstantin Solomatov
In the talk on GWT at Google I/O 2012 it was mentioned that GWT is transitioned to git repository. Unfortunately, I can't find a reference to the repo on the gwt homepage. When will it be published? -- You received this message because you are subscribed to the Google Groups "Google Web Toolki

Re: Official gwt git repository

2012-07-16 Thread Thomas Broyer
On Monday, July 16, 2012 2:10:56 PM UTC+2, Konstantin Solomatov wrote: > > In the talk on GWT at Google I/O 2012 it was mentioned that GWT is > transitioned to git repository. Unfortunately, I can't find a reference to > the repo on the gwt homepage. When will it be published? Not before Ray c

Re: Debugging is terribly slow

2012-07-16 Thread Magnus
Am Sonntag, 8. Juli 2012 00:40:59 UTC+2 schrieb Jens: > > I am not aware of any but its not that hard I guess. Following your > information you could create: > > - GameArea.gwt.xml > - DevGameArea.gwt.xml > > - Chat.gwt.xml > - DevChat.gwt.xml > > What's the idea behind having two modules for each

Re: Debugging is terribly slow

2012-07-16 Thread Magnus
Am Montag, 9. Juli 2012 02:53:03 UTC+2 schrieb Shawn: > > > Do others have this problem, too? > > No I didn't at all, and then suddenly I did. Virtually unusable. > > The difference was I upgraded to EE IDE for Web Developers and the > validation it does really messed me up. > > I turned eve

Re: Debugging is terribly slow

2012-07-16 Thread Magnus
> Curious though, what chess rules engine are you using? I was wondering if > it was a big heap of Java you're compiling to JS, in which case it may be > the culprit of your slowness. > I am not sure what you mean with rules engine. The validation of moves is done on the server side. It does

Re: import common style rules?

2012-07-16 Thread Abraham Lin
Why don't you define a CSSResource with the shared rules and import it where needed? See https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#Imported_scopes (and possibly https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#Shared_scopes depending

Re: Debugging is terribly slow

2012-07-16 Thread Jens
> > What's the idea behind having two modules for each area (non-dev and dev)? > The dev version contains an declaration that can start and show your smaller part of the app as described in my original post. So GameArea acts als library and DevGameArea is a small app that shows you the GameAr

Orphan removal with RequestFactory

2012-07-16 Thread bond
Hi guys, I'm using Hibernate + Gw's Request factory. I've a problem using a class with a list of object like this: @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true) private Set scadenze = new LinkedHashSet(); It's seems that orphanRemoval don't work with Reque

Re: GWT - dev environment ...

2012-07-16 Thread g p
I have been using Ubuntu x64 and GWT/Eclipse for three years at as my work dev environment. Have upgraded both Ubuntu, Eclipse, all this time, to the latest versions. Never used the WindowBuilder (was not even free when I started this project, so had to stay away from it). As previous messages sai

Re: Orphan removal with RequestFactory

2012-07-16 Thread Jens
And whats actually your problem? Or do you have the exact same problem as in the linked discussion? How is your setter implemented? In the linked discussion the problem is pretty much that the setter is implemented like public void setChildList(List childs) { //dereferences the original (hibe

Re: Orphan removal with RequestFactory

2012-07-16 Thread bond
Hi, I'm in this scenario. There is the class A that has a list of object of class B. I've a Ui where I can add and remove (for every object A) object B. Where I remove object B from A and then persist, in my database is removed the association from A -> B but the entity B is still in the table!

Re: Super Dev Mode: Is there a way to start the Super Dev Mode with a server other than the embedded Jetty?

2012-07-16 Thread Brian Slesinsky
On Mon, Jul 16, 2012 at 12:50 AM, Paul Robinson wrote: > I believe Thomas is referring to my posts in this thread: > > https://groups.google.com/d/topic/google-web-toolkit/ZugfWpwnXJs/discussion > > The idea is that, since the code server provides http access to all the > compiled code including g

RequestBuilder and Browser same-origin-policy

2012-07-16 Thread Deepak Singh
Hi All, I have a situation as follows, Environment: GWT 2.5 , GAE 1.7 I have to make a POST request to 3rd part server which in turn returns XML. I am doing this with RequestBuilder but it does not work and return status code 0 and responseText as blank on firefox and fails with an error becau

RestyGWT and JERSEY

2012-07-16 Thread nesrine doghri
Hi ,Does anyone have an example of how to use RestyGWT and JERSEY together ? -- 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 ema

Re: import common style rules?

2012-07-16 Thread Ed
Thanks for pointing out these concepts but can you be more concrete on how this can solve my problem listed above? I know the @Share and @Import concepts and use them, but as far as I know I still have to set a additional shared style name in java code on the widget as explained above. This is

Re: import common style rules?

2012-07-16 Thread Thomas Broyer
There's no "mixins" in CssResources. We floated the idea of integrating Closure Stylesheets with ClientBundle, but despite general traction I don't think anyone actually started working on it. On Sunday, July 15, 2012 2:47:47 PM UTC+2, Ed wrote: > > I have a few style rules like for example: > -

Flow charts in GWT

2012-07-16 Thread Bharath Kumar
Hi, I am new to GWT. Can someone point me out some good GWT library for drawing FlowCharts. ~Bharath. -- 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-t

Re: RequestBuilder and Browser same-origin-policy

2012-07-16 Thread kim young ill
you can have a look at apache http-client or if it's simple, just the built-in httpurlConnection of the jdk hth On Mon, Jul 16, 2012 at 7:28 PM, Deepak Singh wrote: > > Hi All, > > I have a situation as follows, > > Environment: GWT 2.5 , GAE 1.7 > > I have to make a POST request to 3rd part se

Re: import common style rules?

2012-07-16 Thread Ed Bras
@Thomas: thanks for your input. Not sure what to do now. Is it worth adding an issue Enhancement request: "adding more CSS flexiblity, adapting most common Google Closure StyleSheet functionality" ? (I couldn't find any Closure CSS issues) -- You received this message because you are subscribed

Re: Flow charts in GWT

2012-07-16 Thread Dennis Haupt
take a look at the google chart ypi. there's a gwt wrapper for it Am 16.07.2012 21:10, schrieb Bharath Kumar: > Hi, > > I am new to GWT. Can someone point me out some good GWT library for > drawing FlowCharts. > > ~Bharath. > > -- > You received this message because you are subscribed to the Go

Re: RequestBuilder and Browser same-origin-policy

2012-07-16 Thread Deepak Singh
Does anyone of them allow form submission with POST method and get the response without page refresh ? Thanks Deepak On Tue, Jul 17, 2012 at 12:44 AM, kim young ill wrote: > you can have a look at apache http-client or if it's simple, just the > built-in httpurlConnection of the jdk > > hth > >

Cannot compile from command line

2012-07-16 Thread kratzbaumkordel
Hi, my problem is that I'd like to compile my GWT project in a batch file which doesn't work. The same project compiles in Eclipse with GWT plugin without any problem (so the problem should't be about GWT client package issues). The compilation fails with message: Errors in 'file:path/to/entry/

Re: RequestFactory VS Cloud Endpoints (App Engines Java Rest API)

2012-07-16 Thread Kevin Moore
As Promised... For some reason... do the following... *Assumptions..* - You have the Latest Eclipse(Juno) - You have installed all the latest APPEngine SDK 1.70 - You have Java SDK 1.70 at least.. - You Created a POJO - You Generated your endpoint class by right-clicking on the

Is it possible to use images in the new UIBinder cell rendering feature?

2012-07-16 Thread Brad Leupen
Hey there, I'm experimenting with the new 2.5 UIBinder Cell Rendering functionality. So far it's working well except that i can't see a non-sprite way to use images in my template. Am i missing something? Thanks! Brad -- You received this message because you are subscribed to the Google Group

Drag Image of LayoutPanel is terrible... can I do something with this!?

2012-07-16 Thread MichaƂ Huszcza
Hello, When I set: final LayoutPanel layoutPanel = new LayoutPanel(); layoutPanel.add(new Label("Drag Widget")); layoutPanel.setHeight("50px"); layoutPanel.getElement().setDraggable(Element.DRAGGABLE_TRUE); layoutPane

Re: RequestBuilder and Browser same-origin-policy

2012-07-16 Thread kim young ill
hmm, not sure if i understand u correctly: "make a POST request to 3rd party originating from my own server" . u just need to make a http request to the target host with required params , i asume you do it from server with jdk, so no dom/js is required, that also means no refresh... hth On M

Re: GWT - dev environment ...

2012-07-16 Thread Nick Floros
Guys, Thanks for your comments; I used VMs to simply test various LINUX distro with eclipse +GWT + WindowBuilder; need to include WindowBuilder / GWT Designer in an attempt to accelerate learning of UI building plus entice colleagues from .net universe) will opt for ubuntu 10.10 Inter

Re: import common style rules?

2012-07-16 Thread Jens
If I use a widget of yours I would be totally fine with it if your widget has two or more css classes applied to define its look and feel/position. If I want to overwrite your css I would add an additional css class of my own CssResource to your widget or I would reference your widget through my

Re: RequestBuilder and Browser same-origin-policy

2012-07-16 Thread Jens
Creating a GWT "proxy" service that is accessible under your domain is probably the best you can do. So you would post to your own server and then make a call from your server JVM to the 3rd party server. -- J. -- You received this message because you are subscribed to the Google Groups "Goog

NULL Points + Fire Fox

2012-07-16 Thread Sean
So I made a bone head mistake and had a null pointer error. essentially I had user = loadUser(); if( user == null) { Make login screen } else{ populate user } if(user.name == Sean) { do something } So obviously that nulls out if I'm not logged in. Here's the rub, it worked fine in de

Re: NULL Points + Fire Fox

2012-07-16 Thread Paul Stockley
I can tell you that if you are working in anyway with JSO objects, devmode will mask out null pointer exceptions. Maybe this is related. The problem has to do with the JS method devmode uses to execute the JSNI code in the browser. The stupid JS spec says if an object is null just do nothing, Wh

Re: RequestFactory VS Cloud Endpoints (App Engines Java Rest API)

2012-07-16 Thread YatiRaj B
Hi Kevin, Deeply appreciate your reply as promised! :) I'll check if it works for me very soon today and let you know... just started the day :P Thanks again! Raj. On Tue, Jul 17, 2012 at 1:27 AM, Kevin Moore wrote: > As Promised... > > > For some reason... do the following... > > *Assumptio

Re: Is it possible to use images in the new UIBinder cell rendering feature?

2012-07-16 Thread Thomas Broyer
On Monday, July 16, 2012 10:23:00 PM UTC+2, Brad Leupen wrote: > > Hey there, > > I'm experimenting with the new 2.5 UIBinder Cell Rendering functionality. > So far it's working well except that i can't see a non-sprite way to use > images in my template. Am i missing something? > You can use a

Re: NULL Points + Fire Fox

2012-07-16 Thread Thomas Broyer
On Tuesday, July 17, 2012 2:53:13 AM UTC+2, Paul Stockley wrote: > > I can tell you that if you are working in anyway with JSO objects, devmode > will mask out null pointer exceptions. Maybe this is related. The problem > has to do with the JS method devmode uses to execute the JSNI code in the