Hi Blair,

I've ended up overwriting the setData and doing a check to see if the 
Course is the one calling the Fees. Feels like a bit of a hack compared to 
what you're suggesting though so I'd like to look at that one.

So do I put that in the cfcomponent or define it as a new property, and 
does that get applied to the Course?

What I don't want to do is switch off all approval processes, just the ones 
relating to Fees.

Cheers again,
James

On Sunday, February 26, 2012 11:14:29 PM UTC, Blair McK wrote:
>
> You can set a formtool attribute bSyncStatus. I believe it's off by 
> default, and is enabled for some HTML properties.
>
> Blair
>
> On Sat, Feb 25, 2012 at 2:46 AM, James Buckingham <[email protected]>wrote:
>
>> Hi group,
>>
>> I've got a Content Type of "Course" and this has a relationship with 
>> another of type "Fees".
>>
>> In the Course I've added an onApprove() event which I'm using to update 
>> some of the data in the related Fees however I've noticed a strange bug 
>> that when it is approved any associated Fees that are currently in draft 
>> are also being switched to approved as well.
>>
>> No matter what I code into either the Course or Fee nothing seems to stop 
>> this action. Even an onStatusChange() in the Fees and trying to revert the 
>> change makes no difference.
>>
>> I did notice on this wiki page that there is a thing called "Default Hook 
>> Cascade". 
>> https://farcry.jira.com/wiki/display/FCDEV60/Event+Hooks
>>
>> Is this what's happening here and is there anyway I can turn this off? 
>>
>> Cheers,
>> James
>>
>> -- 
>> You received this message cos you are subscribed to "farcry-dev" Google 
>> group.
>> To post, email: [email protected]
>> To unsubscribe, email: [email protected]
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>
>
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to