[Rt-devel] a fancy ShowUser - not quite possible

Todd Chapman todd at chaka.net
Tue Jul 1 22:53:46 EDT 2008


There is nothing to keep you from figuring out the complete call chain
and doing the right thing for each situation.

On Tue, Jul 1, 2008 at 4:11 PM, Olly Stephens <Olly.Stephens at arm.com> wrote:
> Todd Chapman wrote:
>>
>> D) You can use the Mason request object to figure out where you were
>> called from and then "do the right thing."
>
> Thanks Todd; I hadn't actually thought of that option but it's a good one.  Not sure it will work though; there's nothing to stop a component from using ShowUser in multiple contexts - haven't looked to see if any do - so it would be an imprecise solution.
>
> Jesse Vincent wrote:
>>
>> I'd support a flag to ShowUser which says "you're being used somewhere
>> html isn't acceptable"
>>
>> It needs a better name than that.
>
> Cool.  I'll add this to my TODO list then (both thinking of a name and creating a patch)
>
> Olly
>
> --
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.
>
>
>


More information about the Rt-devel mailing list