Weird Error caused by GWT.getModuleName and gwt-platform

2012-02-10 Thread bconoly
Hey All, The subject may be misleading considering I'm working to integrate gwt-platform into our projects and something broke. I have no idea what caused it but I'm hoping someone on here may know. Below is the stack trace I'm getting basically saying that GWT.getModuleName failed...but

Re: Linker and Generator documentation

2011-08-03 Thread bconoly
The problem with that is that the GWT EventBus would be compiled separate for each module and I need them to understand each other when compiled independently. I'll continue to work on it and hopefully find something. -- You received this message because you are subscribed to the Google

Re: Linker and Generator documentation

2011-08-02 Thread bconoly
Well, that is kinda the plan, I was going to use a standard JS eventBus to facilitate the communication but I need to ensure that the event makes sense to both modules. If the compiled event is different for each then they won't understand what the event is. -- You received this message

Linker and Generator documentation

2011-08-01 Thread bconoly
Hey All, I have a use case where I need two different GWT modules (compiled separately) to communicate with each other and I'd prefer to do this seamlessly for the developer. My idea is to create an extension of the GWTEvent and extend it to create a GlobalEvent that when seen by either a

Re: Dev Mode gwt.rpc file

2011-06-20 Thread bconoly
Anyone? On Jun 17, 1:54 pm, bconoly bcon...@gmail.com wrote: Hey All,    I'm trying to write code to retrieve the serialization policy manually and ran into an issue.  My compiled GWT code outputs a gwt.rpc file indicating what can and cannot be serialized for my app but when I deploy dev

Re: Module Strong Name

2011-06-17 Thread bconoly
Yeah, didn't think it would be easy, I've resorted to getting the context and looking for the gwt.rpc file. So far I've only seen one per GWT compilation, would that change? Or is it always 1 gwt.rpc file? On Jun 16, 4:15 pm, Thomas Broyer t.bro...@gmail.com wrote: There's no easy way, because

Dev Mode gwt.rpc file

2011-06-17 Thread bconoly
Hey All, I'm trying to write code to retrieve the serialization policy manually and ran into an issue. My compiled GWT code outputs a gwt.rpc file indicating what can and cannot be serialized for my app but when I deploy dev mode that file is no where on my file system. Is this in some hidden

Module Strong Name

2011-06-16 Thread bconoly
I'm trying to do manual serialization of an object on page load and I have all my code to do it but I need to find the module's Stong Name. Does anyone know of an easy way to get this on the server without sending a request from the client? Thanks in advance, Brett -- You received this message

GWT 2.2 and FocusWidget

2011-03-28 Thread bconoly
Hey All, We recently upgraded to gwt 2.2 and one of our widgets that extends FocusWidget is no longer firing the onfocus and onblur events. Does anyone know why or how that could happen? If so, do you know a fix for it? Thanks -- You received this message because you are subscribed to the

GWT 2.2 and FocusWidget

2011-03-25 Thread bconoly
Hey All, I have a custom widget that extends the GWT FocusWidget. It is highly dependent on getting onFocus and onBlur events but unfortunately when I recently upgraded to GWT 2.2 it no longer fires these events. Does anyone have any idea what I can do to fix this or why this is happening?

Re: @AlternateMessage and null values

2011-03-25 Thread bconoly
Anyone? On Mar 24, 11:11 am, bconoly bcon...@gmail.com wrote: Hey All,    I'm trying to use the new @AlternateMessage annotation in my message interface to control messages when some values are null and some are not.  The javadoc for the AlternateMessage says it accepts Strings

Re: @AlternateMessage and null values

2011-03-25 Thread bconoly
Hmmm, nope didn't work, does the @AlternateMessage support handling null values? On Mar 25, 11:49 am, Jeff Larsen larse...@gmail.com wrote: Try @Optional in front of the strings that can be null. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

@AlternateMessage and null values

2011-03-24 Thread bconoly
Hey All, I'm trying to use the new @AlternateMessage annotation in my message interface to control messages when some values are null and some are not. The javadoc for the AlternateMessage says it accepts Strings but it doesn't seem to handle a null value whether I try to mark it with none or

GWT eclipse plugin doesn't recognize bundle resources on classpath

