Jonathan,
I just saw your message today and wanted to let you know that you can
build your own create handlers. I have done it in a number of places,
particularly where I did not like what Spectra was doing automatically.
So you could set the ATTR_ACTIVE=1 when you create the object.
Good luck,
Beau
Jonathan Lim wrote:
>
> Thanks Michael.
>
> I can see why they might do it that way round. If only there was some sort
> of CFTRANSACTION equivalent for the creation of objects eh?
>
> I am aware of the attribute, but I do not think we can write our own create
> handlers; not incapable, but in Forta's book it says that you can't.
>
> Using the webtop to create objects, using the default create handler...
>
> Cheers,
> Jon
>
> -----Original Message-----
> From: Michiel Boland [mailto:[EMAIL PROTECTED]]
> Sent: 11 July 2000 12:25
> To: [EMAIL PROTECTED]
> Subject: Re: Activating objects
>
> [newly created objects are not active]
>
> > As an aside, why does Spectra do it this way round? Surely most of the
> > time you are creating an object in order to use it.
>
> There is a time window during which an object is created but the methods
> that modify it have not yet been called. You do not want objects that are
> in this state to appear anywhere, hence the active flag. (I guess this is
> the logic behind it.)
>
> The cfa_contentobjectcreate tag has a bActivate attribute that supposedly
> activates the object automatically.
>
> Cheers
> Michiel
>
> --
> Michiel Boland <[EMAIL PROTECTED]>
> Digital Valley Internet Professionals
> Plantsoen 17, Wageningen, The Netherlands
> Phone: +31 317 465555, Fax: +31 317 460276
>
> ----------------------------------------------------------------------------
> --
> 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.
> ------------------------------------------------------------------------------
> 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.
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Beau A.C. Harbin +
+ Developer +
+ [EMAIL PROTECTED] Allaire Instructor +
+ +
+ Fig Leaf Software http://www.figleaf.com +
+ +
+ 202.797.5449 (p) 202.797.5444 (f) +
+++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------------------------------------------------
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.