• 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
What does this error mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What does this error mean?


  • Subject: What does this error mean?
  • From: Gavin Eadie <email@hidden>
  • Date: Wed, 22 Jan 2003 21:32:27 -0500

I have a component (PinkRimTable.html & PinkRimTable.wod):

<table cellspacing="0" cellpadding="1" border="0" width="100%">
    <tr><td class="pinkBorder">
       <table cellspacing="0" cellpadding="4" border="0" width="100%">
          <tr><td class="pinkBackground" width="100%">
             <webobject name="interior"></webobject>
       </td></tr></table>
</td></tr></table>

  - - - - - - - - - -

interior : WOComponentContent {}

That is used as follows:

<webobject name="PinkRim">
<table width="100%" border="0" cellpadding="5" cellspacing="0">
    <tr><td class="headerText">Bulletins</td></tr>
    <tr><td width="100%" class="pageText">
       <webobject name="ZeroAnnouncements">There are currently no
bulletins.</webobject>
       <webobject name="ForAllAnnouncements">
          <webobject name="OneAnnouncement"></webobject>
       </webobject>
</td></tr></table>
</webobject>

  - - - - - - - - - -

PinkRim : PinkRimTable { }
ZeroAnnouncements: WOConditional { condition = announcements.count;
negate = true; }
ForAllAnnouncements: WORepetition { item = anAnnouncement; list =
announcements; }
OneAnnouncement: ITCSAnnouncementView { announcement = anAnnouncement; }

Opening the second of these gives the error:

    Parse Error
       The following error must be corrected before the document can
leave Source View:
          this shared component does not allow children

Can anyone tell me what is wrong with this?  Sometimes I wish for my
old IBM manuals that had every error message the application could
produce and what it meant ... Gavin
_______________________________________________
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.

  • Follow-Ups:
    • Re: What does this error mean?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Re DisplayGroups. Inserting and deleting objs
  • Next by Date: Re: What does this error mean?
  • Previous by thread: Lisp: Rules Engine?
  • Next by thread: Re: What does this error mean?
  • Index(es):
    • Date
    • Thread