相关文章
向记录器分类
log4j.category.org.apache.tapestry5.integration.app1.pages。 圣诞快乐=跟踪
注入记录器
公共类MyPage { @注入 私人记录器; . . . 在SuccessFromForm()上无效 { logger.info(“更改保存成功”); }
@日志注释
组件转换调试
[DEBUG]索引//类版本49.0(49) //访问标志0x11 公共最终类org/apache/tapestry5/integration/app1/pages/Index$Invocation_containingPageDidLoad_123fd9264de3fa20 extends org/apacher/tapestry 5/internal/plastic/AbstractMethodInvocation实现org/apache/tapestory5/plastic/MethodInvocation{ //访问标志0x1 public<init>(Ljava/lang/Object;Lorg/apache/tapestry5/plastic/InstanceContext;Lorg/apache/tappestry5/internal/plastic/MethodInvocationBundle;)V ALOAD(高度)0 ALOAD 1号机组 ALOAD 2号机组 ALOAD 3号机组 INVOKESPECIAL org/apache/tapestry5/internal/plastic/AbstractMethodInvocation公司< init>(Ljava/lang/Object;Lorg/apache/tapestry5/plastic/InstanceContext;Lorg/apache/tappestry5/internal/plastic/MethodInvocationBundle;)V 返回 最大堆栈=0 MAXLOCALS=0 //访问标志0x1 公共setReturnValue(Ljava/lang/Object;)Lorg/apache/tapestry5/plastic/MethodInvocation; 新java/lang/IllegalArgumentException DUP(DUP) LDC“类org.apache.tapestry5.integration.app1.pages.Index的方法public void containingPageDidLoad()为void,不允许设置返回值。” . . .
组件事件调试
[DEBUG]ActionLink调度事件:ComponentEvent[来自(self)的操作] [DEBUG]ActionDemo调度事件:ComponentEvent[来自actionlink的操作] [DEBUG]ActionDemo调用:org.apache.tapestry5.integration.app1.pages.nested。 ActionDemo.onAction(java.lang.Long)(位于ActionDemon.java:28) [DEBUG]ActionDemo调度事件:ComponentEvent[从(self)钝化] [DEBUG]ActionDemo调用:org.apache.tapestry5.integration.app1.pages.nested。 ActionDemo.onPassivate()(位于ActionDemo.java:38)
渲染队列调试
. . . [TRACE]操作演示执行:文本[Apache Software Foundation] [TRACE]ActionDemo执行:结束 [TRACE]操作演示执行:文本[ ] [TRACE]ActionDemo执行:结束 [TRACE]操作演示执行:文本[ ] [TRACE]ActionDemo正在执行:开始[ http://www.w3.org/1999/xhtml div(分割)] [TRACE]ActionDemo正在执行:org.apache.tapestry5.internal.services。 页面元素工厂实施$1@587e3a30 [TRACE]ActionDemo执行:结束 [TRACE]操作演示执行:文本[ ] [TRACE]ActionDemo执行:结束 [TRACE]ActionDemo执行:结束 [TRACE]ActionDemo执行:结束 [TRACE]ActionDemo正在执行:AfterRenderTemplate[nested/ActionDemo:border] [TRACE]ActionDemo正在执行:AfterRender[nested/ActionDemo:border] [TRACE]ActionDemo正在执行:CleanupRender[nested/ActionDemo:border] [TRACE]操作演示执行:org.apache.tapestry5.internal.structure。 组件页面元素实现$1@7efc0795 [TRACE]操作演示正在执行:DTD[name=html;publicId=-//W3C//DTD XHTML 1.0 Strict//EN;systemId= http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.DTD ] [TRACE]ActionDemo正在执行:AfterRenderTemplate[nested/ActionDemo] [TRACE]ActionDemo正在执行:AfterRender[nested/ActionDemo] [TRACE]ActionDemo正在执行:CleanupRender[nested/ActionDemo] [TRACE]操作演示执行:org.apache.tapestry5.internal.structure。 组件页面元素实现$1@7efc0795 [DEBUG]ActionDemo在0.025秒内执行了276个渲染命令(最大队列深度:141)