Re: Need some help with WOComponentContent
Re: Need some help with WOComponentContent
- Subject: Re: Need some help with WOComponentContent
- From: Kevin Windham <email@hidden>
- Date: Mon, 19 Feb 2007 13:14:39 -0600
On Feb 19, 2007, at 12:57 PM, Jerry W. Walker wrote:
When you invoke Wrappee, it calls Wrapper and hands over its
content (that is, the content enclosed by the Wrappee's custom
Wrapper component) so that Wrapper can render its own content and
insert Wrappee's content in the ONE place on Wrapper that you put
the WOComponentContent.
If you do that, then any page you invoke in which you've embedded
Wrapper will render Wrapper's content wrapped around its own
content. In that way, 20 different Wrappees can each call Wrapper
to have their content wrapped by the headers, footers, etc.
Given that situation, it makes no sense to put more than a single
WOComponentContent element inside Wrapper.
Thanks Jerry. That all makes sense and exactly describes what I am
seeing. Now that I know I can't quite achieve what I want with the
wrapper/wrappee paradigm, what would be a good way to achieve my
goal. Here is a restatement of what I would like to do.
I have a page layout that essentially has two menus. There is a main
nav bar in the header of the page on the left side that consists of
about six buttons. This will show on every page and makes for a
perfect wrapper/wrappee scenario. The trick is that at the bottom of
this header there is another menu that is two levels and changes
based on which section of the site we're in. I'll try to draw this
out in ASCII.
There will always be the header section with the six buttons, and the
section navigation bars. However the section navigation bars will
change based on page content. What would be a good way to handle this
scenario? Part of the problem is that the navigation bars are table
cells and if I pull them out and just stick them in each page content
area the table would need to be redesigned along with some of the
graphics probably.
Thanks,
Kevin
+------+-------------------------------------------------------------+
| 1 | |
+------+ |
| 2 | |
+------+ |
| 3 | |
+------+ Header Graphics |
| 4 | |
+------+ |
| 5 | |
+------+ |
| 6 | |
+------+-------------------------------------------------------------+
| Section Navigation Level 1 |
+--------------------------------------------------------------------+
| Section Navigation Level 2 |
+--------------------------------------------------------------------+
| |
| Page content |
| |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden