Nikki - Thanks so much. It was the missing closing tag that caused the
problems. Sometimes I get so involved I forget the obvious!
Laura
----- Original Message -----
From: "Nikki Forshaw" <[EMAIL PROTECTED]>
To: "Spectra-Talk" <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 3:51 AM
Subject: Re: All Objects Not Visible In Container
> You also need to close your handler.... </cfa_handler> at the end. I'm not
> sure if this is absolutely necessary, but it could cause one or two
> problems.
>
> ----- Original Message -----
> From: "Raymond Camden" <[EMAIL PROTECTED]>
> To: "Spectra-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, February 16, 2001 7:46 PM
> Subject: RE: All Objects Not Visible In Container
>
>
> > Many problems here:
> >
> > First off, a handler is not a page by itself, so you should remove:
> >
> > > <html>
> > > <head>
> > > </head>
> >
> > > <body leftmargin="0" topmargin="0" rightmargin="0">
> >
> > and the closing body, html tags.
> >
> > This probably isn't what is causing your error, but it may be.
> >
> > Hmm, actually, try that and then let us know.
> >
> >
> > =======================================================================
> > Raymond Camden, Principal Spectra Compliance Engineer for Allaire
> >
> > Email : [EMAIL PROTECTED]
> > ICQ UIN : 3679482
> >
> > "My ally is the Force, and a powerful ally it is." - Yoda
> >
> > > -----Original Message-----
> > > From: Laura McReynolds [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, February 16, 2001 2:09 PM
> > > To: Spectra-Talk
> > > Subject: All Objects Not Visible In Container
> > >
> > >
> > > Hi all -
> > >
> > > I have created an Ad type to show different advertisements in a
> > > container. I
> > > have also created a display method for this type. For some reason,
after
> > > editing the container and adding two ads using the display
> > > method, only one
> > > of the ads show up. I have also created another method for this
> > > type called
> > > the teaser method. If I try to display one ad in display and one ad in
> > > teaser it works. Below is the code for the display handler. I can
> > > only think
> > > the problem is in this code. However, if you think it is
> > > something else, let
> > > me know.
> > >
> > > <html>
> > > <head>
> > > </head>
> > > <cfa_handler object="Ad" separator="<p>">
> > > <cfoutput>
> > > <body leftmargin="0" topmargin="0" rightmargin="0">
> > > <table bordercolor="#Ad.borderColor#" border="2"
> > > bgcolor="#Ad.backgroundColor#">
> > > <tr><td align="center" width="170">
> > > <cfif IsDefined("Ad.headline")><h3><font color="#Ad.textColor#"
> > > face="Arial">#Ad.headline#</h3></cfif>
> > > <cfif IsDefined("Ad.body")><p>#Ad.body#</p></cfif></font>
> > > <cfa_contentObject
> > > dataSource="cfaObjects"
> > > objectID="#Ad.objectID#.image"
> > > method="display"
> > > >
> > > </cfoutput>
> > > </td></tr>
> > > </table>
> > >
> > > </body>
> > > </html>
> > >
> > > Thank you in advance for your help,
> > > Laura
> > >
> > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.