http://lithosphere.lithium.com/t5/tech-blog/Lithium-Engineering-Using-Cell-Widgets-for-every-day-GWT/ba-p/117929
Google Web Toolkit provides Cell Widgets as a way to write web pages that
render large volumes of data quickly. This is a primer on using Cell
Widgets for everything, not just when
I created this article because I couldn't find a similar article when I
built the solution:
http://lithosphere.lithium.com/t5/tech-blog/Lithium-Engineering-Using-GWT-and-HTML-5-Canvas-for-online/ba-p/100833
Full code is provided for anyone that wants to play around with the
solution.
-Dave
I think a major goal should be to cooperate with other container plugins,
specifically Jetty. I've been struggling with getting the Jetty plugin to
fully cooperate w/ the gwt plugin and am astounded at how hard it is to:
1. Get my server code to be updated without a server restart (if the
Has anyone solved this? It's not working for me either. Here's my class:
package dparish.client.view.impl;
import com.google.gwt.i18n.client.Messages;
import com.google.gwt.i18n.client.LocalizableResource.Generate;
import com.google.gwt.i18n.client.LocalizableResource.GenerateKeys;
I should note that I am using the -extra compiler flag and it IS generating
the property files for UiBinder messages. I also tried changing the
classname for the format
to: format=com.google.gwt.i18n.rebind.format.PropertiesFormat but that
did not help.
Interestingly changing it to:
I figured it out. I had created the messages file but hadn't started using
it in the app at all. The compiler must not scan for all interfaces with
that annotation, but instead for all classes IN USE by the app with those
annotations.
--
You received this message because you are subscribed
Thomas,
I'm working on restructuring AppActivityMapper so that I inject in the
Activities. My reasoning for the static injector was it kept me from
having gigantic constructor arguments. If AppActivityMapper has 30
activities, that's alot of constructor arguments.
Great tips. I'll take a look at each points. If I find I have a reason not
to implement one of the comments I'll let you know.
--
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 really want to like RequestFactory, really I do, but I'm astounded
by the complexity. I finally got my head around the Locator, the
proxies, etc and now I'm getting Frozen beans and edited by another
RequestContext errors.
I took a look at:
I recently finished an example app with MVP, Activities and Places, Gin and
Guice, Request Factory and a few other GWT components. Feel free to grab
the source and see if it gets you started.
http://code.google.com/p/gwt-best-practices-soup/
--
You received this message because you are
I have a widget that would benefit from custom UiBinder markup (like
DockLayoutPanel)
I've looked through the docs, the source and the web and not found an
example of how this is implemented. Has anyone done this?
I'm looking to do something like this
custom:mywidget ui:field=widget
left!-your
That will work. I'd still prefer to use descriptive xml like
DocLayoutPanel. From what I see of @UiChild it just enforces the types
of children it does not allow for quite what I was looking for. (but
probably good enough)
-Dave
On Feb 3, 8:09 am, Jens jens.nehlme...@gmail.com wrote:
You can
I take that back. UiChild should do it perfect. Good example here:
http://stackoverflow.com/questions/8375480/gwt-custom-widget-with-child-elements-configuration-in-uibinder-like-custombutt
On Feb 3, 8:09 am, Jens jens.nehlme...@gmail.com wrote:
You can use @UiChild, see:
I'm refactoring a MVP app I have that currently uses Events and an
AppController to handle navigation transitions.
Activities and Places appear to only pass state via tokens, not by
passing by reference. is there another way?
A use case may help here:
Think of two screens, A Student List screen
SWEET. That was exactly it. I added a setStudent and getStudent to
StudentAddEditPlace
In my activity mapper I get the activity for the place, then set the
student into the activity that I get from the place.
Subtle but obvious now that I see it. Thank you very much.
-Dave
On Feb 2, 2:44
I had the same problem. There are two other possible reasons you see
this:
1. Your java compliance level in the project is set to 1.5
2. Your classes are already compiled. I don't know why, but touching
the my RequestContext classes had NO affect until I deleted the
classes that were compiled
I'm trying to use RequestFactory in GWT 2.3. I noticed that the
original RequestFactory has been depricated in favor of:
com.google.web.bindery.requestfactory.shared.RequestContext
My problem is that when I try to run my app I get:
[ERROR] [retain] - Line 10: No source code is available for
Thanks. After I posted I cracked open gwt-user.jar and found it. I
needed to add the following to my gwt project xml file:
inherits
name='com.google.web.bindery.requestfactory.RequestFactory'/
The coding docs for this stuff is pretty good but the setup / config
is terrible. If they expect
I have a client side entity object (let's call it person) and I want
to store it locally. It looks like the current 2.3 local storage api
only stores Strings with a String key. Is there a way to get the json
of an object (or any common understood string representation) so I can
store it?
I've got a simple custom widget designed to display two column data.
Any widgets I put in this custom widget can't fire events. I've tried
even the simplest Button and it fails. Is there something about the
nature of my widget that is keeping events from widgets it contains
from firing?
public
I'm switching some of my work from RPC to RequestFactory. I'm doing
this because I use open jpa on the backend and keep having to hack
through serialization problems (such as proxy objects that won't
serialize).
RequestFactory seems like the perfect option. I'm caught off guard by
some GWT
I tried using em.clear(). I did this after loading and accessing my
object. I also changed my fetch type to EAGER. Sadly it still fails ;
(
-Dave
On Nov 9, 6:59 am, dparish dpar...@gmail.com wrote:
Thanks David.
I tried LAZY and EAGER. Both caused the problem.
For #2, that seems promising
:
Hi dparish,
There are three issues here:
1. GWT needs a fully populated object graph to send back to the
client. Lazy fetching will not work across the client / server
boundary, so you must ensure that your code fetches all relations
eagerly (via an annotation or a separate call if needed
I have an entity with a member like this:
@Entity
public class Foo implements Serializable{
@OneToMany(mappedBy=foo,targetEntity=InternalText.class,
fetch=FetchType.EAGER) // I tried Lazy too.
private ArrayListInternalTextinternalTextEntries;
When I try to use Foo I
I've got a custom widget (code below) that takes in two widget's as a
constructor. I'd like to use this widget in UI Binder. I can see
from the docs (http://code.google.com/webtoolkit/doc/latest/
DevGuideUiBinder.html#Using_a_widget) that it's pretty easy to do this
if the constructor is a set
If gwt has a failing it's making the app look well rounded. Ok bad
pun. The uibinder makes you think you are sculpting a ui. You really
aren't. You are writing a skeleton that needs CSS for the flesh.
The client side generated HTML is complex which makes the task harder.
It's worth it
I'm seeing this as well. When I switch from embedded jetty to
noserver, everything is MUCH slower, despite being all local on the
same machine with PLENTY of RAM and CPU to spare. It's bad enough
that development time is severely impacted.
On Apr 1, 6:11 am, Skal pasvinc...@gmail.com wrote:
Hi
27 matches
Mail list logo