Re: Newbie Questions
Re: Newbie Questions
- Subject: Re: Newbie Questions
- From: Art Isbell <email@hidden>
- Date: Sat, 18 Oct 2003 20:03:49 -1000
On Saturday, October 18, 2003, at 04:08 PM, Greg Hulands wrote:
The way my php applications worked was that I had a layout script that
would take the content for the page and place it in the appropriate
<div> so that each page would be rendered the same. An example of this
is having a website that mimics windows on a desktop (title bar,
background, border, etc) and uses javascript to change the window
theme (mac os 9, mac os x, window 2k, windows xp). Because all the
layout was exactly the same on every page, reduced the amount of code
to write.
In WO, you can create a component with all of the common elements
(title bar, background, border, etc) and add a WOComponentContent
element where the variable content goes. Then you create other
components that are partial documents rather than complete pages.
Start by including your custom comment elements page as a subcomponent.
Then add your content. If you need more than one variable content
area, maybe you could use a WOGenericContainer emulating a DIV element.
Is there a way for WO Builder to generate its tags in lower case. I
have been writing xhtml markup and displaying the w3 validated icon.
This is not a real problem for me personally, but it would be nice to
have.
Look in WO Builder's Preferences under HTML.
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.