WebObjects Direct to Web Guide
PDF
Introduction
An Introduction to Direct To Web
Creating a Direct to Web Project
The Different Looks for WebObjects Applications
The Structure of a Direct to Web Project
Using Your Direct to Web Application
Launching a Direct to Web Application
The Login Page
Dynamically Generated Pages
Query Pages
List Pages and Select Components
Inspect and Edit Pages
Edit-Relationship Pages
Master-Detail Pages
Customizing Your Application With the WebAssistant
Running the WebAssistant With appletviewer
WebAssistant Overview
Restricting Access to Entities
Customizing Pages
Setting Which Properties are Displayed
Changing How Properties Are Displayed
Textual Attributes and Formatting
Representation of Relationships
WebAssistant Expert Mode
Choosing a Page to Customize
Named Configurations
Generating Components
User Templates
Generating a Template
Direct to Web Architecture
Direct to Web Components
Direct to Web Templates
Direct to Web Reusable Components
Property-Level Components
Direct to Web Component Organization
The Direct to Web Context
Maintaining State
Providing Binding Values
Resolving Keys With the State Dictionary
Resolving Keys With the Application Configuration
Resolving Derived Values
The Direct to Web Factory
Rendering a Direct to Web Page: An Example
Creating the Query Page
Rendering the Direct to Web Template
Setting the Property Key
Resolving Keys That Depend on the Property
The Rule System
Deciding Which Candidate Should Fire
Rules and the Web Assistant
Rule Firing Cache
Caching Gotchas
Customizing a Direct to Web Application
Adding a Logo to Your Direct to Web Pages
Using Direct to Web in Other WebObjects Applications
Embedding Direct to Web Components
Linking to a Direct to Web Page
Implementing the Action Method
Setting Up a Next-Page Delegate
Setting Up the Page Wrapper
Modifying the Direct to Web Factory
Creating a Custom Property-Level Component
Specifying the Custom Component
Using the Custom Component With Direct to Web
Modifying a Direct to Web Template
Freezing Your Modified Direct to Web Template
Adding a New Direct to Web Task to Your Application
Creating the Direct to Web Template
Adding Rules to Define the Default Behavior
Modifying the Web Assistant Rules
Adding New Default Rules
Adding a Hyperlink to the New Task Page
Adding Authentication to the Main Component
Hooking Up the Main Component
Add Logic
Add Better Logic
Appendix A: EditStatePopup Listings
EditStatePopup.html
EditStatePopup.wod
EditStatePopup.java