Is it possible that on right click, that the cell is also selected?
If I sink ONCONTEXTMENU, it will provide a context menu event, which
won't render the cell selected. For the cell to be selected, I need a
click event from the cell itself.
Many thanks,
John
--
You received this message
Thanks, all works! I already have a custom
DefaultSelectionEventManager for double clicking. I had to override
handleMultiSelectionEvent as it only works for click and keyup
explicitly. A single selection model would work as is.
--
You received this message because you are subscribed to the
Thanks Vid, I've simplified the above code for this post and have
multiple buttons. But looking into what setWidget on the
DecoratorPanel, I realised that I need to override the following:
@Override
protected void doAttachChildren() {
try {
super.doAttachChildren();
Could anyone suggest why the Click Event doesn't fire in the following
example code?
Many thanks
John
public class OKDialog extends DialogBox {
public OKDialog() {
Button okButton = new Button(OK);
//add a button in dialogBottomCenterInner div
Element bottomMiddle
I agree that it looks like the overhead is per-requestcontext. This is
also reflected in the size of the abstract request factory vs the
abstract request context.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
Is there a overhead to having multiple RequestContexts inside a
RequestFactory? I know with RPC, there was a overhead of having
multiple async services.
John
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email
Thanks Thomas. And the code sharing between request contexts is done
at the RequestFactory level or between request factories. For example,
if I have a entity proxy that is used on multiple request factories
would that be shared? This is important if you wanted to code split an
entire request
Have a look at local workers flag, it will compile the permutations in
parallel:
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideCompilerOptions
John
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
Does anyone have any ideas of how to create a cell based grid, i.e. a
layout similar to the Grid widget?
Many Thanks,
John
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Have a look at this session from Google I/O 2011 on HTML 5:
http://www.google.com/events/io/2011/sessions/html5-showcase-for-web-developers-the-wow-and-the-how.html
I'm not sure if this has native supported in GWT, but if not look at
JSNI.
John
--
You received this message because you are
The driver is auto generated by the GWT compiler and therefore should
belong in the view. Any code that call GWT.create should really belong
in the view or your presenter will have to use the slow GWTTestCase.
--
You received this message because you are subscribed to the Google Groups
Google
As Jeff said, I would put it in the view. You might want to look at
the following Issue in how to structure your View interface to access
your editor driver in the presenter.
John
You could also use a 'proxy' version of the return type.
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
I would personal like to see a layer that considered base types,
beyond Object of the concrete type. However it seems that Entity
should really just be simple POJOs, even if the interface is just
exposing getter and setters. Maybe someone from the GWT team will have
some inspiration on this
I had the same problem and managed to implement a new
ServiceLayerDecorator. See..
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/36d0ed4f87be/45af985914ac1780?lnk=gstq=maitland#45af985914ac1780
Regards,
John
--
You received this message because you are subscribed
Thanks for the advise. After using getTop().resolveClientType this
open up further compilications, not least a circular dependency in the
layers. However, the next problem was intergrating this with a custom
Locator, which resolves the domain class with the BaseProxy and not
the actual proxy for
Frustratingly, as I know I'm so close, all my entities (both the
implementation and the interface) only contain getter and setter
(simple POJO for use in Hibernate). All my data access methods
currently reside in the entity service, as recommended. Now in the
entity service, I could do a horrible
David,
Thank you for the reply. I already have a Locator and a
ServiceLocator, but left it out of the above example for simplicity.
After reading the source, all the entity proxies map to classes and
not interfaces. Hence, if your AppUser class was defined as an
interface and a implementation:
I’m having a problem using the new RequestFactory feature in 2.1.1
when trying to serialise an object, using the EntityProxy, with using
it's interface. If I have the following entity proxy, entity interface
and its implementation, a ‘UnexpectedException: The domain type
com.server.MyEntity cannot
I'm trying to create XML document on the client, which is namespace
aware, but on Firefox any namespace attributes are not included in the
element. I believe firefox requires the new nodes to be created by
calling createElementNS, but this is not present at
XMLParserImpl.java. Has anyone else seen
20 matches
Mail list logo