I have tried to implement this but when I try to write the PersonPersisotr.beginTransaction() and PersonPersistor.endTransaction() with functions like this:

<cffunction name="beginTransaction" >
  <cftransaction>
</cffunction>

<cffunction name="endTransaction" >
  </cftransaction>
</cffunction>

I get a CF parsing error: "Context validation error for tag cftransaction: The end tag </cftransaction> encoutered on line 253 at column 19 requires a matching start tag."

I hope that if I could get by the CF parser, then the code would function as expected. Does anyone know how to "trick" the parser into allowing a lone </cftransaction> tag? Or is this hopeless?

I too encountered this problem. I haven't tested my solution yet, but I've been thinking that what I'll need to do is avoid cftransaction altogether and just code the transaction commands directly in SQL in a cfquery tag. This, of course, makes it database-specific, but at least the code is extracted into a centralized location.


--

    Ben Curtis
    WebSciences International
    http://www.websciences.org/
    v: 310 478 6648
    f: 310 235 2067






----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to