I've been looking at the versioning capabilities in Spectra 1.5 Beta 3 and I
think I understand how the whole thing works.
What I want to do is use one of the archived versions as an "in context"
preview of an edited object. In other words when I'm done editing an
object, I want to save the results in a version labeled "preview" or
something. Then when I browse the site in a "preview" mode, pull the
preview version of the object in the display handlers if it exists. I can
do this pretty easily.
What I can't find is a spectra tag that will allow me to update an archived
version...
Is there one? Are there plans to have one in the future?
I can get around this by looping through the version history array in the
object and grabbing the objectID of the version labeled "preview" then
editing the object directly... but I don't want to circumvent spectra if I
don't have to, plus it would be nice to update the last modified attributes
in the version data as well... and if I do edit the archived object
directly... will it affect anything else spectra is doing with versioning?
Thanks for any info,
-doug
~~~
Doug Powless
Web Applications Consultant
Syntegra
[EMAIL PROTECTED]
~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.