"component": "header",
> "property": "text",
> "value": "HELLO"
> },
> {
> "id": 3,
> "themeConfigurationId": 1,
> "chatScreen": "chatScreen",
> "component&qu
quot;: "rgba(0,191,255,0.5)"
}
]
}
Interfaces are -
public interface IWebchatThemeConfigurationBean { public Integer
getThemeId(); public String getName(); public Boolean getEnabled(); public
List getPropertiesList(); }
public interface IWebchatThemeConfigurationPropertyBean { public In
Thanks all that worked - one other thing, I wanted to do the serialization
without interfaces, found this project gwt-jackson which works, just wanted
to post it in case it helps others:
https://github.com/nmorel/gwt-jackson
> ]
>>
>>
>
--
You received this message because you are
To clarify, you need to add something like makeAddress to DoSomething:
Address makeAddress() {
// Construct the AutoBean
AutoBean address = factory.address();
// Return the Address interface shim
return address.as();
}
Then you can change your code to:
DoSomething test
Either that or add a method to the AutoBeanFactory taking a Person as argument
to be wrapped as an AutoBean.
(From memory)
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails fro
You need to create the person by calling makePerson.
Sent from my iPhone
> On Jun 17, 2016, at 3:35 PM, sdfdsf dsfsdfds <bittransfer2...@gmail.com>
> wrote:
>
> Hi,
>
> I copy / pasted the AutoBean serialization example from here:
>
> http:/
Hi,
I copy / pasted the AutoBean serialization example from here:
http://www.gwtproject.org/doc/latest/DevGuideAutoBeans.html
I've implemented the necessary interfaces etc to setup a quick test which
can be summarized as follows:
PersonImpl person = new PersonImpl
an getting an autobean wrapper/shim type -
the SplittableList, SplittableSet and SplittableComplex/SimpleMap types
serve this purpose - at least I thought it did. Upon reading more deeply,
it seems that the generated type emul.java.util.ListAutoBean is used if
1. a wrapped (not-splittable
So AutoBeans seem to be working now, however I'm still getting the
'xxx_classlit_xx not defined' exception when I try to use other gwt
classes. For instance the following method:
public ClerkD setEvents(HasValue?... fields)
{
for (HasValue? f : fields)
{
When I switch to 2.8.0-SNAPSHOT, then serializing the bean to json works.
However, deserializing it from json fails. Updated code:
Factory factory = GWT.create(Factory.class);
Test test = factory.test().as();
GWT.log(Created bean);
MapString, String
Hi Alberto,
Were you running this in SDM mode?
I've found that the bug I encounter is in SDM, but in regular / production,
it runs without issue.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop
In SDM mode, I can't seem to use AutoBean on beans that have a Map as one
of their properties.
Example bean + factory:
public interface Test extends Serializable
{
public MapString, String getTest();
public void setTest(MapString, String test);
}
public interface Factory extends
This issue was fixed when i switched from 2.7.0 to 2.8.0-Snapshot .
However, in the snapshot, beans which have only primitives and Strings
work. But, beans that have any collections ( lists / maps) don't work,
giving a similar error as this.
I've posted a stacktrace and made a test project to
, GWT 2.8.0-SNAPSHOT and an
AutoBean that contains primitives (boolean, String), a Set as well as a
MapString,
SetString.
We are decoding the JSON on client side without any problems (encoding
happens on server).
-- J.
--
You received this message because you are subscribed to the Google
, in the snapshot, beans which have only primitives and Strings
work. But, beans that have any collections ( lists / maps) don't work,
giving a similar error as this.
At work we use SDM with incremental compile, GWT 2.8.0-SNAPSHOT and an
AutoBean that contains primitives (boolean, String), a Set
Thanks for the pointer Jen. When I run SDM directly rather than via
intellij (using gwt:run-codeserver goal of the maven plugin), everything
works. Whew.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and
This seems to be a bug with IntelliJ. When I run SDM outside of IntelliJ
(via the gwt:run-codeserver goal of the maven plugin), everything works.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop
I'm trying out AutoBean for the first time. Serializing a DTO to json on
server works great, however when I attempt to deserialize it on the client
side, I get this error:
com.google.gwt.core.client.JavaScriptException: (ReferenceError) :
Ljava_util_List_2_classLit_0_g$ is not defined
Is there a way to upgrade to the trunk version via maven?
SNAPSHOT builds are currently disabled. However you can use
https://github.com/manolo/gwt-snapshot/raw/master/ as a temporary maven
repo.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google
When I downgrade to gwt 2.6.0 , the code above works without any
modification. It seems that this is a bug within 2.7.0 which appears to be
fixed in trunk.
Is there a way to upgrade to the trunk version via maven?
--
You received this message because you are subscribed to the Google Groups
AutoBeanMyBean ab = AutoBeanCodex.decode(factory, MyBean.class, response.
getText());
InitResult result = ab.as();
ab.as() returns MyBean and not InitResult.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this
Hi,
just tested your code and actually seems to work using gwt/trunk so maybe
it has something to do with the version you are using or the 'response'
text.
My EntryPoint:
---
RequestBeanFactory factory = GWT.create(RequestBeanFactory.class);
AutoBeanMyBean ab =
Hi,
the sample code i sent you actually works even if i switch to gwt 2.7.
(superdevmode).
In my sample i specify the json string inline; i'd try to do the same to
investigate further.
good luck,
Alberto.
On Fri Feb 06 2015 at 2:51:36 PM Ali Akhtar ali.rac...@gmail.com wrote:
Jens, that
Jens, that was just a typo I made in pasting the code. The actual code has
the right class name.
Alberto, I'm on gwt 2.7.0 . Does it work with that? The json string
is: {value:tesst}
On Fri, Feb 6, 2015 at 6:47 PM, Alberto Mancini ab.manc...@gmail.com
wrote:
Hi,
just tested your code and
Seems like this error only occurs when I try to access a property of the
deserialized bean. I changed my code to the following:
AutoBeanMyBean ab = AutoBeanCodex.decode(factory, MyBean.class, response.
getText());
Console.debug(Decode 1);
InitResult result =
ab.as();
Console.debug(Decode 2: +
Seems like this error only occurs when I try to access a property of the
deserialized bean. I changed my code to the following:
Console.debug(Response-- + response.getText());
AutoBeanMyBean ab = AutoBeanCodex.decode(factory, MyBean.class, response.
getText());
Console.debug(Decode 1);
Is there a way of creating two instances of same autobean?
We are creating an autobean by decoding the JSON response.
--
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
-of-sync
with my client side methods. After reading more on AutoBean, I figured I
could create objects with the as() method, populate them, and then dump the
payload back to my client. It looked slicker, and, if a method name was
changed, Eclipse would do the work of updating stuff I might miss
Hi ,
I am facing the same case in which i have to create a generic bean factory
, this means that factory related to some super class , and all i have to
do is to create sub classes from it and send and parse json data using
it,the object coming from parsing json can be of any subclass of my
Have an autobean created after deserliazing the json response. Then I save
it in two different files to the classmembers with getter and setter
Class A
MyBean bean = null;
public MyBean getBean()
{
this.MyBean;
}
public void setBean(MyBean beanVal)
{
this.MyBean = beanVal;
}
Similarly
have an autobean that returns ListObject. The reason is the json key to
which the getListVal() is mapped is an array of string and Integer values.
After filling the autobean, I am able to get the size of getListVal
properly but while iterating through the returned list, illegalArgument
wrote:
have an autobean that returns ListObject. The reason is the json key to
which the getListVal() is mapped is an array of string and Integer values.
After filling the autobean, I am able to get the size of getListVal
properly but while iterating through the returned list, illegalArgument
Have a autobean that has get and set methods for property - status.
String getStatus();
void setStatus(String status);
There is a case where this status property will be updated by UI. Can we
have the autobean property updated and get the updated value across
application.
Please suggest
In autobeans, while decoding a complex json object , so we have to create
an interface for every property in json object that has { } ??
If yes, then are we not creating large number of autobean interfaces even
to fetch a simple json property value? Or is there a way to have a better
hierarchy
Hi,
is there anything faster than
final String payload = new JSONObject(jsonDataFromJSNI).toString();
dataBean = AutoBeanCodex.decode(factory, Data.class, payload);
when in DevMode? The JSON data is embedded into the host page and not that
tiny (worst case ~600kb uncompressed) and the above
)
The next step will be to port AutoBean to use elemental.json instead of
org.json and add an overload to AutoBeanCodex.decode that takes a JsonValue.
(side note: the data you get from the page is JS, not JSON; JSON is a
serialization format, if you have objects, then it's JS, possibly expressed
as JS
Use native JSON.stringify through JSNI?
The problem with com.google.gwt.json is that it creates a lot of objects
and uses a lot of JSNI which slows down DevMode.
Ok JSON.stringify helps quite a bit. Now its basically
if (GWT.isScript()) {
dataBean = AutoBeanCodex.decode(factory,
You don't seem to have an AutoBean interface with a MQuery getMquery()
method.
The object you're parsing has only a mquery property, so if you look at
it as if it were an MQuery object, getScreenname and getFields would
expectedly be null.
On Tuesday, August 20, 2013 4:37:30 AM UTC+2, Thad
originates from. As more structures are added, I may have conflicts. (I
wonder if JSON's XML.toJSONObject() does some magic with namespaces...)
On Tuesday, August 20, 2013 5:34:03 AM UTC-4, Thomas Broyer wrote:
You don't seem to have an AutoBean interface with a MQuery getMquery()
method
On Tuesday, August 20, 2013 1:47:58 PM UTC+2, Thad Humphries wrote:
Thank you, Thomas. That worked.
I added the interface
public interface MQueryWrapper {
MQuery getMquery();
}
In BeanFactory, I changed AutoBeanMQuery mquery(); for
AutoBeanMQueryWrapper mquery();
My
On Tuesday, August 20, 2013 8:40:47 AM UTC-4, Thomas Broyer wrote:
On Tuesday, August 20, 2013 1:47:58 PM UTC+2, Thad Humphries wrote:
Thank you, Thomas. That worked.
I added the interface
public interface MQueryWrapper {
MQuery getMquery();
}
In BeanFactory, I changed
JSONObject jobj = new JSONObject(JsonUtils.safeEval(response.getText()));
MQueryRoot root =
jobj.get(mquery).isObject().getJavaScriptObject().cast();
If you want that code a bit easier to read you could use a MQueryWrapper
JSO like in the AutoBean example and then write
MQueryWrapper
I've managed a simple AutoBean with a list. Now I've a more complex one,
and I don't understand what's wrong. My get methods are returning null
though the debugger shows the object has data.
The JSON looks like this:
{
mquery:
{
screenname:Index Card,
fields
.
So, I thought to change to use ValueProxy, that way, I do not have this
problem, as everything is sent to server. There is not that much data, so
it won't be a performance problem.
But, is not using AutoBean more straightforward? Just define an
interface, both client/server are serializing
not have this
problem, as everything is sent to server. There is not that much data, so
it won't be a performance problem.
But, is not using AutoBean more straightforward? Just define an interface,
both client/server are serializing and unserializing the objects into JSON
string.
Is ValueProxy
in the AutoBean List
implementation
I solved it by simply:
autoBean.setList(new ArrayListType(autoBean.getList));
On Tuesday, January 31, 2012 10:51:17 PM UTC+1, Cypher wrote:
I am having problems modifying a list property on an AutoBean
deserialized from JSON with AutoBeanCodex. When I call
Just had the same problem Seems to be a bug in the AutoBean List
implementation
I solved it by simply:
autoBean.setList(new ArrayListType(autoBean.getList));
On Tuesday, January 31, 2012 10:51:17 PM UTC+1, Cypher wrote:
I am having problems modifying a list property on an AutoBean
Hi,
I serialize one of my beans with AutoBeanCodex.encode(bean).getPayload();
But when I'm trying to import and decode the same string, I do not want the
AutoBean Proxy Object. I just want to have the JSONObject itself.
The following will still give me the AB Proxy. How can I get the real
On Monday, February 4, 2013 4:32:52 PM UTC+1, membersound wrote:
Hi,
I serialize one of my beans with AutoBeanCodex.encode(bean).getPayload();
But when I'm trying to import and decode the same string, I do not want
the AutoBean Proxy Object. I just want to have the JSONObject itself
I realize this topic has been discussed before but I am having trouble
finding a solution to my problem. Basically I have an editor that needs to
edit the same entity in the database multiple times. I can edit the entity
the first time but subsequent edits create the AutoBean has been frozen
if Ainterface is
extended by Binterface or Cinterface? How does AutoBean support
polymorphism?
To make it easier, I can add a variable (for ex, shape) in Ainterface to
indicate which Binterface or Cinterface I have and then cast Ainterface to
Binterface/Cinterface. However, I run
/encode Dinterface, how do I know if Ainterface is
extended by Binterface or Cinterface? How does AutoBean support
polymorphism?
To make it easier, I can add a variable (for ex, shape) in Ainterface to
indicate which Binterface or Cinterface I have and then cast Ainterface to
Binterface
For what it is worth we have done the ServiceLayerDecorator and
@SkipInterfaceValidation approach and it seems OK (keeps domain code
cleaner at least) with GWT 2.5.
On Thursday, September 15, 2011 11:31:37 AM UTC+1, Thomas Broyer wrote:
I don't think ServiceLayerDecorator would work
Hello,
Is there a way to specify the format of the date with autobean?
I'd like to use the ISO8601 format (-MM-dd hh:mm:ss.SSS), because the
default transfer mode is the number of millisecond since 1970-01-01 and I
cannot manage negative number for date older than 1970 on server side
Hello,
With Autobean Date must be a long in JSON structure. Is there a way to
map Date to a specify pattern (like ISO-8601
-MM-DDThh:mm:ss.sTZD ) ?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web
Thanks, you confirmed my suspicions.
Are you saying I can use Splittable to achieve polymorphism? How? Have you
ever tried?
Of course I can somehow get rid of polymorphism in my classes, but I'd
rather do not.
On Saturday, October 13, 2012 1:41:46 PM UTC+2, Thomas Broyer wrote:
No, AutoBean
looked everywhere but I haven't found some concrete answer, so I hope
someone has already faced (and why not, solved) this problem.
I created a really simple testcase that can be found on
https://gist.github.com/3884099
I know AutoBean is behind RequestFactory so I though it supports
polymorphism
No, AutoBean has no mean to support polymorphism, and it specifically
cannot be used for your use-case.
You can possibly use Splittable, at a lower-level, or Elemental's JSON, JS
overlays, or JSONObject.
On Saturday, October 13, 2012 12:40:16 PM UTC+2, Andrea Boscolo wrote:
Hi all,
I am
/web/bindery/requestfactory/shared/impl/ValueProxyCategory.javaq=ValueProxyCategory%20package:google-web-toolkit%5C.googlecode%5C.coml=42
It's causing our project to not be able to compare our AutoBean objects
returned to us from RequestFactory requests. Would a change to check
whether
();
...
}
public interface Dinterface {
Ainterface getA();
void setA(Ainterface a);
...
}
I have included all interfaces in my AutoBeanFactory.
Question: when I decode/encode Dinterface, how do I know if Ainterface is
extended by Binterface or Cinterface? How does AutoBean support
When using AutoBean Categories
Given:
I have two interfaces, A and B
B extends A
I have a Category class for each, ACategory and BCategory
I have an @Category annotation on my ObjectFactory for each
Question:
will the AutoBean produced by factory.b() have the methods
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 are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
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 are
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 message
%5C.googlecode%5C.coml=42
It's causing our project to not be able to compare our AutoBean objects
returned to us from RequestFactory requests. Would a change to check
whether the AutoBeans have stable ids in the first place before trying to
compare their proxy classes be acceptable? Or am I
://code.google.com/searchframe#T04cSGC7sWI/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/ValueProxyCategory.javaq=ValueProxyCategory%20package:google-web-toolkit%5C.googlecode%5C.coml=42
It's causing our project to not be able to compare our AutoBean objects
returned to us from
created one interface that extends all subclasses of the
base type ..
Our process is somewhat convoluted ... using soap to import all possible
models, params, and results .. Then running a script to sanitize the data
and create autobean compatible interfaces out of this data..
My issue
to compare our AutoBean objects
returned to us from RequestFactory requests. Would a change to check
whether the AutoBeans have stable ids in the first place before trying to
compare their proxy classes be acceptable? Or am I missing something in the
big picture here and it's a bad idea. As far as I
Does anyone have successfully convert List of objects to JSON by using
AutoBean? it seems it's giving me error like null cannot be in getter
method.. anyone has an simple example to share? thx.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
Code, error? We need more than that to help you. Did you follow the
AutoBean tutorialhttp://code.google.com/p/google-web-toolkit/wiki/AutoBean
?
Sincerely,
Joseph
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion
LGTM and I'll be committing this soon.
http://gwt-code-reviews.appspot.com/1601805/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
On Monday, April 23, 2012 10:29:35 AM UTC+2, Tiago wrote:
Hello Brandon,
My problem isn't always autobean is frozen, it changes, but the summary
is that I cannot resubmit a proxy after a server error (like an unique
constraint violation, for example) that ends up calling
Hello Thomas,
On Monday, April 23, 2012 11:49:54 AM UTC+2, Thomas Broyer wrote:
In RequestFactory's design, onFailure is really an exception, and should
never happen: errors should be conveyed as special return values. That
doesn't quite change your issue here, as the proxy wouldn't be
On Monday, April 23, 2012 2:57:09 PM UTC+2, Tiago wrote:
Hello Thomas,
On Monday, April 23, 2012 11:49:54 AM UTC+2, Thomas Broyer wrote:
In RequestFactory's design, onFailure is really an exception, and should
never happen: errors should be conveyed as special return values. That
On Monday, April 23, 2012 4:21:50 PM UTC+2, Thomas Broyer wrote:
You can use a custom JSR303 validator that does the select and the check;
so that in case of a unique constraint violation, a ConstraintViolation
would be sent back to the client (and in this case, the proxy is unfrozen
so it
(n);*
Thanks
*Govindan*
On Wed, Apr 11, 2012 at 7:40 PM, italobb ital...@gmail.com wrote:
I'm experiencing the same problem. Have you solved it? How?
On Monday, October 17, 2011 4:38:53 PM UTC-2, Aidan OK wrote:
Is anyone using AutoBean in a JRE environment successfully? When trying a
very
wrote:
Is anyone using AutoBean in a JRE environment successfully? When trying
a very simple test I get a NPE when I try to use AutoBeanCodex.encode(**
myAutoBean)
My Bean interfaces look like this:
public static interface Point {
Long getX();
Long getY();
void setX(Long x);
void setY
I've has those too. I'm not sure there is enough source to diagnose. Do you
have a list in your bean?
1. how do you init your driver?
2. do you have list that is null from server.
3. do you have a list that is null when you start then you add to list then
edit it again. always init a list as
I'm experiencing the same problem. Have you solved it? How?
On Monday, October 17, 2011 4:38:53 PM UTC-2, Aidan OK wrote:
Is anyone using AutoBean in a JRE environment successfully? When trying a
very simple test I get a NPE when I try to use
AutoBeanCodex.encode(myAutoBean)
My Bean
workaround doesn't work anymore.
I get a ClassCastException when I try it. My RequestContext implementation
is casted to AbstractRequestContext$State.
I can't find a way to access the state of a RequestContext in order to
attribute the new one to the old AutoBean. The attribute is private. It
almost
UTC+2, kjordan wrote:
I'm trying to use the AutoBean encoding so I can pass and parse types over
a websocket connection I have. However, there seem to be some bugs with
trying to encode AutoBeans on the server side.
I had a structure like
public interface Foo {
}
public interface Bar
I'm trying to use the AutoBean encoding so I can pass and parse types over
a websocket connection I have. However, there seem to be some bugs with
trying to encode AutoBeans on the server side.
I had a structure like
public interface Foo {
}
public interface Bar {
}
public interface
http://gwt-code-reviews.appspot.com/1601805/diff/11002/user/src/com/google/web/bindery/autobean/shared/ValueCodex.java
File user/src/com/google/web/bindery/autobean/shared/ValueCodex.java
(right):
http://gwt-code-reviews.appspot.com/1601805/diff/11002/user/src/com/google/web/bindery/autobean
http://gwt-code-reviews.appspot.com/1601805/diff/11002/user/src/com/google/web/bindery/autobean/shared/ValueCodex.java
File user/src/com/google/web/bindery/autobean/shared/ValueCodex.java
(right):
http://gwt-code-reviews.appspot.com/1601805/diff/11002/user/src/com/google/web/bindery/autobean
Okay, thanks for the explanation. The thing about consistency is that
there are so many things to choose from :-)
Since BigDecimal / BigInteger didn't work before, I think we can wait on
those. Backward compatibility when expanding the range is an issue but
I'm not sure that changing types is
serialization).
http://gwt-code-reviews.appspot.com/1601805/diff/2004/user/test/com/google/web/bindery/autobean/benchmarks/ValueCodexBenchmark.java
File
user/test/com/google/web/bindery/autobean/benchmarks/ValueCodexBenchmark.java
(right):
http://gwt-code-reviews.appspot.com/1601805/diff/2004/user/test/com
Ping. Brian, can you take a final look at this?
http://gwt-code-reviews.appspot.com/1601805/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1601805/diff/2004/user/src/com/google/web/bindery/autobean/shared/ValueCodex.java
File user/src/com/google/web/bindery/autobean/shared/ValueCodex.java
(right):
http://gwt-code-reviews.appspot.com/1601805/diff/2004/user/src/com/google/web/bindery/autobean
Hi, I think it's sufficient to test the happy path for the range that
currently works and defer testing error conditions for some other time.
The point is to make sure we don't accidentally regress to a smaller
range and break an app that starts relying on the fix that you've added.
-reviews.appspot.com/1601805/diff/2004/user/src/com/google/web/bindery/autobean/shared/ValueCodex.java
File user/src/com/google/web/bindery/autobean/shared/ValueCodex.java
(right):
http://gwt-code-reviews.appspot.com/1601805/diff/2004/user/src/com/google/web/bindery/autobean/shared/ValueCodex.java
into a ValueProxy.
On Friday, March 30, 2012 3:32:03 AM UTC-4, Thomas Broyer wrote:
Have a look at AbstractRequestContext (particularly the
processReturnOperations method; also look for calls to setTag), but
basically you'll have to transport more than the AutoBean data: you'll have
to send its stableId
Have a look at AbstractRequestContext (particularly the
processReturnOperations method; also look for calls to setTag), but
basically you'll have to transport more than the AutoBean data: you'll have
to send its stableId and version (have a look at SimpleRequestContext et
al. for how they're
server
But RF adds to AutoBean some kind of additional information. Therefore
I can't use autobaen received from Atmosphere in next communication by
RF channel.
How I can create autobean as RF does it?
--
You
I am investigating the usage of gwt autobean in my projects. When I was
reading about this component, I came across a concept of autobean wrapping
but found neither explanation why it was created nor examples of how to use
it. What is it good for? Where can I use it?
--
You received
On Tuesday, March 20, 2012 10:55:37 AM UTC+1, Konstantin Solomatov wrote:
I am investigating the usage of gwt autobean in my projects. When I was
reading about this component, I came across a concept of autobean wrapping
but found neither explanation why it was created nor examples of how
Hi Guys,
I have some problem when decoding some JSON data using the
AutoBeanCodex.
I have an AutoBean that contains getters and setters for some
privitive types and also for some Map too.
When i deserialize a json with the AutoBeanCodex, i can deserialize
the primitive types without any problem
I am having problems modifying a list property on an AutoBean
deserialized from JSON with AutoBeanCodex. When I call
List.add(position, value) it appears to be overwriting the value at
that position instead of shifting values right to make room for the
new item.
Here's a JUnit test
That was it.
*facepalm*
Thanks for the help guys.
On Dec 29, 3:56 pm, Thomas Broyer t.bro...@gmail.com wrote:
I confirm the need to always use the same instance on the server side in a
given request. I do believe it's a bug though fwiw.
--
You received this message because you are
Yeah, I put that code into a click handler for a button so I can just
repeatedly fire it off. It's the only code in the function.
It seems like something is trying to edit the result before my
receiver callbacks are called. I say that because it works on the
server side every single time. If I
In your addOrUpdate() method, check to see you are returning the exact same
instance that was passed in, just remembered I did actually run into the
same problem when you return a different instance that has the same
identity.
On Thu, Dec 29, 2011 at 4:38 PM, Jeff Rodriguez
1 - 100 of 266 matches
Mail list logo