In this lesson Kyle demonstrates how to explicitly take advantage of the ClientBundle interface by creating one complete with several resources like an external stylesheet, text file, PDF file, and PNG image. But, before the ClientBundle is useful it must
- [Instructor] So at this point…we have created a client bundle with four resources,…and part of the process was to create…this new external type…that will reference each of the style rules…in our external.css file.…Now that we have a client bundle how do we use it?…To include our client bundle into our UiBinder…we use the UI with element,…and this is how you do it.…UI:with,…we'll use the field attribute…to reference this UI element,…we'll call it res for short.…
The second attribute we need…or that is required is the type.…The type will be a reference to…the new client bundle that we created called resources.…As you can see resources resides…in our com.lynda.gwt.myfirstapp.client location,…so I need to type that fully…qualified name here in the type.…So at this point we have a handle…to that client bundle called resources…with the name res.…
Now you may have caught this already,…but since we are bundling the external style sheet…with our resources client bundle…we don't have to reference it anymore…with this UI style field.…
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.