2011-03-09 Thread bconoly
Hey All, I just reinstalled the gwt eclipse plugin so I could start experimenting with the uibinder and what we like to do is separate out our static resources from our java files. In the standard maven way we put these resources in our src/main/resource folder which works great, is on our

GWT Incubator with GWT 2.2

2011-02-22 Thread bconoly
Hey All, Trying to upgrade to 2.2 and I'm getting a build error with an incubator dependency, does anyone know when a new build will be available? Thanks, Brett -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Adding DOM event handlers to elements

2011-02-20 Thread bconoly
Hey All, I need to add DOM event handlers (mouse over, mouse out, etc) to an Element object. I currently am adding them to a widget but unfortunately I need to add them to the element object and so far I can't do it. Does anyone know how I can accomplish this? Thanks, Brett -- You received

Using a Generator to write to nocache.js

2011-02-11 Thread bconoly
Hey All, I am extremely unfamiliar with using generators but I'm going to start experimenting. My biggest question though is that I want my generator to write JS code directly to nocache.js rather than individual permutations. Does anyone know how I can go about doing that? Thanks, Brett --

Re: local script variables in nocache.js

2011-02-03 Thread bconoly
If it helps any I need the following: nocache.js: this.resourceUrl = $resourceUrl; GWT jsni: /** * Returns the resource url set in nocache.js after it has been replaced by the template. */ private native String getResourceUrl /*-{ return resourceUrl; }-*/ Thanks On Feb 2, 8:16 am, bconoly

local script variables in nocache.js

2011-02-02 Thread bconoly
Hey All, I'm using GWT in portlets and I've run into a unique circumstance where I have an instanceable porltet being placed multiple times on the same page. Currently the url that I use to make my RPC calls is set as a global variable in the page and with 2 or more instances on the same page

wildcard in define-property

2011-02-02 Thread bconoly
Hey All, I have a property that can be just about anything and isn't preset to any 1, 2, etc values. I there a wildcard that I can use as values for the define-property element in the gwt xml? define-property name=prop values=*/ Thanks -- You received this message because you are

Re: Escaping { and } in GWT Messages

2011-01-19 Thread bconoly
Thanks, that was it. On Jan 19, 5:31 am, Thomas Broyer t.bro...@gmail.com wrote: As you would do with MessageFormat in non-GWT Java, as the JavaDoc for Messages and Messages.DefaultMessage points out:http://download.oracle.com/javase/1.5.0/docs/api/java/text/MessageFor... I.e. use '{' to

Escaping { and } in GWT Messages

2011-01-18 Thread bconoly
Hey All, I need to add a left { and right } to some of my messages and GWT keeps trying to replace them with a non-existent parameter. Does anyone know how I can escape these characters in the @DefaultMessage annotation? Thanks -- You received this message because you are subscribed to the

Re: RPC Get Requests

2010-12-21 Thread bconoly
-toolkit/search?group=googl... On Dec 20, 10:12 pm, bconoly bcon...@gmail.com wrote: Hey All,    We're having issues with our apache servers, IE, and post requests currently and a solution that someone came up with was to change all GWT RPC requests in our apps to GET rather than POST

Class.getName();

2010-12-20 Thread bconoly
Hey All, I'm having an issue trying to use Class.getName in my client side code. When I'm in dev mode it returns exactly what I want and everything works great. But after a compile Class.getName() ends up with something like Class$kSb or Class$aRb and I have no idea why. Does anyone happen to

Re: Class.getName();

2010-12-20 Thread bconoly
Thanks, that was it On Dec 20, 10:09 am, Thomas Broyer t.bro...@gmail.com wrote: Seehttp://code.google.com/p/google-web-toolkit/wiki/NoClassMetadataOptim... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

RPC Get Requests

2010-12-20 Thread bconoly
Hey All, We're having issues with our apache servers, IE, and post requests currently and a solution that someone came up with was to change all GWT RPC requests in our apps to GET rather than POST requests. To be honest I haven't done a lot of research into this but I was wondering if anyone

Re: Using REST with GWT

2010-11-05 Thread bconoly
We actually use a JAXB marshaller on our server to unmarshall responses from our rest services and then send those objects directly down to the client via GWT RPC. The way to accomplish this is to create a simple GWT project and copy and paste the jaxb source into it. Once done create your

Re: Invoking of clicking on html link (Thickbox integration)

