public static void togglePathDebugging (AWRequestContext requestContext)
{
boolean shouldEnable = !isComponentPathDebuggingEnabled(requestContext);
AWSession session = requestContext.session(false);
if (session != null) {
session.dict().put(AWConstants.ComponentPathDebugFlagKey,
(shouldEnable ? Boolean.TRUE: Boolean.FALSE ));
}
if (shouldEnable) {
AribaPageContent.setMessage("Path Debugging Enabled! You may also Alt-click on elements to see the path to a particular part of the page", session);
}