• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need some help with WOComponentContent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Need some help with WOComponentContent (From: Kevin Windham <email@hidden>)

  • Prev by Date: Debug code in a framework
  • Next by Date: Re: Need some help with WOComponentContent
  • Previous by thread: Need some help with WOComponentContent
  • Next by thread: Re: Need some help with WOComponentContent
  • Index(es):
    • Date
    • Thread