Or you can get stack trace information from Thread. I have a utility function "getCaller" that does a getStackTrace and then looks at the proper element of the array. (second, third? I forget)
On Mon, Nov 30, 2009 at 12:30 AM, Alex Boisvert <alex.boisv...@gmail.com> wrote: > An easy way to determine who's calling is simply to print the call stack by > adding the following line in your method, > > (new Exception).printStackTrace -- Family photographs are a critical legacy for ourselves and our descendants. Protect that legacy with a digital backup and recovery plan. Join the photo preservation advocacy Facebook group: http://www.facebook.com/home.php?ref=logo#/group.php?gid=148274709288 -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.