Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOSwitchComponent?



At 10:20 AM -0800 11/13/05, Chuck Hill wrote:
It can be hard to wrap your mind around it, though.

... yes, it takes a little while till the brain snaps into place, but it's very powerful. Here's a tiny example to make it more real.


Note that the Wrap component carries the standard look and feel of your page 'template' and contains a header, footer and menu (just for the sake of having something a little more complex) plus the WOComponentContent in the place where you want all the non templated content to appear. Main and More carry that content and refer to the Wrap, this way, whatever HTML that More and Main render will appear in the WOComponentContent place in Wrap. Final note: ONLY Wrap is a full page, ALL the other components are partial, so any HTML headers that you want to use on every page only need to be in Wrap ... Gav

Attachment: %WOComponentContentDemo.zip
Description: application/applefile

Attachment: WOComponentContentDemo.zip
Description: Binary data

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

References: 
 >WOSwitchComponent? (From: Randy Becker <email@hidden>)
 >Re: WOSwitchComponent? (From: Chuck Hill <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.