tapestry5tapestry5
调用zone.getBody()时一直报异常, 我一直怀疑自己的代码哪里写错了,大小写,标签哪里错了,
异常信息如下:
org.apache.tapestry5.runtime.ComponentEventException
A component event handler method returned the value Block[Body of photolib/TestPage:counterzone, at context:photolib/TestPage.tml, line 18]. Return type org.apache.tapestry5.internal.structure.BlockImpl can not be handled. Configured return types are java.lang.Class, java.lang.String, java.net.URL, org.apache.tapestry5.Link, org.apache.tapestry5.StreamResponse, org.apache.tapestry5.runtime.Component.

:cry: 花了我一下午的时间,把tml页面文件一步一步的减少,终于找到了是由于tml文件引用了prototype.js引起的问题,
原因我不清楚, 有谁能解释一下吗?
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-23333-1.html
也要拿回来
南海那么大航线那么多美国为什么专走12海里这条路
一国两制行不通了
我不网购
加油小王子