I can kind of see how your proposed solution would work, and I guess that
could be done if necessary. I was trying to use separate request contexts,
and got the aforementioned crossing streams error, but I was editing the
whole document.
The solution you suggest is hardly ideal though, so I'm w
I posted this in gwt-contributors but I feel this might be the more
appropriate group.
I'm attempting to switch to using RequestFactory instead of GWT-RPC
and manually creating DTOs. It's been going pretty well, except I've hit
one use-case that is just a brick wall.
I have a panel that is an
You could add the with("address") to the findAll call:
requestFactory.personRequest().findAll().with("address").fire(...);
--
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-tool...@googlegrou
@ProxyFor(value = Person.class, locator = PersonLocator.class)
then having a PersonLocator which implements Locator would fix this
for you.
But in order to get your static service methods (besides just the find
method), you need a ServiceLocator for your service:
@Service(value = PersonService
I read that GWT 2.0 supports serializing enhanced objects from JDO or
JPA. So if they are hibernate objects, wouldn't the JPA support cover
that?
On Jan 27, 1:30 am, Jan Ehrhardt wrote:
> The problem is the GWT RPC's serialization, which can't work with objects
> created by hibernate. You can use
But the JS wrappers wouldn't have to go through the rather slow GWT
compiler, so in the case of development mode, they would certainly
start up faster.
On Jan 18, 11:51 am, Arthur Kalmenson wrote:
> JS wrappers won't benefit from the GWT compiler, so they would
> theoretically be slower. Have you
Look at Event.addNativePreviewHandler for global, and the various
keyboard handlers for specific panels.
On Jan 19, 6:46 am, JavaDoc wrote:
> Hi,
>
> I have a requirement wherein i want my app to listen to keyboard
> events (example, user pressing the 'Shift' key)
> How do I go about implementing
I don't think you will be able to use @UiHandler in this case. You
will have to do it the old-fashioned way and do mySearchBox.getTextBox
().addClickHandler(...)
On Jan 16, 8:39 am, Alexander
wrote:
> Hi there,
>
> as stated at [1] and [2] it is easily possible to add different
> handlers using t
I'm not sure about this, but I would guess that GWT doesn't actually
do any code-splitting when in development mode because there isn't
much point. It's really only useful when you compile.
On Jan 14, 12:07 pm, mably wrote:
> Oops, sorry... It's asynchronous, so my list object is most probably
>
Depends how you are using your stylesheet. I had these problems when I
was simply using a link element on the main HTML page. However, my
problems went away when I switched to using ClientBundle and
CssResource.
On Jan 13, 1:12 pm, Stine Søndergaard wrote:
> Would be so nice to know if I am the o
GWT depends on ActiveX in IE6 as it is the only way to get an
XMLHttpRequest object. There is no way for GWT to work in IE6 without
ActiveX. IE7 allows a different way to get this object, but IE6 does
not.
On Jan 12, 10:23 am, Sellfisch wrote:
> Hi there,
>
> we are writing an GWT Business Applic
Ok that is simply not true. There are cases where Hibernate may be the
right choice but there also plenty of times where something else would
be better. Hibernate is not the only ORM solution for Java. I, for
instance, tend to use iBATIS. It's helpful to have control over the
SQL that is being used
If you are using the new layout panels, you should be using standards
mode and not quirks mode.
On Jan 13, 4:48 am, Stine Søndergaard wrote:
> The most frustrating is that all this CSS invention seems so obvious to
> everybody else!! ;D
--
You received this message because you are subscribed to
It should be styleName when the element is a GWT component. It should
be class when the element is an HTML tag.
On Jan 13, 7:40 am, Stine Søndergaard wrote:
> ... well, apparently it has to be styleName="{style.test}" ... that is not
> what I got from
>
> http://code.google.com/intl/da-DK/webtool
The GWT compiler translates Java sources to JavaScript sources. This
allows for things like JSNI, which would be lost in the bytecode, as
well as allowing for greater optimization possibilities
On Jan 8, 7:14 am, Chris Lercher wrote:
> Hi,
>
> quick question: What exactly does gwtc translate? Doe
If you really want decent IntelliJ GWT support, you should probably
upgrade to IDEA 9.0, which added explicit support for GWT 2.0 and GWT
1.7.
On Jan 5, 4:17 am, Steve Sinai wrote:
> Up until now I've used Eclipse for writing occasional GWT apps, but
> I'm not an Eclipse expert and am much more c
Perhaps we need an equivalent DecoratorLayoutPanel. Only LayoutPanels
seem to implement ProvidesResize.
On Jan 5, 12:13 pm, huherto wrote:
> I am trying to find a solution for
> this.http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
>
> But I am wondering if the DecoratorP
You need your action class to implement IsSerializable. Also make sure
you give it a no-args constructor.
On Dec 30, 8:15 pm, bhomass wrote:
> I am trying out the rpc structure given in the seminar. I get an error
>
> 20:42:08.171 [ERROR] [rts]
> com.jcalc.webclient.client.spreadsheet.rpc.action.
Perhaps you should be using an Anchor widget instead of a Hyperlink.
If you still need to link in with the history mechanism, you can have
your click handler call History.newItem
On Dec 23, 9:05 am, Peter Ondruska wrote:
> Dear all,
>
> In GWT 2.0 Hyperlink.addClickHandler is deprecated and I sho
The way I'm doing it will be to have the dependency injection
framework create a SuggestOracle. Then have the view be injected with
that oracle:
@Inject
MyView(MySuggestOracle oracle) {
this.suggestBox = new SuggestBox(oracle);
...
}
Seems like a fairly simple solution, and does not require
The way I was planning on handling this is allowing dependency
injection (GIN) to create the oracle and inject that into the view's
constructor.
On Dec 21, 7:03 am, FKereki wrote:
> Hi! Trying to work with a SuggestBox field and MVP, I found a problem.
> You can getSuggestOracle(...) but you cann
See Event.addNativePreviewHandler (or something like that). This will
capture every DOM event. You can handle your keyboard events there.
On Dec 13, 4:47 pm, Dorinel wrote:
> How should I handle global keyboard event (for a game) it seems it's
> possible as there is a game, Hornet Blast:
>
> http
This is how I'm doing it.
On Dec 9, 10:36 am, Eric Landry wrote:
> Hi,
>
> I'm trying to get my app working with GWT2 and was wondering if
> there's anything wrong about the following code:
>
> public interface MyImages extends ClientBundle {
> public static final MyImages INSTANCE = GWT.crea
The new layout panels don't have any visual styling. You can manually
apply CSS to the splitter bar, although I'm not sure off the top of my
head what the correct class name is. Firebug or Safari/Chrome's dev
tools should let you find out.
On Dec 13, 4:03 am, Ben Harris wrote:
> Hi,
>
> I'm start
24 matches
Mail list logo