How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Benjamin Bitdiddle
For a particular GWT module, I'm able to solve a problem in compiled mode by manipulating the JS object representing the Java object. (Specifically, I need to clone the object, so I simply create a new JS object, copy the properties from the original JS object, and assign a new hash value.)

Re: How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Thomas Broyer
On Tuesday, February 25, 2014 8:53:39 AM UTC+1, Benjamin Bitdiddle wrote: For a particular GWT module, I'm able to solve a problem in compiled mode by manipulating the JS object representing the Java object. (Specifically, I need to clone the object, so I simply create a new JS object,

Re: How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Benjamin Bitdiddle
Thanks for the quick response. I haven't tried it yet, but will soon. I want to use Object.clone() because I have a situation where I need to create a (shallow) duplicate of a Java class that differs from the original only by virtue of pointing to a different JS object (with one member). *The

RemoteLogging without RPC

2014-02-25 Thread google
Hi, We distribute our mobile application as a GWT mobile web application and as PhoneGap-wrapped native apps. We update our mobile web application on a daily base, and - based on it - create once per month a new version of the PhoneGap native apps. We like to use GWT Remote Logging (

Re: How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Benjamin Bitdiddle
On Tuesday, February 25, 2014 3:19:29 AM UTC-6, Thomas Broyer wrote: On Tuesday, February 25, 2014 8:53:39 AM UTC+1, Benjamin Bitdiddle wrote: For a particular GWT module, I'm able to solve a problem in compiled mode by manipulating the JS object representing the Java object.

Server-side message exchange

2014-02-25 Thread Aldo Neto
Hi, I'm trying to create a mechanism to exchange messages using a separate broker. In other words, I have a message broker and I need to let my server know when a message is arrived. What is the best way to do that? I'd also need to send messages through that broker too, so this should be a

Re: Server-side message exchange

2014-02-25 Thread Alain Ekambi
http://erraiframework.org/ ? 2014-02-25 12:25 GMT+01:00 Aldo Neto tumo...@gmail.com: Hi, I'm trying to create a mechanism to exchange messages using a separate broker. In other words, I have a message broker and I need to let my server know when a message is arrived. What is the best way

Error in expanding GWT Tree

2014-02-25 Thread Dominic Warzok
Hi, in my WebApp I use a GWT Tree. I have made a Button, when you klick this button the whole tree should be expanded / closed. But when I click the button sometimes a TreeItem does not close. When I debug this I can see that the open state is not changed but I called the method

GWT and SVG, the 125th... :-)

2014-02-25 Thread Magnus
Hi, I have been searching for SVG support in GWT for an long time. Now I have found something that seems to be exactly what I am looking for: http://svgjs.com/ - It's lightweight. - It supports importing SVG files. - The demo shows all the features I need (simple drawings, svg

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread Alain Ekambi
Also have a look at http://snapsvg.io/ 2014-02-25 14:31 GMT+01:00 Magnus alpineblas...@gmail.com: Hi, I have been searching for SVG support in GWT for an long time. Now I have found something that seems to be exactly what I am looking for: http://svgjs.com/ - It's lightweight.

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread Jens
Also have a look at http://snapsvg.io/ Oh that looks pretty cool. Worth a bookmark :) -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

GWT compiling tools: is there any way to get the graph of inherited modules? Even a simple flat list would be fine :-)

2014-02-25 Thread Davide Cavestro
Hi all, I am in the process of switching linker to Cross-Site-Iframe in order to obtain the compatibility with superdevmode, so I'd like to locate and remove the script tags from the modules I'm inheriting from (since this linker doesn't support them). Now I'm just wondering if there's an easy

Re: GWT compiling tools: is there any way to get the graph of inherited modules? Even a simple flat list would be fine :-)

2014-02-25 Thread Thomas Broyer
On Tuesday, February 25, 2014 3:25:47 PM UTC+1, Davide Cavestro wrote: Hi all, I am in the process of switching linker to Cross-Site-Iframe in order to obtain the compatibility with superdevmode, so I'd like to locate and remove the script tags from the modules I'm inheriting from (since

Re: GWT compiling tools: is there any way to get the graph of inherited modules? Even a simple flat list would be fine :-)

2014-02-25 Thread Jens
Not officially I think, but in GWT's code review tool there is a patch lingering around for a long time: https://gwt-review.googlesource.com/#/c/1210/ Not sure if it needs a little love again to work with GWT 2.6 but its probably a good starting point. -- J. -- You received this message

Different border for different cells

2014-02-25 Thread Davide Micheletti
Like title i would like to have different border for different cells in the same table.. I tried it but it doesn't work .table, .table td { border: thin groove; } .cell1 { } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Different border for different cells

