Search Mac Reference Library
WebObjects 4.0 Developer Documentation
Table of Contents
Previous
Next
PATH
WebObjects 4.0 Documentation
>
What's New in WebObjects 4.0
Table of Contents
Previous Section
Improved Nested Component Support
In WebObjects 4.0, support for nested, reusable components has been improved in these ways:
Template parsing improvements make HTML generation for components faster. Thus, you'll see only a small performance loss by using a component instead of a dynamic element.
You can now create a nested component that serves as an HTML container element, one that wraps other HTML and text inside of it (similar to the way a WORepetition wraps other HTML elements).
You can turn off component synchronization, in which values are pulled from the parent component and pushed to the parent component before and after each phase of the request-response loop, and perform synchronization manually. When you perform synchronization manually, components are more predictable and behave more like dynamic elements.
It's now easier to use components to mimic and customize the behavior of dynamic elements. Because of the performance improvements and the ability to define non-synchronized components, you shouldn't find it necessary to have to write a subclass of WODynamicElement.
WOComponent now has a
parent
method that returns the receiver's parent WOComponent.
Table of Contents
Next Section
Legacy
Legacy Mac OS X Reference Library
WebObjects 4.0 Developer Documentation