Re: What does this error mean?
Re: What does this error mean?
- Subject: Re: What does this error mean?
- From: Chuck Hill <email@hidden>
- Date: Wed, 22 Jan 2003 18:56:33 -0800
I can't see what is causing the problem but I usually get this when I have
something between the open and close WO tags when it is not allowed. e.g.
<webobject name="mystring">Custom</webobject>
when mystring is a WOString.
At 09:32 PM 22/01/2003 -0500, Gavin Eadie wrote:
>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.
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
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.