Single Page


3. View

Table of Contents

HTML Tags
Retrieve Component Being Rendered
DSP File Location
Component Renderer
JavaScript Codes
Component Type
JavaScript File Location
Initialization and Cleanup
Initialization
Cleanup
Event Handling
ZK Callbacks
Browser Event Listeners
Communicate with the Server
Send Requests to the Server
Process Request at the Server
Process Smart Updates
Process AU Responses
JavaScript Utilities

The view is the visual presentation of a component at the client. Depending on the client, it could be HTML tags plus JavaScript codes, MIDlet, XML node and Flash. For sake of description, we discuss only the view for the Ajax browsers, i.e., HTML tags plus JavaScript codes.