Re: Need some help with WOComponentContent
Re: Need some help with WOComponentContent
- Subject: Re: Need some help with WOComponentContent
- From: Amedeo Mantica <email@hidden>
- Date: Mon, 19 Feb 2007 17:29:14 +0100
You made some confusion...
You cannot have more than one WOComponentContent in a page...
see the WebObjects Dynamic Elements Reference
http://developer.apple.com/documentation/WebObjects/Reference/
DynamicElements/WOComponentContent/chapter_9_section_1.html#//
apple_ref/doc/uid/TP30001055-DontLinkChapterID_9-DontLinkElementID_11
may be you are looking for WOSwitchComponent ?
http://developer.apple.com/documentation/WebObjects/Reference/
DynamicElements/WOSwitchComponent/chapter_34_section_1.html#//
apple_ref/doc/uid/TP30001055-DontLinkChapterID_34-DontLinkElementID_43
On 19/feb/07, at 17:05, Kevin Windham wrote:
I have a layout that I want to use for a template and inside that
layout I have more than one section of content I want to add based
on what page is being viewed. To test if this would work I made two
Components. One is called AWrapper, and the other is called Wrapped.
In AWrapper I have a table with 1 row and two columns. In each cell
I have inserted a WOComponentContent.
Then in Wrapped I set it to Partial Document, and inserted a custom
component. I was given one section labeled AWrapper in which to put
additional content. I simply typed the word "test" in a ran the
project.
What I ended up with with I went to the Wrapped page is a table
with two cells both containing the word "test".
Is there a way to set this up so that I can make a page that wraps
multiple sections of content, or is that just not going to happen?
Thanks,
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40macintossicati.com
This email sent to email@hidden
_______________________________________________
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