2010-10-19 Thread bconoly
First off I'd recommend not using a 3rd party js library as it bypasses the benefits of the gwt compiler. GWT does have a DecoratedPopupPanel in its main library. If you need to call an external anchor from your app you can use a native JS call to do it. public static native void

Re: 2 Questions: getOffsetHeight ignores margin C ssResource doesn´t include css property

2010-10-06 Thread bconoly
I thought that getClientHeight took margin, padding and border into account while offset didn't. You may want to try that. I'm unfortunately not sure of the second question. On Oct 6, 12:17 am, Sandler smike...@gmail.com wrote: Hi guys, i´ve got 2 questions. I´m using getOffsetHeight to get

Re: How to merge 2 projects into 1?

2010-10-06 Thread bconoly
In order to get it to work you need to build the source jars of both client side apps and add them as a dependency to your gwt build. I use maven so this is pretty easy but I'm unsure how to do it with ant. Once you have this included you need to make sure that your gwt.xml files have the code

Re: How to use GWT RPC with Portlets?

2010-10-01 Thread bconoly
Unfortunately there's nothing supported through the main GWT library. We're doing the same but we had to implement our own JSR-286 portlet to support the rpc mechanism. Basically you can do a copy and paste of the gwt servlet and RPCServletUtils into a GWT Portlet and RPCPortletUtils respectively

Re: FlowPanel - Children are added from right to left #-)

2010-09-30 Thread bconoly
Unfortunately this doesn't have anything to do with GWT. Floating elements to the right always place the first element to the far right and the next to the left of it. One thing you could try is putting this elements in a span with display=inline-block and then floating that span to the right.

Re: How to import Expenses project into Eclipse?

2010-09-29 Thread bconoly
I haven't built it myself but you may want to 1) Make sure the M2_HOME is set in your eclipse variables (may have to search for it) 2) Run mvn eclipse:eclipse in your project directory 3) import an existing project into your eclipse ide. On Sep 28, 8:32 pm, Bayard Randel k...@bestpractice.net.nz

Re: CSS Opacity on IE8

2010-09-27 Thread bconoly
I believe there is a problem with GWT's dom implementation for IE 8. I found a workaround here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/bfeb810a63066989/6e70f7d7868c4440?lnk=gstq=bconoly#6e70f7d7868c4440 On Sep 27, 7:28 am, Nicolas ANTONIAZZI nicolas.antonia

Re: GWT 2.0 + maven

2010-09-27 Thread bconoly
This article may help: http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html On Sep 27, 5:12 am, aces2805 ace...@gmail.com wrote: Hi Guys,      Need help on configuring maven and GWT 2.0 no idea on how to handle Invalid GWT home, just a newbie in it. Thanks

Client side serialization and deserialization of GWT objects

2010-09-09 Thread bconoly
Hey All, I need to create an EventBus implementation that will serialize and deserialize event data objects solely on the client side to allow for event sharing between mulitple GWT modules on a single page. Does anyone know of an easy way for me to do that or possibly an example or

IE8 Style.setOpacity

2010-08-30 Thread bconoly
Hey All, It seems that IE8 uses -ms-filter to work opacity propertly and the Style function for setting opacity works great in all browsers but IE8. Does anyone know a workaround for setting the -ms-filter property via javascript? I've tried several: style.setProperty(MsFilter,

Re: IE8 Style.setOpacity

2010-08-30 Thread bconoly
Nevermind, I asked too soon, I ended up using: style.setProperty(filter, alpha(opacity \\= + (int)(opacity*100) + )); and it worked fine. On Aug 30, 3:55 pm, bconoly bcon...@gmail.com wrote: Hey All,    It seems that IE8 uses -ms-filter to work opacity propertly and the Style function

Is GWT's rpc eval() call safe?

2010-04-23 Thread bconoly
Hey All, I've been looking through the gwt code in an attempt to figure out if its call to the javascript eval() function is safe on rpc responses. So far I've seen that it natively calls the eval function in the ClientSerializationStreamReader class with an encoded response. Unfortunately I

Re: GWT enum comparison

2010-02-11 Thread bconoly
Thanks On Feb 10, 7:48 pm, Thomas Broyer t.bro...@gmail.com wrote: On 10 fév, 18:05, bconoly bcon...@gmail.com wrote: Hello All,     I have an enum in which I'm trying to use it's natural ordering. In the javadocs for the java enum I get that it's based on the order the enum constants

GWT enum comparison

2010-02-10 Thread bconoly
Hello All, I have an enum in which I'm trying to use it's natural ordering. In the javadocs for the java enum I get that it's based on the order the enum constants are declared so if I declare an animal enum as: DOG, CAT; then using DOG.compareTo(CAT) will tell me that dog comes before cat.

gwt maven and jetty caching

2010-01-26 Thread bconoly
Hey All, I'm using the gwt maven plugin to control my builds and the apache war plugin is built into it. Most of our visuals are controlled strictly by css and since our upgrade to gwt 2.0 we're having a horrible caching problem. In the docs for the war plugin it has a variable called

gwt rpc gzip response failing in FF

2010-01-07 Thread bconoly
Hey All, I've been using gwt and it's rpc requests for a while. All of a sudden some of my request started failing when everything on the server completed perfectly. After a while I checked firebug and the responses I'm getting back are sometimes gzipped and sometimes not. The problem is that

GWT 2.0 CSS dependency optimizer

2009-10-20 Thread bconoly
Hey all, I was watching a video from a google conference the other day and one of the presenters mentioned a CSS compiler that will be added to GWT 2.0. While this is compiling and optimizing the css will this also be creating a single sprite based off of the CSS background images and

Why doesn't igoogle use gwt?

2009-10-02 Thread bconoly
Hey anyone that can answer, An opponent of gwt in our office just asked me why igoogle doesn't use GWT and instead uses YUI. Does anyone know the correct answer to this? I just told them that it was probably created before GWT and hasn't converted or just doesn't have plans to convert to

Serializing interfaces in GWT Rpc

2009-08-14 Thread bconoly
Hey All, Just to set the background I'm currently using JAXB to parse xml when it's returned from the server and when I need to serialize the objects it obviously doesn't work because GWT doesn't have access to the jaxb source. In order to get the RPC objects serializing correctly I had

Re: Mouse Event Handlers on table rows

2009-08-11 Thread bconoly
I still haven't heard anything about this, I've tried everything from creating my own JavascriptObject to represent a TR to adding mouseover and mouseout attributes to the tr's themselves. Does anyone happen to know a way that I can accomplish this? Thanks, Brett On Jul 17, 11:24 am, bconoly

Re: GWT events, image overlays, and GChart

2009-07-30 Thread bconoly
the information you need? On 28 Jul., 21:52, bconoly bcon...@gmail.com wrote: Ok, this question may be confusing but I'll be as clear as possible.     - Currently I have a Pie Chart rendered using GChart.     - I would like to overlay a transparent image over the pie chart for a 3d effect.     - I

GWT events, image overlays, and GChart

2009-07-28 Thread bconoly
Ok, this question may be confusing but I'll be as clear as possible. - Currently I have a Pie Chart rendered using GChart. - I would like to overlay a transparent image over the pie chart for a 3d effect. - I need that overlay image to pass along hover events and click events to the

Re: HTML.getElement.setAttribute(style, background-color:...) not working in IE

2009-07-19 Thread bconoly
backgroundColor instead of background-color. You might also like to use the Style object, so you can write (IIRC): getElement().getStyle().setProperty(backgroundColor, color); better still (although I suspect only with trunk): getElement().getStyle().setBackgroundColor(color); Paul bconoly

Mouse Event Handlers on table rows

2009-07-17 Thread bconoly
Does anyone know of a way I can add Handlers to a TableRowElement? I've tried all that I can think of right now and I'm kinda stuck... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

HTML.getElement.setAttribute(style, background-color:...) not working in IE

2009-07-17 Thread bconoly
I'm trying to dynamically set the background-color of a div with a set width and height using the HTML.getElement.setAttribute(style, background-color: + color) method and it works fine in firefox but IE for some reason isn't getting the style attribute added to the div element. Does anyone have

overlay for dialog box

2008-09-11 Thread bconoly
Are there any plans to put an overlay behind dialog boxes when they are listed as modal? ...or is there already a way? Also, is there a fix for ie6's png transparency issue built into GWT? If you can't tell, I'm new to gwt, just some basic questions. Thanks in advance