That makes sense, thanks.

>A classic stack counter will do it:
>
>prefuseaction:
><set name="request.fuseactionCallDepth" value="0" overwrite="false" />
><set name="request.fuseactionCallDepth"
>value="#request.fuseactionCallDepth + 1#" />
><if condition="request.fuseactionCallDepth EQ 1">
>  <true>
>    <!-- do some stuff -->
>  </true>
></if>
>
>postfuseaction:
><if condition="request.fuseactionCallDepth EQ 1">
>  <true>
>    <!-- do some stuff -->
>  </true>
></if>
><set name="request.fuseactionCallDepth"
>value="#request.fuseactionCallDepth - 1#" />
>
>That will leave request.fuseactionCallDepth at zero at the end of every 
>request.
>
>cheers,
>barneyb
>
>On 10/31/06, Peter Boughton <[EMAIL PROTECTED]> wrote:
>
>-- 
>Barney Boisvert
>[EMAIL PROTECTED]
>360.319.6145
>http://www.barneyb.com/
>
>Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258610
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to