[Rt-devel] a fancy ShowUser - not quite possible
Olly Stephens
Olly.Stephens at arm.com
Tue Jul 1 16:11:11 EDT 2008
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