2014-02-25 Thread Davide Micheletti
cell1{ border: 5px solid; } why it isn't working? Thanks On Tue, Feb 25, 2014 at 3:38 PM, Davide Micheletti d.michelett...@gmail.com wrote: Like title i would like to have different border for different cells in the same table.. I tried it but it doesn't work .table, .table td {

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread Magnus
Yes, it's cool! :-) But what about my question? :-) How to embed JS within GWT? Thanks Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread mark . erikson
There's two general approaches: 1) Write large JSNI methods that do all the interaction in Javascript 2) Use GWT's JavaScriptObject, subclass the library's objects, and write small JSNI methods that wrap individual methods of the JS object. There's supposed to be better JS interop coming in GWT

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread Jens
Should cover the most: http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html Personally I use ClientBundle + (External)TextResource + ScriptInjector to inject the JS code into the browser. -- J. -- You received this message because you are subscribed to the Google Groups

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread Magnus
Thanks, it covers most of the stuff relating to embed JS within Java code... But one important thing seems to be missing at the first sight: How to include a whole JS library into the GWT project and access its methods... Magnus -- You received this message because you are subscribed to the

Re: Server-side message exchange

2014-02-25 Thread Aldo Neto
Iteresting. Do you know if it works with ActiveMQ or RabbitMQ for sending/receiving messages to Android devices? Thanks On Tue, Feb 25, 2014 at 9:08 AM, Alain Ekambi jazzmatad...@gmail.comwrote: http://erraiframework.org/ ? 2014-02-25 12:25 GMT+01:00 Aldo Neto tumo...@gmail.com: Hi,

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread Jens
I have already said how to load it into the browser, so not sure what you mean. If you mean code completion in your IDE I have no idea how well Eclipse handles it. In IntelliJ it works pretty well. -- J. -- You received this message because you are subscribed to the Google Groups Google Web

Re: Development Mode will not be supported in Firefox 27+

2014-02-25 Thread Benjamin Bitdiddle
Would anyone like to follow up the last comment on the bugzilla thread, where a FF dev claims that: Most C++ JSAPI usage in extensions can in fact be replaced by a combination of privileged script and the debugger APIs I assume we wouldn't be seeing this thread if that was really true as you

Re: Development Mode will not be supported in Firefox 27+

2014-02-25 Thread Brian Slesinsky
I'm not sure there's much to discuss. Firefox 27 is already released, and we do want to move off of Dev Mode sooner or later for other reasons. I don't feel comfortable asking them to bring back an API that they never officially supported anyway and it seems unlikely that they'd agree. Running

Re: GWT compiling tools: is there any way to get the graph of inherited modules? Even a simple flat list would be fine :-)

2014-02-25 Thread Srini v
We have an issue similar to it where we want to move to xsi frame linker but what if you have third party dependent modules which have script tag in their module XML. Did anyone face the same issue and solved it? On Tuesday, 25 February 2014, Jens jens.nehlme...@gmail.com wrote: Not officially

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread Magnus
Ok, this must be the method with ClientBundle. I missed this. It seems that you can also simply include it in the module xml: https://groups.google.com/forum/#!topic/google-web-toolkit/_7NnUCR4vD0 Magnus -- You received this message because you are subscribed to the Google Groups Google Web

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread Magnus
Hi, including a script tag in the module xml did not work for me: The Cross-Site-Iframe linker does not support script tags in the gwt.xml files Using ClientBundle works. However, what is still missing is the connection between the JS objects and the GWT widgets. Consider the initial

Re: GWT compiling tools: is there any way to get the graph of inherited modules? Even a simple flat list would be fine :-)

2014-02-25 Thread Davide Cavestro
I've seen that SmartGWT provided the *NoScript* flavour for their modules, i.e. instead of inheriting from *SmartGwt* you inherit from *SmartGwtNoScript.* I've seen also adding set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/ to your .gwt.xml file works (as suggested by

Re: GWT and SVG, the 125th... :-)

2014-02-25 Thread Alain Ekambi
One solution could be to create a GWT widget based on a DIV element and call the JSNI in the onLoad method. I did something similar with a Google Map widget. Have a look at https://github.com/emitrom/Pilot/blob/master/Pilot/src/com/emitrom/pilot/maps/client/GMapWidget.java 2014-02-26 4:58

[gwt-contrib] Running multiple browsers in parallel via GWTTestCase

2014-02-25 Thread Goktug Gokdogan
I have been doing some ongoing work to do simplifications on the testing infra and one of my important goals is to have a simpler contract with tests and test drivers. This is important for maintaining the infra as we are really having hard time to understand the code. I was able to delete plenty

[gwt-contrib] Re: Running multiple browsers in parallel via GWTTestCase

2014-02-25 Thread Thomas Broyer
I have used that a few times with -runStyle Manual (e.g. -runStyle Manual:3 and you open the given URL in Firefox, Chrome and Internet Explorer) That said, I haven't used it much so I don't really care; but you'll have to make sure you update the ManualRunStyle when removing that feature. I