In the UiBinder template file internal styling can be applied with the ui:style block. But, external styling and resources can also be referenced. However, there is a more optimized way of including resources with UiBinder, called ClientBundle. In this le
- [Instructor] In a previous section,…we briefly touched on the UI style element.…This element allows you to define CSS styling…directly inside your UI.…Even though it is convenient to include the style rules…right alongside the UI,…in most real world applications,…there is an external style sheet that needs to be included.…You can still do that with the UI style tag.…I'll demonstrate.…But this time, we need to include…an attribute called source,…and give it the location of where our resource,…or external style sheet, resides.…
Note, for this section,…I've included a My Resources folder…located in the client package,…with a few resources, like a CSS file,…PDF, image, and text file,…that we may use in our application.…To reference the external CSS file,…that source is what we're going to put into the src attribute.…And it will be My Resources/external.css.…
And that's how you would include an external style sheet.…But note, we have an error on the page.…Both UI style elements are being highlighted,…saying field style cannot appear…
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.