With CF. Each permissions attribute gets converted into a series of
isUserAuthorized (an internal function) calls to see if that element
is allowed for the user. If so, something gets rendered.
In other words, where we're using permissions, we're not using XSL,
but rather just CF's XML processing capabilities.
We've also set up documents like this:
<menu ...>
<cfif isUserAuthorized("...")>
<menuitem href="...">User List</menuitem>
</cfif>
</menu>
Where we include the XML with CFINCLUDE so the CF is processed, and
then do XSL on the resulting XML doc to generate whatever we need.
cheers,
barneyb
On 7/29/05, Andy <[EMAIL PROTECTED]> wrote:
> Where / how do you limit/control what menu items get displayed?
>
> Andy
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/
Got Gmail? I have 50 invites.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213302
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54