Once the UI elements on the page are all set it is time to make the application interactive. In part two, of managing the AJAX response, Kyle uses UiHandler to listen and react to interactions with the UI elements on the page.
- [Instructor] Now that we have the drop-down lists working…and being populated with the web service responses…and we have the default number…for the first text-box set to one…and the conversion set for United States dollars, USD…and the second text box set to that amount…at this point we actually need to start listening…to these drop downs.…For example if I were to change…to the Australian dollar…I actually need to have the second amount updated.…To display what one Australian dollar is in USD…or US dollars.…
So, we're not actually listening to these drop-down lists…and that's what we need to do next.…In a previous lesson we discussed Ui Handler…and that's what we'll use here…to listen to those drop down lists.…@UiHandler…and tell it elements…we're going to be listening to,…what Ui fields we'll be listening to.…We'll be listening to two Ui fields…so we'll place those, since there are two of them…inside curly braces and list them off.…The first will be the list box…for the primary rate…which will be primaryRateList…
In this course, learn how to build high-performance, browser-based apps using GWT. Kyle Gower-Winter introduces you to GWT, explaining the benefits of using this toolkit to build dynamic web pages. To help you practice what you learn, he shows how to build a simple foreign exchange rate application. Plus, Kyle covers managing AJAX events on the client, handling UI action events, debugging code, and more.
- Creating and running a GWT application
- Working with GWT widgets and UiBinder
- Manage AJAX events on the client
- Using a GWT RequestBuilder object
- Debugging in the browser
- Setting breakpoints and inspecting variables
- Running locally in production mode
Skill Level Intermediate
Building Web Applications with Ajaxwith Sasha Vodnik1h 31m Intermediate
Java: Build Automation with Mavenwith Peggy Fisher1h 24m Intermediate
1. Create and Run a GWT Application
2. GWT Widgets and UiBinder
3. Manage AJAX Events on the Client
4. Debugging in the Browser
5. Run Locally in Production Mode
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.