Re: [gwt-contrib] instanceof not working when upgrade from 2.7.0-SNAPSHOT to 2.7.0 (maybe caused by JsInterop changes)

2015-04-13 Thread 'Goktug Gokdogan' via Google Web Toolkit
What exactly is not working?
What is the obj in this case? What is the expected result?

On Sat, Apr 11, 2015 at 5:15 AM, 田传武 i...@goodow.com wrote:

 Hi all,

 when i upgrade GWT from 2.7.0-SNAPSHOT to 2.7.0, the code below is not
 working:
 obj instanceof CollaborativeObjectImpl and
 obj instanceof JsonObject

 Here are my type declarations:
 @JsType interface EventTarget
 @JsType interface CollaborativeObject extends EventTarget
 @JsType interface CollaborativeString extends CollaborativeObject
 abstract class CollaborativeObjectImpl implements CollaborativeObject
 class CollaborativeStringImpl extends CollaborativeObjectImpl implements
 CollaborativeString

 class JsJsonValue extends JavaScriptObject
 interface JsonElement extends java.io.Serializable
 interface JsonObject extends JsonElement
 class JsJsonElement extends JsJsonValue implements JsonElement
 final class JsJsonObject extends JsJsonElement implements JsonObject

 the full source code is hosted at github:

 https://github.com/goodow/realtime-store/blob/master/src/main/java/com/goodow/realtime/store/impl/JsonSerializer.java#L60-L69
 and

 https://github.com/goodow/realtime-json/blob/master/src/main/java/com/goodow/realtime/json/JsonObject.java

 Thanks for help :)

 --
 You received this message because you are subscribed to the Google Groups
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/1b763bef-1a2f-4ed0-8668-3c77151acba2%40googlegroups.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/1b763bef-1a2f-4ed0-8668-3c77151acba2%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] instanceof not working when upgrade from 2.7.0-SNAPSHOT to 2.7.0 (maybe caused by JsInterop changes)

2015-04-13 Thread 'Goktug Gokdogan' via GWT Contributors
What exactly is not working?
What is the obj in this case? What is the expected result?

On Sat, Apr 11, 2015 at 5:15 AM, 田传武 i...@goodow.com wrote:

 Hi all,

 when i upgrade GWT from 2.7.0-SNAPSHOT to 2.7.0, the code below is not
 working:
 obj instanceof CollaborativeObjectImpl and
 obj instanceof JsonObject

 Here are my type declarations:
 @JsType interface EventTarget
 @JsType interface CollaborativeObject extends EventTarget
 @JsType interface CollaborativeString extends CollaborativeObject
 abstract class CollaborativeObjectImpl implements CollaborativeObject
 class CollaborativeStringImpl extends CollaborativeObjectImpl implements
 CollaborativeString

 class JsJsonValue extends JavaScriptObject
 interface JsonElement extends java.io.Serializable
 interface JsonObject extends JsonElement
 class JsJsonElement extends JsJsonValue implements JsonElement
 final class JsJsonObject extends JsJsonElement implements JsonObject

 the full source code is hosted at github:

 https://github.com/goodow/realtime-store/blob/master/src/main/java/com/goodow/realtime/store/impl/JsonSerializer.java#L60-L69
 and

 https://github.com/goodow/realtime-json/blob/master/src/main/java/com/goodow/realtime/json/JsonObject.java

 Thanks for help :)

 --
 You received this message because you are subscribed to the Google Groups
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/1b763bef-1a2f-4ed0-8668-3c77151acba2%40googlegroups.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/1b763bef-1a2f-4ed0-8668-3c77151acba2%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA13EOTwwduGCdU%2Bp35tHY2pJ_qO_2PPW%2BW7PjbX_iq6QQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Adding a local javascript to GWT

2015-04-13 Thread mohit
Hi I am trying to add a .js file 
https://code.google.com/p/geoxml3/#Basic_Usage to my GWT project.

I have made the entry in my host HTML:

script type=text/javascript 
src=../src/main/resources/Trust/geoxml3.js/script

I pasted the .js file in /src/main/resources/ and added it to my build path.

I am getting Error:
Failed to load resource: the server responded with a status of 404 (Not 
Found)  * http://localhost:8080/src/main/resources/geoxml3.js*

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT Compression API

2015-04-13 Thread Julio Heitor Nobrega

Heu guys,

i need to implement a GWT client that compress a image and sends to the 
server. Afterwards, the server sends back the compressed image and then the 
client
descompress it and disply in the screen.

Is there a client-based compression API to be used with GWT?

Best Regards!

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT and Material Design

2015-04-13 Thread pp
Hi,

woooao, gwt-material.appspot.com site is really great !!!
congratulations for the work
but if I created a menu with gwt-material, index.html will not be indexed 
by Google - because gwt
example, if I look at the source gwt-material.appspot.com no menu contents
I know this is a known issue with gwt but you may have an idea?

Best Regards,
Philippe

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT rich text editor

2015-04-13 Thread Stig Runar Vangen
That is the code behind this, example, is it not?
http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwRichText

I cannot seem to find support for tables within the standard GWT rich text 
editor.

torsdag 9. april 2015 19.57.34 UTC+2 skrev Abdul følgende:



 see this link 
 https://code.google.com/p/gwt-google-apis/source/browse/trunk/gears/samples/gwtnote/src/com/google/gwt/gears/sample/gwtnote/client/ui/?r=2003
  for 
 example code you will find it

 On Thursday, April 9, 2015 at 2:02:56 PM UTC+5:30, Stig Runar Vangen wrote:

 I am looking for a GWT based rich text editor for use in an application. 
 My search has not been successful, as all the editors I've found so far 
 have been quite limited. For this application I need features like tables, 
 images and styles.

 I've tried integrating CkEditor using JSNI. This works most of the time, 
 but now and then I get unwanted results.

 During GWT.Create 2013 there was a demosession where one of the 
 participants mentioned that they were working on a rich text editor for 
 GWT. Unfortunately I did not take note of who they were, and I am now 
 unable to find this project.

 If anyone know of any GWT based rich text editors, this would be much 
 appreciated.

 Thanks,
 Stig Runar Vangen



-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.