/2010 04:53 PM, Tanguy Le Barzic wrote:
Hi Thomas,
Thanks for your answer. I tried your solution, with the exact same
results :(.
I think the problem comes from Window.getScrollTop() (which is used
in position(final UIObject relativeObject, int offsetWidth,
int offsetHeight
2010/9/3 Olivier TURPIN olivew...@gmail.com
in a near future if you need to play with command pattern you could
find some interesting hints with thoses articles :
- Tutorial explaining the basics of gwt-dispatch :
http://borglin.net/gwt-project/?page_id=283
- Nice articles about batching
Hi,
I'm trying to set the position of a popup, which should appear below an
element (class com.google.gwt.dom.client.Element) which I get from a
NativeEvent, by doing :
Element element = Element.as(event.getEventTarget());
popup.setPopupPosition(element.getAbsoluteLeft(),
() for Firefox (at least for the
version I'm using, 3.6.8) ?
--
Tanguy
2010/9/6 Thomas Broyer t.bro...@gmail.com
On Sep 5, 8:07 pm, Tanguy Le Barzic tanguy.lebar...@gmail.com wrote:
Hi,
I'm trying to set the position of a popup, which should appear below an
element (class
Hi Fabian,
Generally speaking, the fewer rpc calls the better, as browsers generally
limit the number of simultaneous (http) calls to the same domain to two. If
you make more, they will be queued. Therefore, it is often a good practice
to batch these calls (see for example
Hi Michael,
Concerning the location of your popup (extending PopupPanel) on the screen,
you can specify the position by using setPopupPosition. You can then place
it whenever you want, relatively to the browser window (like the example
given in the javadoc for PopupPanel), but also relatively to
Hi Pete,
The Mail application from the samples doesn't follow the MVP pattern and its
separation between views and presenters. I suggest you read the articles
from the blog about mvp (
http://code.google.com/webtoolkit/articles/mvp-architecture.html), which
include an example similar to Mail (a