After a bit of hacking I was able to get full TraceContext output onto
a Monorail page.  (pageful of reequest/response/cookie/form etc
details, just as if you had <@Page trace="trace"> in the asp.net
page).

This leads to a couple questions:
 1) Has this already been done?  I note that one of the loggers has a
means of writing to the TraceContext, but I see no means in the trunk
of displaying it.

 2) If the answer to #1, is "No", is it worth adding making the
technique public.

 3) If the answer to #2, is "Yes", where should it be inserted.
(Right now, it's an extension method on Controller, so calling
'this.RenderTrace('trace");'  will put the full HTML of the trace
panel into the PropertyBag value "trace").  However, really should be
done automatically at the end of every request, instead being manually
inserted to Action method --- I'm pretty sure there's a way of doing
that in Monorail, I'm just no sure what it is.....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to