From the course: Learning GWT

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Manage the AJAX Response: UI interactions

Manage the AJAX Response: UI interactions

From the course: Learning GWT

Start my 1-month free trial

Manage the AJAX Response: UI interactions

- [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…

Contents