Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6169621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:53:17+00:00 2026-05-23T22:53:17+00:00

If I have a widget that fires a custom event, and that widget is

  • 0

If I have a widget that fires a custom event, and that widget is contained in a hierarchy of other widgets like:

Parent1 contains Parent2 contains Parent3 contains CustomWidget

Then in order to propagate the initial event to Parent1, do i have to add event handlers all over the way and make each interior node fire the same event, or there is another way?

Let’s say we have the following custom widget1:

<g:FocusPanel>

 <g:Image/>

</g:FocusPanel>

And it is contained in custom widget2 which listens for events fired by widget1:

<g:ScrollPanel>

 <my:CustomWidget1/>

</g:ScrollPanel>

Now, if custom widget2 is itself contained to another widget (and in turn is contained to another…) then in order to catch the first event dispatched from widget1 do i have to add handlers respectively to all parent widgets, or there is another way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:53:18+00:00Added an answer on May 23, 2026 at 10:53 pm

    GWT suggest to use an EventBus for handling such events.

    See Google I/O 2009 – Best Practices for Architecting GWT App

    See Google I/O 2009 – Best Practices for Architecting GWT App (http://www.youtube.com/watch?v=PDuhR18-EdM)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do I have a widget listen for clicks on other widgets but not
I have a widget that contains an iframe. The user can configure the url
I have some Motif code that also uses widgets from the Xmt widget set.
I have a widget that acts as a launcher on the home screen. How
I have a widget that supposed to call an Activity of the main app
Let's say that I have a widget that displays summary information about how many
I have a UI widget that needs to be put in an IFRAME both
I have a JavaScript widget that is hosted on websites. This widget tracks state
I have a TextEdit widget in PyQt that I use to print out a
We have a UI widget on our main UI that uses JavaScript to respond

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.