there are
server errors and my Receiver.onFailure(ServerFailure) method is
called I am not able to reuse my proxy object.
If I do nothing in the onFailure method other that setting the some
error message in the ui and then try to fire another request using the
same proxy object I get the AutoBean has been
Hi,
Does RequestFactory EntityProxy supports AutoBean Category (http://
code.google.com/p/google-web-toolkit/wiki/AutoBean#Categories) ?
i. e. Can I define a Category for an EnitityProxy? If yes, how can I
do that?
It would be nice to define a category direct as an annotated Entity
method
You can't do these things yet, but we've been discussing them.
On Thu, Feb 3, 2011 at 5:08 AM, Krishna krishnacal...@gmail.com wrote:
Hi,
Does RequestFactory EntityProxy supports AutoBean Category (http://
code.google.com/p/google-web-toolkit/wiki/AutoBean#Categories) ?
i. e. Can I define
We are seeing this issue as well. Colin, did you try changing the
AbstractEditorDelegate, and if so did you have any luck?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
I did, in order to verify the fix, and have just filed an issue.
http://code.google.com/p/google-web-toolkit/issues/detail?id=5981
The patch is below - it can be applied to 2.1.1 or 2.2.0-m1
Index:
user/src/com/google/gwt/editor/client/impl/AbstractEditorDelegate.java
Hi,
Does RequestFactory EntityProxy supports AutoBean category (http://
code.google.com/p/google-web-toolkit/wiki/AutoBean#Categories) ?
i. e. Can I define a category for an EnitityProxy? If yes, how can I
do that?
Thanks!
Krishna Caldas
--
You received this message because you are subscribed
Great, so I'm not the only one who is experiencing the issue, good to hear.
Because I was starting to believe I'm doing something wrong. Should we open
an issue for this?
On Mon, Jan 31, 2011 at 12:52 AM, Colin Alworth niloc...@gmail.com wrote:
I don't fully understand the interactions between
I don't fully understand the interactions between RequestFactory and the
editor system, but it seems that there is another issue which is still
causing this error to occur, though it seems to be another, unrelated bug,
which only affects the HasDataEditor adapter and the editable HasData
Hi!
I've just asked a question at issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5752#c6 Can
somebody reply, so if I should wait for release or not?
Thanks!
--
Regards,
Bálint Kriván
--
You received this message because you are subscribed to the Google Groups
Google Web
On Saturday, January 29, 2011 6:19:45 PM UTC+1, Bálint Kriván wrote:
Hi!
I've just asked a question at issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5752#c6 Can
somebody reply, so if I should wait for release or not?
Are you using a HasDataEditor to push your data
On Sat, Jan 29, 2011 at 9:30 PM, Thomas Broyer t.bro...@gmail.com wrote:
On Saturday, January 29, 2011 6:19:45 PM UTC+1, Bálint Kriván wrote:
Hi!
I've just asked a question at issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5752#c6 Can
somebody reply, so if I should
The other question: Is there a way to not to write custom FieldCustomizer
for columns? Can't GWT know which proxy/property I am editing? Or am I doing
something wrong? Thanks!
Assuming by FieldCustomizer you mean FieldUpdater... It seems not – the
Column.getValue method must be
On an unrelated note, the wysiwyg formatting options and copy/paste in the
new google groups seem to be essentially useless, as indicated by the
terrible display of code above... Apologies for sharing that terrible
looking code segment..
-C
--
You received this message because you are
Yes, sorry :) I meant FieldUpdater. I will check your magic later thanks!
But currently I'm still getting
java.lang.IllegalStateException: The AutoBean has been frozen
:( I've updated to 2.2.0-M1, and I see that Thomas's patch is in. So I'm not
sure, what's going on. The other fields can
very valid questions. A good number of gwt developers at some stage will
face similar questions. I would appreciate if someone could share their
experiences and findings pertaining to the questions zixzigma has brought
up.
--
You received this message because you are subscribed to the
On Saturday, December 11, 2010 2:01:28 PM UTC-8, zixzigma wrote:
is it possible to use 2.1.1 RequestFactory/AutoBean to convert POJO to
JSON and viceversa
when interacting with a RESTful Web Service ?
the common practice with GWT client-server communication is
to have packages
2.1.1 RequestFactory/AutoBean to convert POJO to
JSON and viceversa
when interacting with a RESTful Web Service ?
the common practice with GWT client-server communication is
to have packages:
client, shared, server, configuring web.xml
however, in-order to be truly loosely coupled,
I am
Reviewers: bobv, rjrjr,
Description:
Copied from the issue tracker:
The real issue seems to be in how
com.google.gwt.requestfactory.client.impl.RequestFactoryEditorDelegate
determines whether it shouldFlush() or not: it only deals with am I in
'read-only' mode or not (if request==null, edited
Attached to http://code.google.com/p/google-web-toolkit/issues/detail?id=5873
--
Bob Vawter
Google Web Toolkit Team
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
I am trying to reproduce this in a small example. However, it seems
that this does not happen, when the ListEditor manages a list of
LeafValueEditors, which is not the case in my application. I am a
little bit confused about the whole LeafValueEditor-concept. Should my
ListEditor always be
Hello,
I am new to GWT and facing problems in using GWT 2.1 usign AutoBean or
Request Factory.
I developed a mock application usign request factory hvaing a Java
Class file to create mock data for the Bean. That java class file also
implements the RequestContext Interface but I dont know how
Revision: 9482
Author: b...@google.com
Date: Thu Dec 23 07:05:27 2010
Log: Ensure that enum types reachable through AutoBean method
parameterizations are included in the EnumMap.
Patch by: bobv
Review by: jbrosenberg
Review at http://gwt-code-reviews.appspot.com/1240801
http
FYI, RequestContext#isChanged in Requestfactory is implemented using
AutoBeanUtils.diff() on the frozen version and the edited version of the
object (see code in
com.google.gwt.requestfactory.shared.impl.AbstractRequestContext). I haven't
checked, but I think messages are constructed using a
AutoBean documentation states that
AutoBeanUtils.diff() performs a shallow comparison.
is this enough ?
if we have a graph of AutoBean/EntityProxies,
with 3 level of connections/references,
both AutoBean/and EntityProxies are only shallow compared ?
is this the desired behaviour all the time
LGTM with nits/suggestions
http://gwt-code-reviews.appspot.com/1240801/diff/1/3
File user/src/com/google/gwt/autobean/rebind/model/AutoBeanMethod.java
(right):
http://gwt-code-reviews.appspot.com/1240801/diff/1/3#newcode201
user/src/com/google/gwt/autobean/rebind/model/AutoBeanMethod.java:201
can AutoBean detect changes made to an object ?
(the same way EntityProxy/RF work?)
lets say a Widget presents a list of items to a user, to edit,
user starts editing only one or two field out of 10 fields.
can AutoBean detect the fields that have been changed,
so that only the changes are sent
handcoding.
In our product we do not care too much about the potential size difference
between RPC and JSON. Performance is still important, but RPC was never
very performant (stackoverflow, slow javascript warnings).
So I am thinking about writing a generator that combines the Autobean API
/AutoBean
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Reviewers: jbrosenberg,
Description:
Ensure that enum types reachable through AutoBean method
parameterizations are included in the EnumMap.
Patch by: bobv
Review by: jbrosenberg
Please review this at http://gwt-code-reviews.appspot.com/1240801/show
Affected files:
M user/src/com/google/gwt
spent hours on AutoBean wiki [1]
but still have no idea how I can use AutoBean
to make these two methods work:
String serializeToJson(Person person)
Person deserializeFromJson(String json)
Person is an interface,
and everything else in that sample is an interface
the GWT.create() also has
to flush after the editor
is detached. I don't know what the right behavior is in this case: do
not ever flush when detaching, only flush if the underlying autobean
is not frozen, or make the autobean mutable and flush into that. In
this case, it would make sense not to flush, but there may be other
detaching, only flush if the underlying autobean
is not frozen, or make the autobean mutable and flush into that. In
this case, it would make sense not to flush, but there may be other
cases that require it.
Thanks,
Nick
On Dec 11, 10:23 am, Tobias thaberm...@gmail.com wrote
Hi,
How does http://code.google.com/p/google-web-toolkit/wiki/AutoBean
compare with http://code.google.com/p/google-gson/ ?
gson cannot be used in GWT due to no reflection support. If this would
have worked though, wouldn't gson have done exactly what AutoBean
does, and more [1] ?
Why would one
Comment by marius.a...@gmail.com:
Rather than manually declaring interfaces, why not do just
class Person {
String name;
Address address;
}
and then have some internal code generators for required AutoBean
structures?
See also http://code.google.com/p/google-gson/ which is very easy
, Person.class, json);
Would have been nice to have a full basic working sample, rather than some
code made up in a text editor...
For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
, Person.class, json);
}}}
Would have been nice to have a full basic working sample, rather than some
code made up in a text editor...
For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Comment by hajdin.m:
ja
For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
So, my case of 'AutoBean has been frozen' is simply the default mode
of entities returned. One must call request.edit(lesson) before using
it. Also, when I tried to re-use (i.e. call request.edit()) with the
request on which I called the initial request.fineEntity() I got an
error, so I had
frozen. Has anyone figured out, how to re-
use ListEditors? Should I file a bug on this?
Regards,
Tobias
On Dec 11, 4:29 pm, tshalif tsha...@gmail.com wrote:
So, my case of 'AutoBean has been frozen' is simply the default mode
of entities returned. One must call request.edit(lesson) before using
is it possible to use 2.1.1 RequestFactory/AutoBean to convert POJO to
JSON and viceversa
when interacting with a RESTful Web Service ?
the common practice with GWT client-server communication is
to have packages:
client, shared, server, configuring web.xml
however, in-order to be truly loosely
what the right behavior is in this case: do
not ever flush when detaching, only flush if the underlying autobean
is not frozen, or make the autobean mutable and flush into that. In
this case, it would make sense not to flush, but there may be other
cases that require it.
Thanks,
Nick
On Dec 11, 10
Comment by autobeanvonautobahn:
is it possible to use 2.1.1 RequestFactory/AutoBean to convert POJO to
JSON and viceversa
when interacting with a RESTful Web Service ?
the common practice with GWT client-server communication is
to have packages:
client, shared, server, configuring web.xml
/wiki/AutoBean
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Comment by autobeanvonautobahn:
from the server side of things,
how does AutoBean relate to Jackson JSON processor ?
For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Me too:
I have the code below, which returns an existing pojo based on uid,
lessonUri criteria. When I try to modify 'response' I get
'java.lang.IllegalStateException: The AutoBean has been frozen'
thrown:
request.findUserLesson(777L, lessonUri).fire(new
ReceiverLessonProxy
Revision: 9370
Author: b...@google.com
Date: Tue Dec 7 16:06:32 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9370
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Sun
AutoBeanFactory{
// Would be illegal without a category providing an implementation of
marry(AutoBeanPerson person, Person spouse)
AutoBeanPerson person();
}
}}}
For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean
--
http://groups.google.com/group/Google-Web
Revision: 9222
Author: zun...@google.com
Date: Sun Nov 14 05:13:27 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9222
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Fri
Revision: 9221
Author: b...@google.com
Date: Fri Nov 12 20:08:46 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9221
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Fri
AutoBeans
from the original request. Is that a bug, or am I doing something
wrong?
Thanks,
Tobias
java.lang.IllegalStateException: The AutoBean has been frozen
at
com.google.gwt.editor.client.impl.AbstractAutoBean.checkFrozen(AbstractAutoBean.java:
176
Revision: 9192
Author: b...@google.com
Date: Fri Nov 5 08:58:24 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9192
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Tue
Revision: 9193
Author: b...@google.com
Date: Fri Nov 5 09:42:49 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9193
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Fri
Revision: 9175
Author: b...@google.com
Date: Tue Nov 2 05:23:24 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9175
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Mon
Revision: 9170
Author: b...@google.com
Date: Mon Nov 1 07:15:16 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9170
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Fri
Revision: 9167
Author: b...@google.com
Date: Fri Oct 29 12:11:01 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9167
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Fri
Revision: 9168
Author: b...@google.com
Date: Fri Oct 29 12:46:21 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9168
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Fri
On Fri, Oct 8, 2010 at 8:01 PM, Patrick Julien pjul...@gmail.com wrote:
Proxies reached from getters from a mutable proxy aren't mutable
In the meantime, you can can edit() for the entity that should be
mutable, but isn't.
http://gwt-code-reviews.appspot.com/976801
--
Bob Vawter
Google Web
thanks, I've got the patch already
On Sat, Oct 9, 2010 at 11:42 AM, BobV b...@google.com wrote:
On Fri, Oct 8, 2010 at 8:01 PM, Patrick Julien pjul...@gmail.com wrote:
Proxies reached from getters from a mutable proxy aren't mutable
In the meantime, you can can edit() for the entity that
);
}
// rest removed
}
}));
handle.setNotificationScheme throws here with AutoBean is frozen
sub-editors aren't able to set values either unlike my phantom problem
I reported earlier
--
http://groups.google.com/group/Google
proxy originated on the server however, calling set active
throws IllegalStateException(The AutoBean has been frozen);
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
On Thu, Oct 7, 2010 at 1:55 PM, Patrick Julien pjul...@gmail.com wrote:
They stay frozen, and finally, when flushing the driver, there is yet
another loop to freeze all the AutoBeans. Nowhere in between were the
beans made mutable. This is necessary because we sometimes have
custom setters
Yes, I know, rc.edit() is called, this is just before the flush,
rc.edit has been called well before this.
On Thu, Oct 7, 2010 at 5:23 PM, BobV b...@google.com wrote:
On Thu, Oct 7, 2010 at 1:55 PM, Patrick Julien pjul...@gmail.com wrote:
They stay frozen, and finally, when flushing the driver,
And I might add, otherwise the flush would fail, values coming from
the editors directly are fine
On Thu, Oct 7, 2010 at 5:25 PM, Patrick Julien pjul...@gmail.com wrote:
Yes, I know, rc.edit() is called, this is just before the flush,
rc.edit has been called well before this.
On Thu, Oct 7,
FYI, if I modify to:
@Override
public String saveTriggered() {
getRequestContext().edit(getValue());
getValue().setActive(!view.isPracticeDeactivated());
save();
return null;
}
still throws
Reduced test
never mind,
rc.edit(response); returns a value, and that one is not frozen
On Thu, Oct 7, 2010 at 5:35 PM, Patrick Julien pjul...@gmail.com wrote:
FYI, if I modify to:
�...@override
public String saveTriggered() {
getRequestContext().edit(getValue());
On Thu, Oct 7, 2010 at 2:35 PM, Patrick Julien pjul...@gmail.com wrote:
FYI, if I modify to:
�...@override
public String saveTriggered() {
getRequestContext().edit(getValue());
getValue().setActive(!view.isPracticeDeactivated());
201 - 266 of 266 matches
Mail list logo