Is there any way in a CellTree to apply different styles to a Leaf node vs.
a Closed non-leaf node? I see separate styles for open nodes, but no way
to tell between the other two.
So far the best I've come up with are:
* Use a CSS sibling selector such as:
.cellTreeItemImage +
Agreed, with Juno RC1 scheduled for next week, i'm surprised we haven't
seen any mention of a plugin update yet.
On Monday, April 30, 2012 11:51:44 AM UTC-5, Sagi Bernstein wrote:
hi, the release is in less then 2 months, is there work to support juno?
it should be backwards compatible for
On Thursday, March 8, 2012 2:53:30 PM UTC-6, Eric Andresen wrote:
My application has a HeaderPanel that has suddenly stopped working in
Chrome (32-bit XP version 19.0.1061.1). The GWT code hasn't changed, and
IE8 and FireFox both still work.
The symptom is that the header and footer appear
My application has a HeaderPanel that has suddenly stopped working in
Chrome (32-bit XP version 19.0.1061.1). The GWT code hasn't changed, and
IE8 and FireFox both still work.
The symptom is that the header and footer appear properly, but the content
has its height set to 0px so it doesn't
I guess tricky is a relative term. My primary editor references
SubObjectC using a LeafValueEditorSubObjectCProxy, and in this scenario
my LeafValueEditor is changing to a different SubObjectC instance that
wasn't included in the original object.
What I see in the server trace is that in
Yes, your simplification is correct. I'm doing it inside the Editor with
getValue/setValue, but I think the result should be the same.
I have logged the issue
as http://code.google.com/p/google-web-toolkit/issues/detail?id=7189 .
--
You received this message because you are subscribed to the
Thanks for the information. I updated all my locators and no longer have
the flushing problem.
It still seems like the behavior I'm seeing in the RF Servlet is differing
from what is documented at
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryMovingParts#Flow
where
it says:
Thomas, here is the trace of what is going on :
The changes involved in this update are:
Change PrimaryObject.alias to TEMPLATE
Change PrimaryObject.field1 to 10
Change PrimaryObject.field2 to 0
Change PrimaryObject.subObjectC from SubObjectC(ID 2) to SubObjectC(ID 1)
Browser request:
HasRequestContext)
{
((HasRequestContextT)
editor).setRequestContext(context);
}
}
});
}
---
Eric Andresen
On Tue, Feb 7, 2012 at 9:46 AM, Brandon Donnelson
branflake2...@gmail.comwrote
and asked them this
question a few months ago, but they recommended against changing the
FlushMode. They instead suggested either maintaining a strict order of
operations or working with detached objects.
Thanks,
Eric
---
Eric Andresen
On Tue, Feb 7
---
Eric Andresen
On Tue, Feb 7, 2012 at 12:15 PM, Jesse Hutton jesse.hut...@gmail.comwrote:
Eric,
By flush you mean the primary object has it's values rest to the
persistent state in the db?
What does your Locator#find() method look like? When using Hibernate
with RequestFactory, you
Jesse,
I switched my locator to use the EntityManager.find() interface, and it
no longer flushes the session, even when it does query the database.
Thanks for the suggestion!
I admit I'm a bit of a n00b with Hibernate, do you know what the
difference is between letting the
I have a domain object that has references to several other domain objects,
and also uses Hibernate and hibernate validation annotations.
I'm running into an issue where the order of the RF Servlet's
loadDomainObject and setProperty calls is causing Hibernate to flush the
entity before it is
Granted, it is a pretty big project, it has about 800 activities, 150
EntityProxy types, 100 Request objects, and uses all the goodness of the
RequestFactory and UiBinder for all of it. (There is a ton of inheritance
so most of those activities are only 50-100 lines of code. Only the
Hi Aaron,
Did you ever find a way to make this work? I'm running in to the same
problem. I have an app that currently compiles to about 12mb of
javascript, but that single large file is killing my load times on IE.
I tried splitting it at my most logical spots, which causes about 100
the technical problems.
Thanks again everyone!
---
Eric Andresen
On Sat, Oct 1, 2011 at 8:41 PM, Jesse Hutton jesse.hut...@gmail.com wrote:
If you have flushed the changes from the editor from your dialog form to
your ChildObjProxy, you should just
. The
different versions of the Maven integration plugins were fighting with each
other.
I don't know if that will help your problem or not, but it might help out
anyone who sees this error on a SpringSource STS + GWT + Maven project.
---
Eric Andresen
Thanks for the idea. I took a quick look at that interface, but I didn't
want my sub-editors to have to report every single change as they happened,
I wanted the updates all at once as a single object (since my CellTable
takes objects).
The route I'm currently looking down involves passing
Hi Thomas,
You are right that the ListEditor (or HasDataEditor) is the behavior I
wanted to use, but my Proxies at the time were related with a Set
interface based on the server-side requirements. Essentially what I did was
re-write the ListEditor as a SetEditor.
Recently we had to
Well, I seem to be talking to myself here, but here's my fix in case anyone
else runs into this problem in the future. It's still a hack, but it
compiles a lot better than 1500 inner classes.
I updated the DeobfuscatorBuilder.java in requestfactory-apt-2.4.0.jar with
the following changes
Thanks, I have logged the issue as #6818 :
http://code.google.com/p/google-web-toolkit/issues/detail?id=6818
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Are there any tricks or tips to reduce the size of the 2.4 RequestFactory's
generated DeobfuscatorBuilder class? My compiler is choking with the
following error:
The code of constructor MyRequestFactoryDeobfuscatorBuilder() is exceeding
the 65535 bytes limit
The generated file is a single
I should note that my RequestFactory references about 120 Request objects,
each of which has between 5 and 20 methods. Would inheriting the Requests
off of a common base interface that defined the common methods work in the
RF? I'm not sure of the limitations of 2.4's RF inheritance.
--
You
I was able to somewhat unblock my testing using a sleazy workaround: I
re-compiled requestfactory-apt with a different DeobfuscatorBuilder that
generated the code as follows:
abstract class Command { public abstract void execute(); }
(new Command(){@Override public void execute()
I just upgraded to 2.4, and am seeing the following problem when I try to
run my server:
SEVERE: Unexpected error
java.lang.RuntimeException: The RequestFactory ValidationTool must be run
for the XX RequestFactory type
at
I'm using M2E and Indigo, so it looks like I might be running into this
problem. I don't see the *DeobfuscatorBuilder in my WAR anywhere.
I'll take a look through Jeff's link below and see if that helps me at all.
Thanks,
Eric
--
You received this message because you are subscribed to the
Kevin,
My solution was to make copies of both RequestFactoryServlet and
SimpleRequestProcessor in a com.google.web.bindery.requestfactory.server
package in my environment, and then inside
MySimpleRequestProcessor.process(), add the following change:
.
.
.
assert
I have a CompositeEditor that displays a list of sub-objects and allows me
to add/delete/edit the objects in that list with sub-editors.
I am seeing a problem where I edit one of my objects inside the sub-editor,
and then try to refresh the list once the edit is complete. The issue I see
is
I've also seen similar problems with showRelativeTo. I've noticed that if I
show a popup dialog that has dynamic sizing (i.e. the widget is a
FlowPanel), the first time it pops up it shows as very wide and goes off the
screen. If I close and re-open it, the second time it correctly wraps its
It looks like the onFailure case only unfreezes the context in the case of
onTransportFailure or response.getGeneralFailure, not in the case of an
invocation failure. I tested this, and the context is still locked and the
beans still frozen when my onFailure callback is called.
I guess I'll
Hmm, I tried going down the onViolation / onFailure paths, but ran in to
other problems with those.
For onFailure, is there a way to send a valueProxy back inside the exception
payload? It looks like the default behavior is just to extract the message
out of any thrown exception. I'd like to
I am having the same issue. I need to do some pre-processing of my beans on
the server before I fire validation, but the framework doesn't allow that.
It only fires validation on the beans as soon as they are decoded off the
wire. As far as I can tell, the RequestFactory also doesn't give
Does anyone know of a way to perform the following scenario?
1. Retrieve an EntityProxy
2. Edit the proxy in an editor
3. Submit the changes using a Request Context
4. The server call is rejected due to a server-side validation failure
5. Make some more changes to the proxy
6.
renderer/parser instead of the
default one.
---
Eric Andresen
On Wed, Jun 22, 2011 at 1:35 PM, Kishan balakisha...@gmail.com wrote:
I am also facing the same problem. If you got any solution, please
share.
Thanks in Advance
On Feb 17, 12:24 pm
Just glad to be able to give a little something back after all the help this
forum has given me :-)
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
I'm seeing a similar symptom,
I'm creating a proxy and assigning its relationship to another proxy, and
persisting it. On success, the server returns a copy of the proxy back. In
the process of decoding the network callback back into an AutoBean, the
setter of one of the relationships is
I've noticed a pretty significant jump as well. My app used to be around 65
seconds, and it's up to around 135 seconds now, sometimes spiking up to 3-4
minutes. I had just chalked it up to installing the full WindowBuilder and
GAE plugins that I had skipped in the past, but maybe it is the
It looks like I'm running into the problem inside EntityCodex.decode() :
In the red code below, I see it iterate over all three items in my
collection, but each time the element that comes out of the decode call
has the same hashCode, so the HashSet ignores it. The hashCode always seems
to
the same problem, if that
helps you at all.
-- Brian
On Thu, May 12, 2011 at 4:19 PM, Eric Andresen ericandre...@gmail.com
wrote:
I have an application that creates a SetMyClassProxy (a ValueProxy),
and
sends that set across the wire using the RequestFactory.
When I add 3 distinct
I have an application that creates a SetMyClassProxy (a ValueProxy), and
sends that set across the wire using the RequestFactory.
When I add 3 distinct elements into the set and fire the context, I only get
one item in the set on the server side.
What is interesting is that I can see my
Can anyone take a look at this and let me know if this flow seems sane? I'm
seeing an error:
Caused by: java.lang.AssertionError: Unfrozen bean with null RequestContext
at
I saw this same problem in my environment. In my case I had upgraded all of
the RequestFactory references in my Java classes to the new package, but
forgot to switch the RequestFactoryServlet class in my web.xml file:
servlet
servlet-namerequestFactoryServlet/servlet-name
Thanks, Thomas!
You guys always seem to be one step (or release) ahead of me!
---
Eric Andresen
On Fri, Apr 15, 2011 at 5:02 AM, Thomas Broyer t.bro...@gmail.com wrote:
GWT 2.3 will come with a HeaderPanel for this exact purpose:
http
Does anyone know if it is possible to create a layout panel that behaves
like a dock layout panel, but allows the outer panels to size to their
natural sizes?
What I'm trying to accomplish is a panel with a north and a center. I want
the North panel to size to the natural height of its
I agree, this would be nice functionality to have.
For the time being, you can hack it in using JSNI, but it may not work on
all browsers:
public static native String getFromStorage(String keyName) /*-{
return localStorage.getItem(keyName);
}-*/;
public static native
I've seen this as well. My suspicion based on some debugging and breakpoint
work is that the RequestFactory is properly retrieving the related objects
using the relation, but then immediately querying them all again to verify
their version numbers match the ones from the DB.
I worked around
---
Eric Andresen
On Wed, Feb 16, 2011 at 4:11 PM, Eric Andresen ericandre...@gmail.com wrote:
I have an editor that uses a ValueBoxBaseLong to store a very large number.
The box is read-only, but it my number gets changed between setValue() and
getValue().
Basically, when I set value
I have an editor that uses a ValueBoxBaseLong to store a very large
number. The box is read-only, but it my number gets changed between
setValue() and getValue().
Basically, when I set value 6920835985627925836 and then immediately get
the value, it returns 6920835985627925504 .
The value
I see the same error message when inheriting from a generic class or
implementing an interface that uses generics. I don't see any documentation
forbidding that either. In the example below it works just fine if I
comment out the implements ObjectWithExceptionMyObject code, but throws
an
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
.
Thanks again,
Eric
---
Eric Andresen
On Thu, Jan 27, 2011 at 4:47 AM, Thomas Broyer t.bro...@gmail.com wrote:
On Thursday, January 27, 2011 1:55:11 AM UTC+1, Eric Andresen wrote:
I guess a better wording for my question is, are either
I guess a better wording for my question is, are either of the following
flows allowed? The goal is to create an object on the server side without
persisting it, display its default values and edit them on the client side,
and then persist it back to the server side.
1)
Create Request
Thanks for your insight on the matter. I was able to accomplish something
close to the desired behavior by placing a bridge between GWT and my service
class.
Doing this in conjunction with the SpringServiceLocator, I was able to only
cache this singleton class (kind of anyway, the
I'm using the 2.1.1 RequestFactory in a Spring environment. I would
like to use my Spring Service class to provide both my Entity Locator
and my RequestContext methods.
I can define my object's requestContext as:
@Service(value=MyObjectService.class,locator=SpringServiceLocator.class)
public
54 matches
Mail list logo