How Do Override Default PopupPanel;also, Why Would App Render In Chrome but not IE

23 views
Skip to first unread message

Eric Atkinson

unread,
Jul 1, 2011, 4:53:00 PM7/1/11
to Google Web Toolkit
I'm trying to invoke PopupPanel using the MouseUpEvent when right-
clicking a TreeItem. When I right-click a tree item, my PopupPanel is
shown but immediately gets overwritten by an "Inspect Element"
PopupPanel firing after my own PopupPanel (thus canceling it). How do
I override the "Insert Element" PopupPanel in favor of my own
PopupPanel using the Chrome Browser? Using the Chrome Browser only,
you can see this behavior at www.StrategicInternationalSystems.com by
clicking the Signup Button and then right-clicking any TreeItem on the
WestPanel.


Furthermore, my app no longer renders at all when deployed to app
engine and accessed using IE (which definitely isn't good), but shows
up fine using the Chrome browser. I have no idea why my app renders in
Chrome, but not IE, do you?

Jeff Larsen

unread,
Jul 1, 2011, 4:59:52 PM7/1/11
to google-we...@googlegroups.com
for the rightclick to work on the tree item, you also have to do event.preventDefault(); which stops the default browser behavior.

As to why it works in chrome but not ie, have you disabled some browsers in your gwt.xml file?

Eric Atkinson

unread,
Jul 2, 2011, 4:42:27 PM7/2/11
to Google Web Toolkit


On Jul 1, 4:59 pm, Jeff Larsen <larse...@gmail.com> wrote:
> for the rightclick to work on the tree item, you also have to do
> event.preventDefault(); which stops the default browser behavior.

Tried this; still didn't stop the default behavior. I think it's the
browser is doing this; if so, I don't think it can be overridden
within GWT.

So, I stopped using PopupPanel (for right-clicks) and moved on another
way. Thanks, anyway.

>
> As to why it works in chrome but not ie, have you disabled some browsers in
> your gwt.xml file?

No, I haven't done this. I'll pull components out of the code (at some
point in the near future) to let you know exactly where IE doesn't
like the code. Thx.
Reply all
Reply to author
Forward
0 new messages