GWT [Error] Rebind result 'com.viktor.MyClassJSO' cannot be a JSO
Hi all, after upgrading from GWT 2.6. to 2.8 stable version, I've started getting this error during compilation. The MyClassJSO is just plain JSO class (extends JavaScriptObject), so I really don't know where the problem is. *Does anyone know what does this error exactly mean?* I've managed to change logging level to more verbose one, but no further info appears. Thanks for all answers. -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: remove border from Sub Menu
i don't know if it's possible but here is a list of all css forrmating values for a menu. Maybe you find anything helpful there.. http://gwt.google.com/samples/Showcase/Showcase.html#!CwMenuBar greetings Am Montag, 12. März 2012 16:14:42 UTC+1 schrieb beig: Hello, i tried to remove the border from a sub menu, but i don't know if it is even possible. i tried: border-color: transparent; border-style: none; border: 0px; http://goo.gl/RwLzy is there a way to remove it? Thanks for your help. -- 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/-/qQ3P9Zu6pmQJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC Serialization of an Interface..
no suggestions? mh then i should use classes instead of this interfaces.. Am Freitag, 9. März 2012 10:33:35 UTC+1 schrieb Viktor: Hi all, for my application i need to parse custom objects with the simple-xml framework from the server side. This works fine. But if a make a rpc call from the client side to geht the Objects i get this Exception: [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'Media' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = Media@12342d9 at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 619) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java: 44) at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java: 39) The Media Class look like this: public class Media implements Serializable { /** * */ private static final long serialVersionUID = -4959495795968436441L; public Media() { } @Attribute(required=false, name=condition) private String conditionText = null; @Attribute(required=false, name=conditiontype) private Executable.Type conditionType = null; @Attribute(required=true) private String src = null; @Attribute(required=true) private String type = null; @Attribute(required=false) private String name = null; @Element(required=false) private Condition condition = null; public String getSource() { return src; } public void setSource(String source) { this.src = source; } public String getType() { return type; } public void setType(String type) { this.type = type; } public void setConditionText(String conditionText) { this.conditionText = conditionText; } public String getConditionText() { return conditionText; } public void setConditionTypeText(Executable.Type conditionType) { this.conditionType = conditionType; } public Executable.Type getConditionType() { return conditionType; } public void setCondition(Condition condition) { this.condition = condition; } public Condition getCondition() { return condition; } public void setName(String name) { this.name = name; } public String getName() { return name; } @Commit public void createCondition() { if (getConditionType()!=null getConditionText()!=null) setCondition(ConditionFactory.createCondition(getConditionType(), getConditionText())); } Executable and Condition are Interfaces.. i guess that is the problem, because a interface couldn't implement Serializable. Is there a way to put these interfaces trough rpc? or is there a workaround? thanks and greetings Viktor -- 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/-/tohBP_EfzyIJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RPC Serialization of an Interface..
Hi all, for my application i need to parse custom objects with the simple-xml framework from the server side. This works fine. But if a make a rpc call from the client side to geht the Objects i get this Exception: [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'Media' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = Media@12342d9 at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 619) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java: 44) at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java: 39) The Media Class look like this: public class Media implements Serializable { /** * */ private static final long serialVersionUID = -4959495795968436441L; public Media() { } @Attribute(required=false, name=condition) private String conditionText = null; @Attribute(required=false, name=conditiontype) private Executable.Type conditionType = null; @Attribute(required=true) private String src = null; @Attribute(required=true) private String type = null; @Attribute(required=false) private String name = null; @Element(required=false) private Condition condition = null; public String getSource() { return src; } public void setSource(String source) { this.src = source; } public String getType() { return type; } public void setType(String type) { this.type = type; } public void setConditionText(String conditionText) { this.conditionText = conditionText; } public String getConditionText() { return conditionText; } public void setConditionTypeText(Executable.Type conditionType) { this.conditionType = conditionType; } public Executable.Type getConditionType() { return conditionType; } public void setCondition(Condition condition) { this.condition = condition; } public Condition getCondition() { return condition; } public void setName(String name) { this.name = name; } public String getName() { return name; } @Commit public void createCondition() { if (getConditionType()!=null getConditionText()!=null) setCondition(ConditionFactory.createCondition(getConditionType(), getConditionText())); } Executable and Condition are Interfaces.. i guess that is the problem, because a interface couldn't implement Serializable. Is there a way to put these interfaces trough rpc? or is there a workaround? thanks and greetings Viktor -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT PORTLET
Hi, you could just include the generated js code into your portlet and work with it. Example: script language=javascript src=${contextPath}/ [YOUR_GWT_APP].nocache.js/script On 9 Mrz., 11:20, Nitheesh Chandran nithe...@dotentreprise.com wrote: Hello , I want to create portlet using GWT. I searched in the Internet and downloaded get-portlet.jar. But the hello world app failed. Is there any other way for creating portlet in GWT. ? Helps will be appreciated. Thanks in advance. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT.runAsync load visualization library
In our project we use google visualization library. From this library we use just one map element (Overlay Map) Library itself contains more than 100KB and I would like to load it into application just when it will be required by GWT.runAsync I tried it with multiple ways, but always is library linked to main compiled code and splitted is just small portion of code. Does anybody know how to split from main compilation of application also referenced libraries ? Thx Viktor --~--~-~--~~~---~--~~ 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT.runAsync load visualization library
Can you post here any example how to do it ? From your explanation it is not clear to me. thx. --~--~-~--~~~---~--~~ 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---